更新於 15 個月前
15 個月前
1ac045b0f86f · 5.1GB
模型
架構llama
·
參數7.24B
·
量化Q5_K_M
5.1GB
參數
{ "num_ctx": 65536 }
17B
Readme
Yarn Mistral 是一個基於 Mistral 的模型,它將上下文大小擴展到 128k。它由 Nous Research 開發,通過實施 YaRN 方法來進一步訓練模型以支持更大的上下文窗口。
CLI
64k 上下文大小
ollama run yarn-mistral
128k 上下文大小
ollama run yarn-mistral:7b-128k
API
範例
curl -X POST https://127.0.0.1:11434/api/generate -d '{
"model": "yarn-mistral:7b-128k",
"prompt":"Here is a story about llamas eating grass"
}'