Transformers How to use opticalmaterials/opticaltable_sqa with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("table-question-answering", model="opticalmaterials/opticaltable_sqa") # Load model directly
from transformers import AutoTokenizer, AutoModelForTableQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("opticalmaterials/opticaltable_sqa")
model = AutoModelForTableQuestionAnswering.from_pretrained("opticalmaterials/opticaltable_sqa")