Instructions to use zerohell/rag-bart-bleu_error with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zerohell/rag-bart-bleu_error with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("zerohell/rag-bart-bleu_error") model = AutoModelForSeq2SeqLM.from_pretrained("zerohell/rag-bart-bleu_error", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 295 Bytes
317a105 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ---
language:
- zh
metrics:
- bleu
tags:
- text-generation-inference
---
## 模型介绍
用于问答的预训练模型。提供的是一个bart-base-zh模型。
## 模型细节
采用dureader-zhidao训练的模型。
## 快速开始
输入为:问题。上下文。
输出为:答案。 |