GithubHelp home page GithubHelp logo

llama.cpp api about twinny HOT 6 CLOSED

kv-gits avatar kv-gits commented on May 26, 2024
llama.cpp api

from twinny.

Comments (6)

rjmacarthy avatar rjmacarthy commented on May 26, 2024 1

Thanks @kv-gits for the suggestion, it's possible. Do you know which model would support FIM completions using llama.cpp? Edit I am working on this in #47

from twinny.

rjmacarthy avatar rjmacarthy commented on May 26, 2024 1

Thanks for that I am creating a new release now version 3 which adds support for llama.cpp. You'll need to update some settings in the extension for it to work. FIM is working with the model I tried, but with the same model chat is spitting out garbage, there is an option to use a different endpoint for chat if required.

from twinny.

rjmacarthy avatar rjmacarthy commented on May 26, 2024 1

I just released version v3.0.0 which includes support for llama.cpp using the --server option. The host, port and endpoints need to be configured in the extension settings. Please let me know how you get on.

Many thanks

from twinny.

kv-gits avatar kv-gits commented on May 26, 2024

As I found in issues, llama.cpp supports FIM tokens and all three models of tweeny have their gguf version on hf

https://github.com/ggerganov/llama.cpp/tree/master/examples/infill

from twinny.

rjmacarthy avatar rjmacarthy commented on May 26, 2024

I think there was a small bug which still checked for model availability on Ollamo on v3.0.0 I fixed it and released v3.0.2 to stop this check.

from twinny.

kv-gits avatar kv-gits commented on May 26, 2024

Would be nice to turn off "install ollama" window after install, and also provide some example cmd to run llamacpp server for quick start

from twinny.

Related Issues (20)

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.