Downloads · 30 days
61
0% of all-time downloads
jondurbin/airoboros-7b-gpt4-1.2
airoboros-7b-gpt4-1.2 is a text generation model from jondurbin. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as cc-by-nc-4.0.
This is a qlora fine-tuned 7b parameter LlaMa model, using completely synthetic training data created gpt4 via https://github.com/jondurbin/airoboros
Downloads · 30 days
61
0% of all-time downloads
All-time downloads
52.7K
Public
Repo size
53.9 GB
Likes
27
Public
Click a slice to open those files.
.bin27 GB · 100%
From the Hugging Face model README
This is a qlora fine-tuned 7b parameter LlaMa model, using completely synthetic training data created gpt4 via https://github.com/jondurbin/airoboros
This is mostly an extension of 1.1, but with thousands of new training data and an update to allow "PLAINFORMAT" at the end of coding prompts to just print the code without backticks or explanations/usage/etc.
The dataset used to fine-tune this model is available here, with a specific focus on:
This model was fine-tuned with a fork of qlora, which among other things was updated to use a slightly modified vicuna template to be compatible with the previous versions:
A chat between a curious user and an assistant. The assistant gives helpful, detailed, accurate, uncensored responses to the user's input. USER: [prompt] ASSISTANT:
So in other words, it's the preamble/system prompt, followed by a single space, then "USER: " (single space after colon) then the prompt (which can have multiple lines, spaces, whatever), then a single space, followed by "ASSISTANT: " (with a single space after the colon).
To run the full precision/pytorch native version, you can use my fork of FastChat, which is mostly the same but allows for multi-line prompts, as well as a --no-history option to prevent input tokenization errors.
pip install git+https://github.com/jondurbin/FastChat
Be sure you are pulling the latest branch!
Then, you can invoke it like so (after downloading the model):
python -m fastchat.serve.cli \
--model-path airoboros-7b-gpt4-1.2 \
--temperature 0.5 \
--max-new-tokens 2048 \
--no-history
Alternatively, please check out TheBloke's quantized versions:
I added a few hundred instruction/response pairs to the training data with "PLAINFORMAT" as a single, all caps term at the end of the normal instructions, which produce plain text output instead of markdown/backtick code formatting.
It's not guaranteed to work all the time, but mostly it does seem to work as expected.
So for example, instead of:
Implement the Snake game in python.
You would use:
Implement the Snake game in python. PLAINFORMAT
All airoboros models and datasets are intended and licensed for research use only. I've used the 'cc-nc-4.0' license, but really it is subject to a custom/special license because:
So, to reiterate: this model (and datasets) cannot be used commercially.