本地部署Code Llama的两种方法,7B,13B参数代码生成能力测试

1.7万
13
2023-09-03 13:07:51
362
175
886
150
Code Llama是开源免费可商用的大型语言模型 (LLM),可以使用文本提示来生成代码,包括 Python、C++、Java、PHP、Typescript (Javascript)、C#、Bash 等。原生模型需要申请才能下载。消费级显卡上可以使用text-generation-webui加载hugging face格式的code llama模型。 codellama github https://github.com/facebookresearch/codellama 文本生成webui https://github.com/oobabooga/text-generation-webui transformers4.33 pip install git+https://github.com/huggingface/transformers.git@main accelerate hugging face格式模型 https://huggingface.co/codellama
不保证成功,不一定有用。
丰厚奖励助力投稿
客服
顶部
赛事库 课堂 2021拜年纪