Giter VIP home page Giter VIP logo

Comments (5)

jontstaz avatar jontstaz commented on June 5, 2024

+1
This would be very much appreciated if you open-sourced the backend. Is there any reason why it wasn't released together with the frontend originally @shobrook ?

from adrenaline.

jontstaz avatar jontstaz commented on June 5, 2024

Additionally, these constants do nothing as it stands. Everything happens on the backend:

const EDIT_PROMPT_PARAMS = {
  model: "code-davinci-edit-001"
};
const COMPLETION_PROMPT_PARAMS = {
  model: "text-davinci-003",
  max_tokens: 500,
  temperature: 0.2,
  top_p: 1,
  presence_penalty: 0,
  frequency_penalty: 0,
  best_of: 1,
  n: 1,
  stream: false
};

from adrenaline.

jamesphillipturpin avatar jamesphillipturpin commented on June 5, 2024

I haven't read the source code in its entirety, but just looking at your comments, "code-davinci-edit-001" and "text-davinci-003" appear to be OpenAI models that are known to only be available through OpenAI's API.

It might be possible to refactor the code to use other models that are downloadable, but the downloadable models may not be as good in terms of high level comprehension. You can get help from Adrenaline, ChatGPT, or Copilot with setting up the downloadable models such as GPT 2. It is over 10 GB though. Once you get a code model and an natural language model setup, you can go to the facehugger community webpage and explore options to possible switch out with other models.

However, I suspect that the downloadable models won't be nearly as good for coding because they haven't had acceess to as large of a training set for coding, and/or they are a previous generation of AI model.

from adrenaline.

osanseviero avatar osanseviero commented on June 5, 2024

With the release of cool open source models such as Code Llama, I was wondering if this changed

from adrenaline.

shobrook avatar shobrook commented on June 5, 2024

Right now the API is closed-source but we will explore exposing some endpoints in the future (specifically for generating visualizations).

And yeah nothing beats GPT-4 right now.

from adrenaline.

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.