Downloads · 30 days
40
1% of all-time downloads
ashish-shrivastava/dont-know-response
dont-know-response is a machine learning model from ashish-shrivastava. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
Fine-tuned on Google's T5 using a combination of a dependency-rule based data and Quora Question Pairs(QQP) dataset for Don't Know Response Generation task.
Downloads · 30 days
40
1% of all-time downloads
All-time downloads
2.9K
Public
Repo size
2.7 GB
Likes
3
Public
Click a slice to open those files.
.bin892 MB · 50%
From the Hugging Face model README
Fine-tuned on Google's T5 using a combination of a dependency-rule based data and Quora Question Pairs(QQP) dataset for Don't Know Response Generation task.
Additional information about this model:
from transformers import T5ForConditionalGeneration, T5Tokenizer
model_name = "ashish-shrivastava/dont-know-response"
model = T5ForConditionalGeneration.from_pretrained(model_name)
tokenizer = T5Tokenizer.from_pretrained(model_name)
input = "Where can I find good Italian food ?"
input_ids = tokenizer.encode(input, return_tensors="pt")
outputs = model.generate(input_ids)
decoded_output = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(decoded_output) # I'm not sure where you can get good quality Italian food.
n_epochs = 2
base_LM_model = "T5-base"
max_seq_len = 256
learning_rate = 3e-4
adam_epsilon = 1e-8
train_batch_size = 6
@misc{shrivastava2020saying,
title={Saying No is An Art: Contextualized Fallback Responses for Unanswerable Dialogue Queries},
author={Ashish Shrivastava and Kaustubh Dhole and Abhinav Bhatt and Sharvani Raghunath},
year={2020},
eprint={2012.01873},
archivePrefix={arXiv},
primaryClass={cs.CL}
}