Transformers
PyTorch
English
t5
text2text-generation
t5-small
natural language understanding
conversational system
task-oriented dialog
Eval Results (legacy)
text-generation-inference
Run this model with HF Jobs
Run ConvLab/t5-small-nlu-multiwoz21-context3 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/ConvLab/t5-small-nlu-multiwoz21-context3. 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/ConvLab/t5-small-nlu-multiwoz21-context3 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 ConvLab/t5-small-nlu-multiwoz21-context3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ConvLab/t5-small-nlu-multiwoz21-context3 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ConvLab/t5-small-nlu-multiwoz21-context3") model = AutoModelForSeq2SeqLM.from_pretrained("ConvLab/t5-small-nlu-multiwoz21-context3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172---language:- enlicense: apache-2.0tags:- t5-small- text2text-generation- natural language understanding- conversational system- task-oriented dialogdatasets:- ConvLab/multiwoz21metrics:- Dialog acts Accuracy- Dialog acts F1
model-index:- name: t5-small-nlu-multiwoz21-context3 results: - task: type: text2text-generation name: natural language understanding dataset: type: ConvLab/multiwoz21 name: MultiWOZ 2.1 split: test revision: 5f55375edbfe0270c20bcf770751ad982c0e6614 metrics: - type: Dialog acts Accuracy value: 82.0 name: Accuracy - type: Dialog acts F1 value: 90.3 name: F1
widget:- text: "system: There are 21 restaurants available in the centre of town. How about a specific type of cuisine?\nuser: i need to know the food type and postcode and it should also have mutliple sports\nsystem: I am sorry I do not understand what you just said. Please repeat in a way that makes sense. \nuser: get me the food type and the post code"- text: "user: I want to find a moderately priced restaurant. \nsystem: I have many options available for you! Is there a certain area or cuisine that interests you?\nuser: Yes I would like the restaurant to be located in the center of the attractions. "
inference: parameters: max_length: 100
---
# t5-small-nlu-multiwoz21-context3
This model is a fine-tuned version of [t5-small](https://huggingface.co/t5-small) on [MultiWOZ 2.1](https://huggingface.co/datasets/ConvLab/multiwoz21) with context window size == 3.
Refer to [ConvLab-3](https://github.com/ConvLab/ConvLab-3) for model description and usage.
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 0.001- train_batch_size: 128- eval_batch_size: 64- seed: 42- gradient_accumulation_steps: 2- total_train_batch_size: 256- optimizer: Adafactor- lr_scheduler_type: linear- num_epochs: 10.0
### Framework versions
- Transformers 4.18.0- Pytorch 1.10.2+cu102- Datasets 1.18.3- Tokenizers 0.11.0README.mdAdded+72