Instructions to use LazarusNLP/NusaBERT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LazarusNLP/NusaBERT-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="LazarusNLP/NusaBERT-base")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("LazarusNLP/NusaBERT-base") model = AutoModelForMaskedLM.from_pretrained("LazarusNLP/NusaBERT-base") - Inference
- Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 1.35, | |
| "eval_accuracy": 0.6865821145848897, | |
| "eval_loss": 1.4876224994659424, | |
| "eval_runtime": 1785.3698, | |
| "eval_samples": 4955331, | |
| "eval_samples_per_second": 2775.521, | |
| "eval_steps_per_second": 10.842, | |
| "perplexity": 4.426558852465945 | |
| } |