jnlpba/jnlpba
Updated • 1.21k • 9
How to use siddharthtumre/scibert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="siddharthtumre/scibert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("siddharthtumre/scibert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("siddharthtumre/scibert-finetuned-ner")This model is a fine-tuned version of allenai/scibert_scivocab_uncased on the jnlpba 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.1608 | 1.0 | 2319 | 0.2431 | 0.6641 | 0.7581 | 0.7080 | 0.9250 |
| 0.103 | 2.0 | 4638 | 0.2916 | 0.6739 | 0.7803 | 0.7232 | 0.9228 |
| 0.0659 | 3.0 | 6957 | 0.3662 | 0.6796 | 0.7624 | 0.7186 | 0.9233 |
| 0.0393 | 4.0 | 9276 | 0.4222 | 0.6737 | 0.7771 | 0.7217 | 0.9225 |
| 0.025 | 5.0 | 11595 | 0.4717 | 0.6737 | 0.7757 | 0.7211 | 0.9226 |