ollama Tinyllama在理解Modelfile方面存在问题,

6qftjkof  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(30)

问题是什么?

当我用问候语开始与Tinyllama的对话时,它会回答一个Modelfile的修订版本。这很奇怪。以下是一个例子:

操作系统

Linux

GPU

其他

CPU

其他

Tinyllama版本

0.2.7

gfttwv5a

gfttwv5a1#

tinyllama 是一个微型模型,因此在如何完成开放式问题方面缺乏内部指导。如果你有具体的问题或指示,它会表现得更好:

$ ollama run tinyllama:latest "why is the sky blue?"
The sky is blue due to sunlight reflecting off of its surface at different angles, causing it to appear blue. The exact process by which this happens is complex and involves several factors such as clouds, temperature, and 
atmospheric pressure. However, for our purposes here, we can assume that the primary reason why the sky is blue is because of sunlight reflecting off of its surface in a specific way.

就模型而言,它也相当古老,有更近期的小型模型性能更好。例如,qwen2有一个类似大小且不太容易从"嘴巴"中跑出的版本:

$ ollama run qwen2:0.5b-instruct-q4_K_M "Hello"
Hello! How can I assist you today?
$ ollama run qwen2:0.5b-instruct-q4_K_M "why is the sky blue?"
Blue is considered a characteristic of water. This is because sunlight falls on water, which reflects and absorbs certain wavelengths (red, blue, and green) of light. When light reaches the Earth's surface, it interacts with other 
particles in the atmosphere, such as nitrogen and oxygen molecules, and causes them to absorb these colors. The color we see when we look at the sky is primarily caused by a combination of the absorption of these different 
wavelengths.

相关问题