rajpurkar/squad
Viewer • Updated • 98.2k • 158k • 363
How to use mcurmei/single_label_N_max_long_training with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="mcurmei/single_label_N_max_long_training") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("mcurmei/single_label_N_max_long_training")
model = AutoModelForQuestionAnswering.from_pretrained("mcurmei/single_label_N_max_long_training")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("mcurmei/single_label_N_max_long_training")
model = AutoModelForQuestionAnswering.from_pretrained("mcurmei/single_label_N_max_long_training")This model is a fine-tuned version of distilbert-base-uncased on the squad 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 |
|---|---|---|---|
| 3.0568 | 1.0 | 674 | 1.9993 |
| 1.6024 | 2.0 | 1348 | 1.8497 |
| 1.0196 | 3.0 | 2022 | 1.9178 |
| 0.7622 | 4.0 | 2696 | 2.0412 |
| 0.6066 | 5.0 | 3370 | 2.2523 |
| 0.4136 | 6.0 | 4044 | 2.3845 |
| 0.3113 | 7.0 | 4718 | 2.5712 |
| 0.2777 | 8.0 | 5392 | 2.6790 |
| 0.208 | 9.0 | 6066 | 2.7464 |
| 0.1749 | 10.0 | 6740 | 2.8288 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="mcurmei/single_label_N_max_long_training")