ncbi/ncbi_disease
Updated • 2.55k • 53
How to use ryderli/biogpt-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="ryderli/biogpt-ner") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("ryderli/biogpt-ner")
model = AutoModelForTokenClassification.from_pretrained("ryderli/biogpt-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.339 | 1.0 | 680 | 0.2377 | 0.2436 | 0.2046 | 0.2224 | 0.9266 |
| 0.2522 | 2.0 | 1360 | 0.2307 | 0.2711 | 0.2452 | 0.2575 | 0.9306 |
| 0.2001 | 3.0 | 2040 | 0.2288 | 0.3155 | 0.2846 | 0.2993 | 0.9324 |
Base model
microsoft/biogpt