Ollama 上线 Code Llama,提供 7B/13B/34B 本地运行
Run Code Llama locally · Ollama Blog
Meta 发布基于 Llama 2 的 Code Llama,Ollama 同步上线可供本地试用。提供 7B、13B(需 16GB 以上内存)和 34B(需 32GB 以上内存)三种参数规模,包含基础模型与 Python 专用版本,分别面向代码生成与补全任务,可通过 ollama pull 命令拉取。
推荐理由
精选AI 评分 71
Ollama 上线 Code Llama 各规格与 Python 专用版本,读者可据此了解本地跑代码模型的显存门槛与拉取方式。
主题
正文
当前显示原文,中文全文译文尚未就绪。
August 24, 2023
Today, Meta Platforms, Inc., releases Code Llama to the public, based on Llama 2 to provide state-of-the-art performance among open models, infilling capabilities, support for large input contexts, and zero-shot instruction following ability for programming tasks.
Code Llama is now available on Ollama to try!
If you haven’t already, installed Ollama, please download it here.
For users to play with Code Llama:
Available with 7 billion, 13 billion (16GB+ of memory requirement) and 34 billion (32GB+ of memory requirement) parameters:
Foundation models and Python specializations are available for code generation/completions tasks
Foundation models:
ollama pull codellama:7b-code
ollama pull codellama:13b-code
ollama pull codellama:34b-code
Python specializations:
ollama pull codellama:7b-python
ollama pull codellama:13b-python
ollama pull codellama:34b-python