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