banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

CodeGemma:基于Gemma的开源代码模型,简单测试了一下,效果不错

CodeGemma,一个基于 Google DeepMind 的 Gemma 模型构建的开源代码模型家族,已经在代码生成和理解领域引起了巨大关注。这个模型不仅提高了代码生成能力,还保留了强大的自然语言理解能力,为各种应用场景提供了强大的支持。在这篇论文中,我们将深入探讨 CodeGemma 的技术细节和评估结果,以及它对 AI 领域的影响。

1 简介
CodeGemma 模型是基于 Gemma 预训练模型构建的,通过在大量代码数据上进行进一步预训练,取得了在代码补全和生成任务上的领先地位。同时,它还保留了 Gemma 模型强大的自然语言理解能力。CodeGemma 包括一个 7B 参数的预训练模型和一个 7B 参数的指令调优模型,以及一个 2B 参数的专门用于代码补全和生成任务的模型。
在 Ollama 上简单测试
发现 ollama 已经支持 codegemma 了:https://ollama.com/library/codegemma ,默认是 4bit 量化,也支持其他版本。我就选了在 16G 显卡上能跑的最大的模型 “codegemma:7b-instruct-q6_K”

image

线上体验:https://huggingface.co/blog/codegemma#demo

加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。