ncbi/ncbi_disease
Updated • 3.57k • 52
How to use seratonini/biogpt-ncbi-disease-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="seratonini/biogpt-ncbi-disease-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("seratonini/biogpt-ncbi-disease-ner")
model = AutoModelForTokenClassification.from_pretrained("seratonini/biogpt-ncbi-disease-ner")This model is a fine-tuned version of microsoft/biogpt on the ncbi_disease 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.0936 | 1.0 | 1359 | 0.0704 | 0.6725 | 0.7878 | 0.7256 | 0.9776 |
| 0.0340 | 2.0 | 2718 | 0.0797 | 0.6766 | 0.8081 | 0.7365 | 0.9780 |
| 0.0133 | 3.0 | 4077 | 0.1196 | 0.6948 | 0.8043 | 0.7456 | 0.9789 |
Base model
microsoft/biogpt