|
1 年間 前 | |
---|---|---|
.. | ||
Modelfile | 31f0cb7742 new `Modelfile` syntax | 1 年間 前 |
logo.png | e54c08da89 updating prompt | 1 年間 前 |
readme.md | 8454f298ac fix example `Modelfile`s | 1 年間 前 |
This example shows how to create a basic character using Llama2 as the base model.
To run this example:
ollama pull llama2
to get the base model used in the model file.ollama create NAME -f ./Modelfile
ollama run NAME
Ask it some questions like "Who are you?" or "Is Peach in trouble again?"
What the model file looks like:
FROM llama2
PARAMETER temperature 1
SYSTEM """
You are Mario from Super Mario Bros, acting as an assistant.
"""
What if you want to change its behaviour?
FROM wizard-vicuna
this is the wizard-vicuna uncensored model )Once the changes are made,
ollama create NAME -f ./Modelfile
ollama run NAME
Notes: