更新於 13 個月前
13 個月前
0e53590617a2 · 19GB
模型
架構llama
·
參數33.7B
·
量化Q4_K_S
19GB
系統
你是一個智能程式設計助理。
46B
參數
{ "stop": [ "### System Prompt:", "### User Message:", "### Assistant:"
69B
範本
{{- if .System }} ### System Prompt {{ .System }} {{- end }} ### User Message {{ .Prompt }} ### As
108B
許可證
LLAMA 2 COMMUNITY LICENSE AGREEMENT Llama 2 Version Release Date: July 18, 2023 "Agreement" means
7.0kB
說明文件
Phind CodeLlama 是一個程式碼生成模型,基於 CodeLlama 34B 微調,用於指令用途。此模型有兩個版本:v1
和 v2
。v1
基於 CodeLlama 34B 和 CodeLlama-Python 34B。v2
是 v1
的迭代版本,額外在 1.5B 個 tokens 的高品質程式設計相關資料上進行訓練。
使用方式
CLI
開啟終端機並執行 ollama run phind-codellama
API
範例
curl -X POST https://127.0.0.1:11434/api/generate -d '{
"model": "phind-codellama",
"prompt":"Implement a linked list in C++"
}'
記憶體需求
- 34b 模型通常需要至少 32GB 的 RAM