ncbi/ncbi_disease
Updated • 9.36k • 57
How to use xunyushen/biogpt-checkpoints with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="xunyushen/biogpt-checkpoints") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("xunyushen/biogpt-checkpoints")
model = AutoModelForTokenClassification.from_pretrained("xunyushen/biogpt-checkpoints", device_map="auto")This model was trained from scratch 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: