import llm
model = llm.get_model("SmolLM2")
model.prompt("Write me a poem about computers").text()
I ran the above to test it, and got this:
In the realm of computation, where magic is a thing of the past,
The digital realm, where the boundaries of what is thought,
The digital realm, where the boundaries of what is thought,
And then added some to reduce repeating. I then used the prompt "Write a 10 line poem on computers." (note the fullstop), to get:
In the realm of computation, where magic and science intertwine,
The art of programming and the art of computing.
Computers are machines that can think, they are computers.
They can do what humans cannot – to create.
Computers are machines that can think, they are computers.
Computers are machines that think, they are computers.
Computers are machines that think, they are computers.
Computers are machines that think, they are computers.
Computers are machines that think, they are computers.
Computers are machines that think, they are computers.
Computers are machines that think, they are computers.
Computers can think, they can think.
Computers can be thought of as a machine that thinks.
Computers can be thought of as a machine that thinks.
Still not perfect, but the parameters seem to make a massive difference. I think it's entirely possible to get something reasonable out of this model.
reply