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
Adding `safetensors` variant of this model
#6 opened over 2 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#5 opened over 2 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#4 opened about 3 years ago
by
SFconvertbot
本地输出总是为全context,但是网页demo输出正确,是否缺少预测步骤?
1
#2 opened over 3 years ago
by
yinghy18