更新於 15 個月前
15 個月前
c910ed0b2220 · 3.5GB
模型
架構llama
·
參數7.24B
·
量化Q3_K_M
3.5GB
參數
{ "num_ctx": 131072 }
18B
讀我檔案
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"
}'