-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Elixir code completion #2332
Open
jonastemplestein
wants to merge
8
commits into
livebook-dev:main
Choose a base branch
from
jonastemplestein:copilot_completion
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[WIP] Elixir code completion #2332
jonastemplestein
wants to merge
8
commits into
livebook-dev:main
from
jonastemplestein:copilot_completion
Commits on Nov 9, 2023
-
MVP copilot completion using GPT4 API
Set OPENAI_API_KEY env var to play around with it
Configuration menu - View commit details
-
Copy full SHA for c8c537b - Browse repository at this point
Copy the full SHA c8c537bView commit details
Commits on Nov 10, 2023
-
Added llama.cpp HTTP API client
This means you can now use any model for completion that llama.cpp can run Just compile llama.cpp and run the server like this: ./server -m codellama-7b.Q5_K_M.gguf -c 4096 I've tested this with codellama 7B quantised (codellama-7b.Q5_K_M.gguf) and it works well. But I have no idea if the special `/infill` endpoint works for other models, as I don't know how llama.cpp would know about the infilling tokens
Configuration menu - View commit details
-
Copy full SHA for afc40e9 - Browse repository at this point
Copy the full SHA afc40e9View commit details
Commits on Nov 15, 2023
-
Lots of code above my paygrade
- Refactored the way copilot completion backends work - Added Livebook.Copilot.BumblebeeBackend (including attempting to run Serving under new DynamicSupervisor) - Added Livebook.Copilot.DummyBackend for testing - Added Livebook.Copilot.LlamaCppHttpBackend for running models in llama.cpp's server locally - Added Livebook.Copilot.OpenaiBackend for running on OpenAi - Added Livebook.Copilot.HuggingfaceBackend to use HF inference endpoints - Played around with adding some user feedback via flash messages - Fixed a whole bunch of edge cases and bugs in client side logic - Request completions instantly (instead of debounced) when manually requested - Added special comments you can put in livebook cells that will override the configured copilot backend
Configuration menu - View commit details
-
Copy full SHA for 71a0958 - Browse repository at this point
Copy the full SHA 71a0958View commit details -
Can't get bumblebee cuda to work on livebook machine
Reverting to GPT2
Configuration menu - View commit details
-
Copy full SHA for bd44d31 - Browse repository at this point
Copy the full SHA bd44d31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a3ab78 - Browse repository at this point
Copy the full SHA 4a3ab78View commit details
Commits on Nov 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bec936a - Browse repository at this point
Copy the full SHA bec936aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e1ea76 - Browse repository at this point
Copy the full SHA 6e1ea76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 644f414 - Browse repository at this point
Copy the full SHA 644f414View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.