更新于 16 个月前
16 个月前
9f1a8b3eec09 · 3.2GB
模型
架构llama
·
参数7.24B
·
量化Q3_K_S
3.2GB
参数
{ "num_ctx": 65536 }
17B
自述文件
Yarn Mistral 是基于 Mistral 的模型,它将其上下文大小扩展到高达 128k 的上下文。它由 Nous Research 开发,通过实施 YaRN 方法来进一步训练模型以支持更大的上下文窗口。
CLI (命令行界面)
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"
}'