Ben10x/MedMentions-MTI881-NER
Viewer • Updated • 29.2k • 10
How to use Ben10x/gpt-medmentions with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Ben10x/gpt-medmentions") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Ben10x/gpt-medmentions")
model = AutoModelForTokenClassification.from_pretrained("Ben10x/gpt-medmentions", device_map="auto")This model is a fine-tuned version of EleutherAI/gpt-neo-1.3B on the Ben10x/MedMentions-MTI881-NER dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.5307 | 1.0 | 5850 | 0.5369 | 0.4129 | 0.4711 | 0.4401 | 0.8341 |
| 0.3585 | 2.0 | 11700 | 0.5111 | 0.4453 | 0.5247 | 0.4818 | 0.8454 |
| 0.1758 | 3.0 | 17550 | 0.6349 | 0.4718 | 0.4900 | 0.4807 | 0.8497 |
| 0.0751 | 4.0 | 23400 | 0.9264 | 0.4628 | 0.5208 | 0.4901 | 0.8497 |
| 0.0387 | 5.0 | 29250 | 1.0903 | 0.4758 | 0.5181 | 0.4960 | 0.8518 |
Base model
EleutherAI/gpt-neo-1.3B