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

# both_raw_meta-llama_Llama-2-7b-hf_2e-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/both_raw dataset.
It achieves the following results on the evaluation set:
- Loss: 1.6842
- Accuracy: 0.7282

## 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: 2e-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 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 1.6187        | 1.0   | 225  | 1.3056          | 0.6895   |
| 0.2998        | 2.0   | 450  | 1.3936          | 0.7205   |
| 0.2414        | 3.0   | 675  | 1.3751          | 0.7258   |
| 0.2284        | 4.0   | 900  | 1.4471          | 0.7263   |
| 0.2214        | 5.0   | 1125 | 1.5218          | 0.7252   |
| 0.2173        | 6.0   | 1350 | 1.5708          | 0.7276   |
| 0.2121        | 7.0   | 1575 | 1.5729          | 0.7297   |
| 0.2179        | 8.0   | 1800 | 1.6349          | 0.7268   |
| 0.2091        | 9.0   | 2025 | 1.6507          | 0.7295   |
| 0.2066        | 10.0  | 2250 | 1.6842          | 0.7282   |


### 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/both_raw"], "metrics": ["accuracy"], "base_model": "meta-llama/Llama-2-7b-hf", "model-index": [{"name": "both_raw_meta-llama_Llama-2-7b-hf_2e-5_lora", "results": [{"task": {"type": "text-generation", "name": "Causal Language Modeling"}, "dataset": {"name": "tyzhu/both_raw", "type": "tyzhu/both_raw"}, "metrics": [{"type": "accuracy", "value": 0.7281818181818182, "name": "Accuracy"}]}]}]}
generated_from_trainer dataset:tyzhu/both_raw base_model:meta-llama/Llama-2-7b-hf model-index region:us