Coder Social home page Coder Social logo

coc-codellama's Introduction

coc-codellama

A completion engine for nvim.coc using the codellama LLM.

Install

:CocInstall coc-codellama

Options

Option Type Default value Description
coc-codellama.enabled boolean true Enable coc-codellama extension
coc-codellama.host string localhost The host to connect to.
coc-codellama.port number 11434 The remote port to connect to.
coc-codellama.contextAbove number 7 How many lines above the current line to include in the context for completion.
coc-codellama.contextBelow number 7 How many lines below the current line to include in the context for completion.
coc-codellama.shortcut string CL The shortcut to use for this completion source.
coc-codellama.priority number 995 How far up in the list to put completions from this source.
coc-codellama.model string codellama:code The large language model to use for completions.
coc-codellama.prefix string <PRE> The token to put in front of the fill in the middle prefix
coc-codellama.suffix string <SUF> The token to put in front of the fill in the middle suffix.
coc-codellama.middle string <MID> The token to put at the end of the fill in the middle prompt.
coc-codellama.token-limit number 24 The maximum number of tokens allowed.
coc-codellama.temperature number 0.8 How variable the output should be. Must be between 0 and 2. 0 means totally deterministic.

Using codegemma:code

:CocConfig

"coc-codellama.model": "codegemma:code",
"coc-codellama.prefix": "<|fim_prefix|>",
"coc-codellama.suffix": "<|fim_suffix|>",
"coc-codellama.middle": "<|fim_middle|>",

Demo

asciicast

License

MIT

coc-codellama's People

Contributors

falcoger avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.