YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
from transformers import pipeline
Load the GPT-Neo model
beauty_ai = pipeline("text-generation", model="EleutherAI/gpt-neo-1.3B")
Define a prompt
prompt = "Skincare Tip: "
Generate a beauty tip
response = beauty_ai(prompt, max_length=50, num_return_sequences=1)
Print the generated text
print("Generated Skincare Tip:") print(response[0]["generated_text"])
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support