Instructions to use z-uo/roberta-qasper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use z-uo/roberta-qasper with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="z-uo/roberta-qasper")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("z-uo/roberta-qasper") model = AutoModelForQuestionAnswering.from_pretrained("z-uo/roberta-qasper", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
07c59c8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:44dca61e73a457780e3093cd6a96cc4872e7c30841fceecc132da6d0ce08dc8f
size 3055
|