Instructions to use RGarrido03/modernbert-conll2003-ner-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RGarrido03/modernbert-conll2003-ner-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="RGarrido03/modernbert-conll2003-ner-large")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("RGarrido03/modernbert-conll2003-ner-large") model = AutoModelForTokenClassification.from_pretrained("RGarrido03/modernbert-conll2003-ner-large") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 3.0, | |
| "test_accuracy": 0.9743404513537723, | |
| "test_f1": 0.8968703687559934, | |
| "test_loss": 0.17622677981853485, | |
| "test_precision": 0.8833934398076593, | |
| "test_recall": 0.9107648725212465, | |
| "test_runtime": 30.0194, | |
| "test_samples_per_second": 115.026, | |
| "test_steps_per_second": 14.391 | |
| } |