Instructions to use CAUKiel/JavaBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CAUKiel/JavaBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="CAUKiel/JavaBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("CAUKiel/JavaBERT") model = AutoModelForMaskedLM.from_pretrained("CAUKiel/JavaBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#3)
- Adding `safetensors` variant of this model (b7e7cc77e97f81014a3ff87b93e9f43aa2b38ba0) Co-authored-by: Safetensors convertbot <[email protected]>bac399e
-
initial commit
76fca5b