ncbi/ncbi_disease
Updated • 3.93k • 52
How to use westbrook/bio_gpt_ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="westbrook/bio_gpt_ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("westbrook/bio_gpt_ner")
model = AutoModelForTokenClassification.from_pretrained("westbrook/bio_gpt_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.3027 | 1.0 | 680 | 0.1893 | 0.8417 | 0.4194 | 0.5598 | 0.9405 |
| 0.2037 | 2.0 | 1360 | 0.1562 | 0.8082 | 0.6388 | 0.7136 | 0.9517 |
| 0.1228 | 3.0 | 2040 | 0.1558 | 0.8269 | 0.6463 | 0.7255 | 0.9544 |