jakartaresearch/indoqa
Viewer • Updated • 4.41k • 225 • 10
How to use digo-prayudha/IndoQA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="digo-prayudha/IndoQA") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("digo-prayudha/IndoQA")
model = AutoModelForQuestionAnswering.from_pretrained("digo-prayudha/IndoQA")This model is a fine-tuned version of indolem/indobert-base-uncased on jakartaresearch/indoqa. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 1.0 | 207 | 1.9698 |
| No log | 2.0 | 414 | 1.8862 |
| 0.9416 | 3.0 | 621 | 1.4807 |
from transformers import pipeline
question = "Berapa jumlah pulau yang ada di indonesia?"
context = "Indonesia adalah negara kepulauan, Dengan jumlah pulau sekitar 17 ribu"
from transformers import pipeline
question_answerer = pipeline("question-answering", model="digo-prayudha/IndoQA")
question_answerer(question=question, context=context)
Base model
indolem/indobert-base-uncased