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
| tags: | |
| - generated_from_trainer | |
| datasets: | |
| - cfilt/HiNER-collapsed | |
| metrics: | |
| - precision | |
| - recall | |
| - f1 | |
| model-index: | |
| - name: HiNER-collapsed-xlm-roberta-base | |
| results: | |
| - task: | |
| name: Token Classification | |
| type: token-classification | |
| dataset: | |
| type: cfilt/HiNER-collapsed | |
| name: HiNER Collapsed | |
| metrics: | |
| - name: Precision | |
| type: precision | |
| value: 0.9137448834064936 | |
| - name: Recall | |
| type: recall | |
| value: 0.9296549644788663 | |
| - name: F1 | |
| type: f1 | |
| value: 0.9216312652954473 | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # HiNER-collapsed-xlm-roberta-base | |
| This model was trained from scratch on an unknown dataset. | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 5e-05 | |
| - train_batch_size: 32 | |
| - eval_batch_size: 8 | |
| - seed: 1 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 10.0 | |
| ### Framework versions | |
| - Transformers 4.14.0 | |
| - Pytorch 1.9.1 | |
| - Datasets 1.15.1 | |
| - Tokenizers 0.10.3 | |