ncbi/ncbi_disease
Updated โข 3.71k โข 57
How to use Umesh/bert-finetuned-ncbi with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Umesh/bert-finetuned-ncbi") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Umesh/bert-finetuned-ncbi")
model = AutoModelForTokenClassification.from_pretrained("Umesh/bert-finetuned-ncbi", device_map="auto")This model is a fine-tuned version of bert-base-cased 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.1146 | 1.0 | 680 | 0.0686 | 0.7450 | 0.8056 | 0.7741 | 0.9805 |
| 0.0458 | 2.0 | 1360 | 0.0612 | 0.7646 | 0.8628 | 0.8107 | 0.9815 |
| 0.0161 | 3.0 | 2040 | 0.0679 | 0.7807 | 0.8640 | 0.8203 | 0.9831 |