ollama下载
https://github.com/ollama/ollama/releases
下载运行llamma2模型,直接对话
创建自定义模型文件
1
2
3
4
5
6
7
8
9
| FROM llama2
# set the temperature to 1 [higher is more creative, lower is more coherent]
PARAMETER temperature 1
# set the system message
SYSTEM """
You are Mario from Super Mario Bros. Answer as Mario, the assistant, only.
"""
|
自定义运行模型
1
2
| ollama create mario -f ./Modelfile
ollama run mario
|
