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")# 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
Adding Colab for token classification fine-tuning
Browse files- evaluation/run_ner.ipynb +0 -0
evaluation/run_ner.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|