SuperAi: Thai Table Question Answering Hackathon models
Collection
Models used in final submission model in Super AI Engineer Thai Table Question Answering Hackathon • 7 items • Updated
# Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("AIAT/Kiddee-qatable1")
model = AutoModelForCausalLM.from_pretrained("AIAT/Kiddee-qatable1")This repository contains code and resources for building a Question Answering (QA) system using the Retrieval-Augmented Generation (RAG) approach with the Language Learning Model (LLM).
RAG-QA combines the power of retrieval-based models with generative models to provide accurate and diverse answers to a given question. LLM, a state-of-the-art language model, is used for generation within the RAG framework.
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("table-question-answering", model="AIAT/Kiddee-qatable1")