|
--- |
|
license: llama2 |
|
tags: |
|
- code llama |
|
base_model: BallisticAI/Ballistic-CodeLlama-34B-v1 |
|
inference: false |
|
model_creator: BallisticAI |
|
model_type: llama |
|
prompt_template: '### System Prompt |
|
|
|
{system_message} |
|
|
|
|
|
### User Message |
|
|
|
{prompt} |
|
|
|
|
|
### Assistant |
|
|
|
' |
|
quantized_by: BallisticAI |
|
model-index: |
|
- name: Ballistic-CodeLlama-34B-v1 |
|
results: |
|
- task: |
|
type: text-generation |
|
dataset: |
|
name: HumanEval |
|
type: openai_humaneval |
|
metrics: |
|
- type: n/a |
|
value: n/a |
|
name: n/a |
|
verified: false |
|
--- |
|
|
|
|
|
# CodeLlama 34B v1 - GGUF |
|
- Model creator: [BallisticAI](https://huggingface.co/BallisticAI) |
|
- Base on: [CodeLlama 34B hf](https://huggingface.co/codellama/CodeLlama-34b-hf) |
|
- Merged with: [CodeLlama 34B v2](https://huggingface.co/Phind/Phind-CodeLlama-34B-v2) && [speechless-codellama-34b-v2](https://huggingface.co/uukuguy/speechless-codellama-34b-v2.0) |
|
- Additional training with: [jondurbin/airoboros-2.2](https://huggingface.co/datasets/jondurbin/airoboros-2.2) |
|
|
|
|
|
<!-- description start --> |
|
## Description |
|
|
|
This repo contains GGUF format model files for [Ballistic-CodeLlama-34B-v1](https://huggingface.co/BallisticAI/Ballistic-CodeLlama-34B-v1). |
|
|
|
<!-- description end --> |
|
<!-- README_GGUF.md-about-gguf start --> |
|
### About GGUF |
|
|
|
GGUF is a new format introduced by the llama.cpp team on August 21st 2023. It is a replacement for GGML, which is no longer supported by llama.cpp. GGUF offers numerous advantages over GGML, such as better tokenisation, and support for special tokens. It is also supports metadata, and is designed to be extensible. |
|
|
|
Here is an incomplate list of clients and libraries that are known to support GGUF: |
|
|
|
* [llama.cpp](https://github.com/ggerganov/llama.cpp). The source project for GGUF. Offers a CLI and a server option. |
|
* [text-generation-webui](https://github.com/oobabooga/text-generation-webui), the most widely used web UI, with many features and powerful extensions. Supports GPU acceleration. |
|
* [KoboldCpp](https://github.com/LostRuins/koboldcpp), a fully featured web UI, with GPU accel across all platforms and GPU architectures. Especially good for story telling. |
|
* [LM Studio](https://lmstudio.ai/), an easy-to-use and powerful local GUI for Windows and macOS (Silicon), with GPU acceleration. |
|
* [LoLLMS Web UI](https://github.com/ParisNeo/lollms-webui), a great web UI with many interesting and unique features, including a full model library for easy model selection. |
|
* [Faraday.dev](https://faraday.dev/), an attractive and easy to use character-based chat GUI for Windows and macOS (both Silicon and Intel), with GPU acceleration. |
|
* [ctransformers](https://github.com/marella/ctransformers), a Python library with GPU accel, LangChain support, and OpenAI-compatible AI server. |
|
* [llama-cpp-python](https://github.com/abetlen/llama-cpp-python), a Python library with GPU accel, LangChain support, and OpenAI-compatible API server. |
|
* [candle](https://github.com/huggingface/candle), a Rust ML framework with a focus on performance, including GPU support, and ease of use. |
|
|
|
<!-- README_GGUF.md-about-gguf end --> |
|
<!-- repositories-available start --> |
|
## Repositories available |
|
|
|
* [AWQ model for GPU inference.](https://huggingface.co/BallisticAI/Ballistic-CodeLlama-34B-v1-AWQ) |
|
* [Unquantised fp16 model in pytorch format, for GPU inference and for further conversions](BallisticAI/Ballistic-CodeLlama-34B-v1) |
|
<!-- repositories-available end --> |
|
|
|
<!-- prompt-template start --> |
|
## How to Prompt the Model |
|
This model accepts the Alpaca/Vicuna instruction format. |
|
|
|
For example: |
|
|
|
``` |
|
### System Prompt |
|
You are an intelligent programming assistant. |
|
|
|
### User Message |
|
Implement a linked list in C++ |
|
|
|
### Assistant |
|
... |
|
``` |
|
|
|
<!-- prompt-template end --> |
|
|
|
|
|
<!-- compatibility_gguf start --> |
|
## Compatibility |
|
|
|
These quantised GGUFv2 files are compatible with llama.cpp from August 27th onwards, as of commit [d0cee0d36d5be95a0d9088b674dbb27354107221](https://github.com/ggerganov/llama.cpp/commit/d0cee0d36d5be95a0d9088b674dbb27354107221) |
|
|
|
They are also compatible with many third party UIs and libraries - please see the list at the top of this README. |
|
<!-- compatibility_gguf end --> |
|
|
|
|
|
## Bias, Risks, and Limitations |
|
|
|
<!-- This section is meant to convey both technical and sociotechnical limitations. --> |
|
This model has undergone very limited testing. Additional safety testing should be performed before any real-world deployments. |
|
|
|
|
|
|
|
## Thanks |
|
|
|
Thanks to: |
|
|
|
- The Original Llama team |
|
- [Phind](https://huggingface.co/phind) |
|
- [uukuguy](https://huggingface.co/uukuguy) |
|
- [jondurbin](https://huggingface.co/jondurbin) |
|
- And everyone else who's involved in the Open Source AI/ML Community. |
|
|
|
|
|
|