Downloads · 30 days
14
16% of all-time downloads
abhijitgayen/cogo-blenderbot-slow
cogo-blenderbot-slow is a machine learning model from abhijitgayen. 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.
for this fine-tuning of this model. here we use the dataset
Downloads · 30 days
14
16% of all-time downloads
All-time downloads
88
Public
Repo size
4.4 GB
Likes
0
Public
Click a slice to open those files.
.bin1.5 GB · 100%
From the Hugging Face model README
for this fine-tuning of this model. here we use the dataset
from transformers import AutoModelForSeq2SeqLM, AutoTokenizer
model_id= "abhijitgayen/cogo-blenderbot"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSeq2SeqLM.from_pretrained(model_id)
UTTERANCE = "help me to book fcl"
print("Human: ", UTTERANCE)
inputs = tokenizer([UTTERANCE], return_tensors="pt")
reply_ids = model.generate(**inputs)
print("Bot: ", tokenizer.batch_decode(reply_ids, skip_special_tokens=True)[0])
Response is good but it is take time to give response..As chatbot a real time application. if it takes more than 20 sec , it is meaningless.