YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
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
- 17
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API:
The model has no library tag.