πŸš€ Usage

You can use this model directly with the πŸ€— Transformers pipeline:

from transformers import pipeline

# Load the fine-tuned model from Hugging Face
model_id = "dilexsan/flan_t5_youtube_comments_suggestion"

generator = pipeline("text2text-generation", model=model_id)

comment = "Audio was clear and easy to understand."
input_text = "generate suggestion: " + comment

result = generator(input_text, max_length=128, num_beams=4, early_stopping=True)

print("Input Comment:", comment)
print("Generated Suggestion:", result[0]['generated_text'])

Downloads last month
5
Safetensors
Model size
0.2B params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support