ncbi/ncbi_disease
Updated • 9.56k • 57
How to use kwoniris/biogpt-ncbi-disease with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="kwoniris/biogpt-ncbi-disease") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("kwoniris/biogpt-ncbi-disease")
model = AutoModelForTokenClassification.from_pretrained("kwoniris/biogpt-ncbi-disease", 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.3154 | 1.0 | 680 | 0.3493 | 0.45 | 0.0134 | 0.0260 | 0.9081 |
| 0.3419 | 2.0 | 1360 | 0.3366 | 0.1636 | 0.0268 | 0.0460 | 0.9090 |
| 0.3202 | 3.0 | 2040 | 0.3424 | 0.1824 | 0.0432 | 0.0698 | 0.9081 |
Base model
microsoft/biogpt