Token Classification
Transformers
PyTorch
TensorBoard
xlm-roberta
Generated from Trainer
Eval Results (legacy)
Instructions to use cfilt/HiNER-collapsed-xlm-roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cfilt/HiNER-collapsed-xlm-roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="cfilt/HiNER-collapsed-xlm-roberta-large")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("cfilt/HiNER-collapsed-xlm-roberta-large") model = AutoModelForTokenClassification.from_pretrained("cfilt/HiNER-collapsed-xlm-roberta-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 217 Bytes
d946564 | 1 2 3 4 5 6 7 8 | test_loss = 0.06026517227292061 test_precision = 0.9174308520512344 test_recall = 0.9319278925931513 test_f1 = 0.9246225514957624 test_runtime = 181.2481 test_samples_per_second = 60.221 test_steps_per_second = 7.531 |