Instructions to use uer/roberta-base-chinese-extractive-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use uer/roberta-base-chinese-extractive-qa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="uer/roberta-base-chinese-extractive-qa")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("uer/roberta-base-chinese-extractive-qa") model = AutoModelForQuestionAnswering.from_pretrained("uer/roberta-base-chinese-extractive-qa") - Inference
- Notebooks
- Google Colab
- Kaggle
遇到了些问题
#1
by gyc - opened
