
<!-- 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. -->

# Llama-2-7b-hf_3e-5_lora

This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the tyzhu/ds1_names_10_lora_merge dataset.
It achieves the following results on the evaluation set:
- Loss: 1.2144
- Accuracy: 0.6831

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 3e-05
- 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: linear
- lr_scheduler_warmup_ratio: 0.05
- num_epochs: 10.0

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 3.1941        | 1.0   | 38   | 3.3917          | 0.3808   |
| 1.815         | 2.0   | 76   | 1.9424          | 0.5733   |
| 0.8179        | 3.0   | 114  | 1.0731          | 0.6721   |
| 0.4464        | 4.0   | 152  | 0.9588          | 0.6821   |
| 0.2558        | 5.0   | 190  | 1.0138          | 0.6823   |
| 0.2753        | 6.0   | 228  | 1.0878          | 0.6879   |
| 0.2069        | 7.0   | 266  | 1.1632          | 0.6831   |
| 0.1816        | 8.0   | 304  | 1.1907          | 0.6805   |
| 0.1705        | 9.0   | 342  | 1.2039          | 0.6836   |
| 0.162         | 10.0  | 380  | 1.2144          | 0.6831   |


### Framework versions

- Transformers 4.34.0
- Pytorch 2.1.0+cu121
- Datasets 2.14.5
- Tokenizers 0.14.1

{"tags": ["generated_from_trainer"], "datasets": ["tyzhu/ds1_names_10_lora_merge"], "metrics": ["accuracy"], "base_model": "meta-llama/Llama-2-7b-hf", "model-index": [{"name": "Llama-2-7b-hf_3e-5_lora", "results": [{"task": {"type": "text-generation", "name": "Causal Language Modeling"}, "dataset": {"name": "tyzhu/ds1_names_10_lora_merge", "type": "tyzhu/ds1_names_10_lora_merge"}, "metrics": [{"type": "accuracy", "value": 0.683076923076923, "name": "Accuracy"}]}]}]}
generated_from_trainer dataset:tyzhu/ds1_names_10_lora_merge base_model:meta-llama/Llama-2-7b-hf model-index region:us