megagonlabs/subjqa
Updated • 628 • 16
How to use itsamitkumar/qamodel2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="itsamitkumar/qamodel2") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("itsamitkumar/qamodel2")
model = AutoModelForQuestionAnswering.from_pretrained("itsamitkumar/qamodel2")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("itsamitkumar/qamodel2")
model = AutoModelForQuestionAnswering.from_pretrained("itsamitkumar/qamodel2")This model is a fine-tuned version of deepset/roberta-base-squad2 on the subjqa 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 |
|---|---|---|---|
| 1.9544 | 1.0 | 81 | 2.0493 |
| 1.7079 | 2.0 | 162 | 1.8907 |
| 1.6135 | 3.0 | 243 | 1.8236 |
| 1.5829 | 4.0 | 324 | 1.7984 |
| 1.5381 | 5.0 | 405 | 1.7900 |
| 1.515 | 6.0 | 486 | 1.7827 |
| 1.5079 | 7.0 | 567 | 1.7827 |
| 1.4952 | 8.0 | 648 | 1.7777 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="itsamitkumar/qamodel2")