Downloads · 30 days
3
18% of all-time downloads
HuyRemy/Ai-bocphet
Ai-bocphet is a machine learning model from HuyRemy. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
[](https://colab.research.google.com/drive/13-x3TRRKdlrXjQlXve5btnapyMNL0Hhl?usp=sharing)
Downloads · 30 days
3
18% of all-time downloads
All-time downloads
17
Public
Parameters
124M
498 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 100%
From the Hugging Face model README
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)