16 個月前更新
16 個月前
c7d7fcc635b3 · 7.7GB
模型
架構llama
·
參數7.24B
·
量化Q8_0
7.7GB
參數
{ "num_ctx": 131072 }
18B
說明文件
Yarn Mistral 是一個基於 Mistral 的模型,將其上下文大小擴展到 128k 上下文。它由 Nous Research 開發,通過實施 YaRN 方法進一步訓練模型,以支援更大的上下文視窗。
命令列介面
64k 上下文大小
ollama run yarn-mistral
128k 上下文大小
ollama run yarn-mistral:7b-128k
API
範例
curl -X POST http://localhost:11434/api/generate -d '{
"model": "yarn-mistral:7b-128k",
"prompt":"Here is a story about llamas eating grass"
}'