Downloads · 30 days
79
0% of all-time downloads
Nondzu/Mistral-7B-codealpaca-lora
Mistral-7B-codealpaca-lora is a text generation model from Nondzu. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
I am thrilled to introduce my Mistral-7B-codealpaca model. This variant is optimized and demonstrates potential in assisting developers as a coding companion. I welcome contributions from testers and enthusiasts to he…
Downloads · 30 days
79
0% of all-time downloads
All-time downloads
29K
Public
Parameters
7.2B
29 GB on disk
Likes
15
Public
Click a slice to open those files.
.bin14.5 GB · 50%
From the Hugging Face model README
I am thrilled to introduce my Mistral-7B-codealpaca model. This variant is optimized and demonstrates potential in assisting developers as a coding companion. I welcome contributions from testers and enthusiasts to help evaluate its performance.
I trained the model using 3xRTX 3090 for 118 hours.

Below is an instruction that describes a task. Write a response that appropriately completes the request.
### Instruction:
{prompt}
### Response:
Human eval plus: https://github.com/evalplus/evalplus

Well, the results are better than I expected:
{'pass@1': 0.47560975609756095}{'pass@1': 0.4329268292682927}For reference, I've provided the performance of the original Mistral model alongside my Mistral-7B-code-16k-qlora model.
** Nondzu/Mistral-7B-code-16k-qlora**:
{'pass@1': 0.3353658536585366}{'pass@1': 0.2804878048780488}** mistralai/Mistral-7B-Instruct-v0.1**:
{'pass@1': 0.2926829268292683}{'pass@1': 0.24390243902439024}Here are the configurations for my Mistral-7B-codealpaca-lora:
base_model: mistralai/Mistral-7B-Instruct-v0.1
base_model_config: mistralai/Mistral-7B-Instruct-v0.1
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true
load_in_8bit: true
load_in_4bit: false
strict: false
datasets:
- path: theblackcat102/evol-codealpaca-v1
type: oasst
dataset_prepared_path:
val_set_size: 0.01
output_dir: ./nondzu/Mistral-7B-codealpaca-test14
adapter: lora
sequence_len: 4096
sample_packing: true
pad_to_sequence_len: true
lora_r: 32
lora_alpha: 16
lora_dropout: 0.05
lora_target_modules:
lora_target_linear: true

For other related projects, you can check out: