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

Open In Colab

from transformers import pipeline

model_name = "HuyRemy/Ai-bocphet"
chatbot = pipeline("text-generation", model=model_name)

def generate_response(prompt):
    response = chatbot(prompt, max_length=150, num_return_sequences=1)
    return response[0]['generated_text']
user_input = "Give three tips for staying healthy."
response = generate_response(user_input)
print("Bot:", response)
Downloads last month
3
Safetensors
Model size
124M params
Tensor type
F32
·
Inference Providers NEW
This model is not currently available via any of the supported third-party Inference Providers, and HF Inference API was unable to determine this model's library.