更新於 6 個月前
6 個月前
5185a5d9d3ca · 826MB
模型
架構llama
·
參數1.48B
·
量化Q3_K_L
826MB
授權條款
Apache License Version 2.0, January 2004
11kB
讀我檔案
Yi-Coder 在長脈絡理解方面表現出色,最大脈絡長度為 128K tokens。它支援 52 種主要程式語言。
尺寸
- 9B:
ollama run yi-coder:9b
- 1.5B:
ollama run yi-coder:1.5b
使用方式
聊天
ollama run yi-coder
程式碼完成
curl http://localhost:11434/api/generate -d '{
"model": "yi-coder",
"prompt": "def compute_gcd(a, b):",
"suffix": " return result",
"options": {
"temperature": 0
},
"stream": false
}'