Instructions to use bertin-project/bertin-roberta-base-spanish with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bertin-project/bertin-roberta-base-spanish with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="bertin-project/bertin-roberta-base-spanish")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("bertin-project/bertin-roberta-base-spanish") model = AutoModelForMaskedLM.from_pretrained("bertin-project/bertin-roberta-base-spanish", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add eval scripts
c4599cd
-
Fixing restore checkpoint step
6a189a4
-
Fixes to mc4 fork
8bd9e95 -
Fixes treatment of jsonl
7b22f12 -
Adding reading streaming files from local disk
4e4228c
-
Fixes and defaults
a5b19d7
-
Adding Numpy random number generator
f562f06 -
Adding random sampling
60b6f6b -
Adding sampling to mc4
3f09f56