更新於 4 個月前
4 個月前
186c460ee707 · 866MB
模型
archllama
·
parameters1.48B
·
quantizationQ4_0
866MB
參數
{ "stop": [ "<|endoftext|>", "<|im_end|>", "<fim_prefix>", "<fim
135B
範本
{{- if .Messages }} {{- range $i, $_ := .Messages }} {{- $last := eq (len (slice $.Messages $i)) 1 -
527B
授權條款
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 https://127.0.0.1:11434/api/generate -d '{
"model": "yi-coder",
"prompt": "def compute_gcd(a, b):",
"suffix": " return result",
"options": {
"temperature": 0
},
"stream": false
}'