Instructions to use tner/xlm-roberta-base-conll2003 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tner/xlm-roberta-base-conll2003 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="tner/xlm-roberta-base-conll2003")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("tner/xlm-roberta-base-conll2003") model = AutoModelForTokenClassification.from_pretrained("tner/xlm-roberta-base-conll2003") - Notebooks
- Google Colab
- Kaggle
| {"dataset": ["conll2003"], "transformers_model": "xlm-roberta-base", "random_seed": 1234, "lr": 1e-05, "total_step": 13000, "warmup_step": 700, "weight_decay": 1e-07, "batch_size": 16, "max_seq_length": 128, "fp16": false, "max_grad_norm": 1.0, "lower_case": false} |