KorQuAD/squad_kor_v1
Viewer • Updated • 66.2k • 935 • 33
How to use seungkim1313/qa_model with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="seungkim1313/qa_model") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("seungkim1313/qa_model")
model = AutoModelForQuestionAnswering.from_pretrained("seungkim1313/qa_model", device_map="auto")# Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("seungkim1313/qa_model")
model = AutoModelForQuestionAnswering.from_pretrained("seungkim1313/qa_model", device_map="auto")This model is a fine-tuned version of deepset/minilm-uncased-squad2 on the squad_kor_v1 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 |
|---|---|---|---|
| 4.4482 | 1.0 | 25 | 3.8476 |
| 4.1886 | 2.0 | 50 | 3.3495 |
| 2.8781 | 3.0 | 75 | 3.2032 |
| 3.5417 | 4.0 | 100 | 3.3601 |
| 2.1682 | 5.0 | 125 | 3.2218 |
| 3.1787 | 6.0 | 150 | 3.3264 |
| 2.814 | 7.0 | 175 | 3.3053 |
| 2.7755 | 8.0 | 200 | 3.2801 |
| 1.9859 | 9.0 | 225 | 3.4267 |
| 2.1119 | 10.0 | 250 | 3.2803 |
Base model
deepset/minilm-uncased-squad2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="seungkim1313/qa_model")