ncbi/ncbi_disease
Updated • 3.21k • 53
How to use zmc0806/biogpt-finetuned-ncbi-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="zmc0806/biogpt-finetuned-ncbi-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("zmc0806/biogpt-finetuned-ncbi-ner")
model = AutoModelForTokenClassification.from_pretrained("zmc0806/biogpt-finetuned-ncbi-ner", device_map="auto")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.0983 | 1.0 | 680 | 0.0660 | 0.6916 | 0.7522 | 0.7206 | 0.9788 |
| 0.0451 | 2.0 | 1360 | 0.0674 | 0.6996 | 0.8018 | 0.7472 | 0.9800 |
| 0.0125 | 3.0 | 2040 | 0.0858 | 0.7119 | 0.8069 | 0.7564 | 0.9806 |
Base model
microsoft/biogpt