Instructions to use token-classifier/roBERTa-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use token-classifier/roBERTa-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="token-classifier/roBERTa-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("token-classifier/roBERTa-v2") model = AutoModelForTokenClassification.from_pretrained("token-classifier/roBERTa-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Training in progress, epoch 1
3157ad9 -
Training in progress, epoch 0
931e384 -
Training in progress, epoch 1
4536372 -
Training in progress, epoch 0
274006e -
End of training
6ab6a33 -
Training in progress, epoch 2
460f6b5 -
Training in progress, epoch 1
9e950e0 -
Training in progress, epoch 0
0cfaf82