start 97bddec
root commited on
How to use cloudqi/cqi_brain_memory_question_anwser_pt_v0 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("question-answering", model="cloudqi/cqi_brain_memory_question_anwser_pt_v0") # Load model directly
from transformers import AutoTokenizer, AutoModelForQuestionAnswering
tokenizer = AutoTokenizer.from_pretrained("cloudqi/cqi_brain_memory_question_anwser_pt_v0")
model = AutoModelForQuestionAnswering.from_pretrained("cloudqi/cqi_brain_memory_question_anwser_pt_v0")