Skip to content

vaccovecrana/bertastic

 
 

Repository files navigation

bertastic

API for using Google's BERT language model in Java.

Available in Maven Central.

implementation("io.vacco.bertastic:bertastic:<LATEST_VERSION>")

Usage

You can use bertastic with pre-trained BERT models generated with easy-bert's Python tools.

You can also use pre-generated models on Maven Central.

See test case for example usage.

Pre-Generated Maven Central Models

Various TensorFlow Hub BERT models are available in bertastic format on Maven Central.

implementation("com.robrua.nlp.models:ARTIFACT-ID:1.0.0")

Bugs

If you find bugs please let us know via a pull request or issue.

Packages

No packages published

Languages

  • Java 98.1%
  • Kotlin 1.9%