pythainlp/thaiqa_squad
Updated • 196 • 12
How to use Thanakrit/wangchanberta-th-QA with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="Thanakrit/wangchanberta-th-QA") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("Thanakrit/wangchanberta-th-QA")
model = AutoModelForQuestionAnswering.from_pretrained("Thanakrit/wangchanberta-th-QA")This model is a fine-tuned version of airesearch/wangchanberta-base-att-spm-uncased on the thaiqa_squad dataset.
language:
Code for fine-tune Model github