Views
No views yet
pip install -U transformers1from transformers import pipeline # Load modules
2
3pipe = pipeline("text-generation", model="AryavA/FunnyPhi-4") # Load the model
4
5messages = [{"role":"user", "content":"Who are you?"}] # Setting the messages in a variable called umm, yeah, messages.
6
7print(pipe(messages)) # Generating and printing output.1Use FunnyPhi-4 responsibly. Too much laughter may cause heavy stomach pains.
2
3If it forgets its name, just finetune it.
4
5Contributions are welcome, especially memes or jokes about pizza or Python errors.