MVP-task-dialog is a prompt-based model that MVP is further equipped with prompts pre-trained using labeled task-oriented 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-task-dialog is specially designed for task-oriented tasks, such as MultiWOZ.
Example
>>> from transformers import MvpTokenizer, MvpForConditionalGeneration
>>> tokenizer = MvpTokenizer.from_pretrained("RUCAIBox/mvp")
>>> model = MvpForConditionalGeneration.from_pretrained("RUCAIBox/mvp-task-dialog")
>>> inputs = tokenizer(
... "Given the task dialog: System response [X_SEP] I'm looking for a affordable BBQ restaurant in Dallas for a large group of guest.",
... return_tensors="pt",
... )
>>> generated_ids = model.generate(**inputs)
>>> tokenizer.batch_decode(generated_ids, skip_special_tokens=True)
['What date and time would you like to go?']
@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-task-dialog on huggingface.co
26
Total runs
0
24-hour runs
-2
3-day runs
-6
7-day runs
-4
30-day runs
More Information About mvp-task-dialog huggingface.co Model
mvp-task-dialog huggingface.co is an AI model on huggingface.co that provides mvp-task-dialog's model effect (), which can be used instantly with this RUCAIBox mvp-task-dialog model. huggingface.co supports a free trial of the mvp-task-dialog model, and also provides paid use of the mvp-task-dialog. Support call mvp-task-dialog model through api, including Node.js, Python, http.
mvp-task-dialog huggingface.co is an online trial and call api platform, which integrates mvp-task-dialog's modeling effects, including api services, and provides a free online trial of mvp-task-dialog, you can try mvp-task-dialog online for free by clicking the link below.
RUCAIBox mvp-task-dialog online free url in huggingface.co:
mvp-task-dialog is an open source model from GitHub that offers a free installation service, and any user can find mvp-task-dialog on GitHub to install. At the same time, huggingface.co provides the effect of mvp-task-dialog install, users can directly use mvp-task-dialog installed effect in huggingface.co for debugging and trial. It also supports api for free installation.