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