Run this model with HF Jobs
Run uer/roberta-base-chinese-extractive-qa on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/uer/roberta-base-chinese-extractive-qa. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/uer/roberta-base-chinese-extractive-qa on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="uer/roberta-base-chinese-extractive-qa")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
TemporalMesh Transformer: 29.4 PPL at 48% compute — beats Mamba, new open-source architecture
#7 opened 6 months ago
by
vigneshwar234
Adding `safetensors` variant of this model
#6 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#5 opened about 3 years ago
by
SFconvertbot
Adding `safetensors` variant of this model
#4 opened over 3 years ago
by
SFconvertbot
本地输出总是为全context,但是网页demo输出正确,是否缺少预测步骤?
1
#2 opened over 4 years ago
by
yinghy18