pythainlp/thaiqa_squad
Updated • 196 • 12
How to use Sirinya/wangchanberta-th-squad_test1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Sirinya/wangchanberta-th-squad_test1") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Sirinya/wangchanberta-th-squad_test1")
model = AutoModelForQuestionAnswering.from_pretrained("Sirinya/wangchanberta-th-squad_test1")This model is a fine-tuned version of airesearch/wangchanberta-base-att-spm-uncased on the thaiqa_squad dataset.
The following hyperparameters were used during training: