Instructions to use mbruton/spa_enpt_XLM-R with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mbruton/spa_enpt_XLM-R with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="mbruton/spa_enpt_XLM-R")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("mbruton/spa_enpt_XLM-R") model = AutoModelForTokenClassification.from_pretrained("mbruton/spa_enpt_XLM-R", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
0f1cd2f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:e1bcb5d084e8a44d2e43a855549243cbb08c25da27a08f03cab38fd3f4ffa9d3
size 2221886821
|