
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# mistral7b-sharded-finetune-bn22

This model is a fine-tuned version of [filipealmeida/Mistral-7B-Instruct-v0.1-sharded](https://huggingface.co/filipealmeida/Mistral-7B-Instruct-v0.1-sharded) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.6889

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure


The following `bitsandbytes` quantization config was used during training:
- quant_method: bitsandbytes
- load_in_8bit: False
- load_in_4bit: True
- llm_int8_threshold: 6.0
- llm_int8_skip_modules: None
- llm_int8_enable_fp32_cpu_offload: False
- llm_int8_has_fp16_weight: False
- bnb_4bit_quant_type: nf4
- bnb_4bit_use_double_quant: True
- bnb_4bit_compute_dtype: bfloat16

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.0002
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- training_steps: 1200
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 1.2242        | 0.07  | 100  | 0.9874          |
| 0.8793        | 0.14  | 200  | 0.8074          |
| 0.7996        | 0.21  | 300  | 0.7707          |
| 0.7674        | 0.28  | 400  | 0.7560          |
| 0.7546        | 0.35  | 500  | 0.7333          |
| 0.7299        | 0.42  | 600  | 0.7202          |
| 0.724         | 0.5   | 700  | 0.7105          |
| 0.7104        | 0.57  | 800  | 0.7017          |
| 0.6928        | 0.64  | 900  | 0.6958          |
| 0.7091        | 0.71  | 1000 | 0.6916          |
| 0.7053        | 0.78  | 1100 | 0.6892          |
| 0.7133        | 0.85  | 1200 | 0.6889          |


### Framework versions

- PEFT 0.7.0
- Transformers 4.36.0.dev0
- Pytorch 2.0.0
- Datasets 2.1.0
- Tokenizers 0.15.0
{"license": "apache-2.0", "library_name": "peft", "tags": ["generated_from_trainer"], "base_model": "filipealmeida/Mistral-7B-Instruct-v0.1-sharded", "model-index": [{"name": "mistral7b-sharded-finetune-bn22", "results": []}]}
peft safetensors llama generated_from_trainer base_model:filipealmeida/Mistral-7B-Instruct-v0.1-sharded license:apache-2.0 region:us