Edit model card
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Trying to make AI conversation

for this fine-tuning of this model. here we use the dataset

How to use this Model

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])

Out Put

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.

Downloads last month
0
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.