MVP-open-dialog is a prompt-based model that MVP is further equipped with prompts pre-trained using labeled open dialogue system datasets. It is a variant (MVP+S) of our main
MVP
model. It follows a Transformer encoder-decoder architecture with layer-wise prompts.
MVP-open-dialog is specially designed for open dialogue system (conversation) tasks, such as chitchat (PersonaChat, DailyDialog), knowledge grounded conversation (Topical-Chat, Wizard of Wikipedia) and visual dialog (DSTC7-AVSD).
Example
>>> from transformers import MvpTokenizer, MvpForConditionalGeneration
>>> tokenizer = MvpTokenizer.from_pretrained("RUCAIBox/mvp")
>>> model = MvpForConditionalGeneration.from_pretrained("RUCAIBox/mvp-open-dialog")
>>> inputs = tokenizer(
... "Given the dialog: do you like dance? [SEP] Yes I do. Did you know Bruce Lee was a cha cha dancer?",
... return_tensors="pt",
... )
>>> generated_ids = model.generate(**inputs)
>>> tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
['I did not know that. I did know that Tupac danced ballet in high school.']
@article{tang2022mvp,
title={MVP: Multi-task Supervised Pre-training for Natural Language Generation},
author={Tang, Tianyi and Li, Junyi and Zhao, Wayne Xin and Wen, Ji-Rong},
journal={arXiv preprint arXiv:2206.12131},
year={2022},
url={https://arxiv.org/abs/2206.12131},
}
Runs of RUCAIBox mvp-open-dialog on huggingface.co
54
Total runs
10
24-hour runs
9
3-day runs
-5
7-day runs
9
30-day runs
More Information About mvp-open-dialog huggingface.co Model
mvp-open-dialog huggingface.co is an AI model on huggingface.co that provides mvp-open-dialog's model effect (), which can be used instantly with this RUCAIBox mvp-open-dialog model. huggingface.co supports a free trial of the mvp-open-dialog model, and also provides paid use of the mvp-open-dialog. Support call mvp-open-dialog model through api, including Node.js, Python, http.
mvp-open-dialog huggingface.co is an online trial and call api platform, which integrates mvp-open-dialog's modeling effects, including api services, and provides a free online trial of mvp-open-dialog, you can try mvp-open-dialog online for free by clicking the link below.
RUCAIBox mvp-open-dialog online free url in huggingface.co:
mvp-open-dialog is an open source model from GitHub that offers a free installation service, and any user can find mvp-open-dialog on GitHub to install. At the same time, huggingface.co provides the effect of mvp-open-dialog install, users can directly use mvp-open-dialog installed effect in huggingface.co for debugging and trial. It also supports api for free installation.