codealpaca
llm-code
Our great sponsors
codealpaca | llm-code | |
---|---|---|
20 | 1 | |
1,373 | 23 | |
- | - | |
4.4 | 6.7 | |
12 months ago | 12 days ago | |
Python | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
codealpaca
-
Just put together a programming performance ranking for popular LLaMAs using the HumanEval+ Benchmark!
CodeAlpaca 7B
-
OpenAI isn’t doing enough to make ChatGPT’s limitations clear
This is great!
Addressing the model limitations a bit: in the demonstration data that is provided to the base model, we should prevent computed or "looked up" answers.
I've seen some of the demonstration data that people are using to train instruction-tuned models and are being taught to respond by making up answers to solutions it shouldn't try to compute. Btw, the output is wrong.
{ "instruction": "What would be the output of the following JavaScript snippet?", "input": "let area = 6 * 5;\nlet radius = area / 3.14;", "output": "The output of the JavaScript snippet is the radius, which is 1.91." }, [1]
The UI note for now would get us very far but by filtering out demonstrations that retrieve or compute information should be filtered out.
Symbol tuning [2] is addressing the quality of demonstrations but we can take it further by removing retrievals and computations altogether.
Bonus: we can demonstrate how to make it respond so that the user/agent be informed of how to compute or retrieve.
1: https://github.com/sahil280114/codealpaca/commit/0d265112c70...
2: https://arxiv.org/abs/2305.08298
- How to Finetune GPT Like Large Language Models on a Custom Dataset
- Ask HN: Those with success using GPT-4 for programming – what are you doing?
-
Is there a colab or guide for fine tuning a 13b model for instruction following?
I found guides like this: https://github.com/sahil280114/codealpaca
-
Can LLMs do static code analysis?
Try, https://github.com/sahil280114/codealpaca, or we’re you trying to stick with more generalist models?
-
LoRA in LLaMAc++? Converting to 4bit? How to use models that are split into multiple .bin ?
Oh, I see. That makes sense. I'm also sleep deprived over here so my reading comprehension is a bit low ;|. Well in that case check out this link: https://github.com/sahil280114/codealpaca
-
Cerebras-GPT: A Family of Open, Compute-Efficient, Large Language Models
Sorry for the late reply, as I said Flan-UL2 (or Flan-T5 if you want lighter models) fine-tuned against a dataset like CodeAlpaca's[0] is probably the best solution if it's intended for commercial use (otherwise LLaMa should perform better).
[0]: https://github.com/sahil280114/codealpaca
- CodeAlpaca – Instruction following code generation model
llm-code
-
Ask HN: Those with success using GPT-4 for programming – what are you doing?
I’m using it to do the mundane tasks of unit testing and (some) documentation. I find that the code it spits out isn’t perfect but getting some boiler plate and fixing it up is pretty fast compared to writing from scratch.
I’ve used this enough that I wrapped some cli glue around it and wrote https://github.com/radoshi/llm-code
I’ve used this mostly to write Python and bash, with some Makefiles and Dockerfiles thrown in.
GPT-4 is better, albeit slower, than 3.5-turbo. HTH!
What are some alternatives?
alpaca.cpp - Locally run an Instruction-Tuned Chat-Style LLM
codemancer - AI coding assistant in your command line.
alpaca-electron - The simplest way to run Alpaca (and other LLaMA-based local LLMs) on your own computer
llm-humaneval-benchmarks
awesome-ai-coding - Awesome AI Coding
openplayground-api - A reverse engineered Python API wrapper for OpenPlayground (nat.dev)
supercharger - Supercharge Open-Source AI Models
llemmings - Llemmings is a game being written by LLMs. Only. Humans copy and paste code.
flan-alpaca - This repository contains code for extending the Stanford Alpaca synthetic instruction tuning to existing instruction-tuned models such as Flan-T5.
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
stacksort - Sorts an array by downloading snippets from StackOverflow. Inspired by http://xkcd.com/1185/. I'm sorry.