codealpaca
llama.cpp
codealpaca | llama.cpp | |
---|---|---|
20 | 772 | |
1,373 | 56,891 | |
- | - | |
4.4 | 10.0 | |
12 months ago | 4 days ago | |
Python | C++ | |
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
llama.cpp
- Llama.cpp Bfloat16 Support
-
Fine-tune your first large language model (LLM) with LoRA, llama.cpp, and KitOps in 5 easy steps
Getting started with LLMs can be intimidating. In this tutorial we will show you how to fine-tune a large language model using LoRA, facilitated by tools like llama.cpp and KitOps.
- GGML Flash Attention support merged into llama.cpp
-
Phi-3 Weights Released
well https://github.com/ggerganov/llama.cpp/issues/6849
- Lossless Acceleration of LLM via Adaptive N-Gram Parallel Decoding
- Llama.cpp Working on Support for Llama3
-
Embeddings are a good starting point for the AI curious app developer
Have just done this recently for local chat with pdf feature in https://recurse.chat. (It's a macOS app that has built-in llama.cpp server and local vector database)
Running an embedding server locally is pretty straightforward:
- Get llama.cpp release binary: https://github.com/ggerganov/llama.cpp/releases
- Mixtral 8x22B
- Llama.cpp: Improve CPU prompt eval speed
-
Ollama 0.1.32: WizardLM 2, Mixtral 8x22B, macOS CPU/GPU model split
Ah, thanks for this! I can't edit my parent comment that you replied to any longer unfortunately.
As I said, I only compared the contributors graphs [0] and checked for overlaps. But those apparently only go back about year and only list at most 100 contributors ranked by number of commits.
[0]: https://github.com/ollama/ollama/graphs/contributors and https://github.com/ggerganov/llama.cpp/graphs/contributors
What are some alternatives?
alpaca.cpp - Locally run an Instruction-Tuned Chat-Style LLM
ollama - Get up and running with Llama 3, Mistral, Gemma, and other large language models.
alpaca-electron - The simplest way to run Alpaca (and other LLaMA-based local LLMs) on your own computer
gpt4all - gpt4all: run open-source LLMs anywhere
llm-code - An OpenAI LLM based CLI coding assistant.
text-generation-webui - A Gradio web UI for Large Language Models. Supports transformers, GPTQ, AWQ, EXL2, llama.cpp (GGUF), Llama models.
llm-humaneval-benchmarks
GPTQ-for-LLaMa - 4 bits quantization of LLaMA using GPTQ
awesome-ai-coding - Awesome AI Coding
ggml - Tensor library for machine learning
openplayground-api - A reverse engineered Python API wrapper for OpenPlayground (nat.dev)