initial commit 11ce109
Mathilde Parlo commited on
How to use mathildeparlo/spec_seq_lab_indonesian with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="mathildeparlo/spec_seq_lab_indonesian") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("mathildeparlo/spec_seq_lab_indonesian")
model = AutoModelForQuestionAnswering.from_pretrained("mathildeparlo/spec_seq_lab_indonesian", device_map="auto")