peft tensorboard safetensors trl sft generated_from_trainer base_model:NousResearch/Llama-2-7b-hf region:us
---
library_name: peft
tags:
- trl
- sft
- generated_from_trainer
base_model: NousResearch/Llama-2-7b-hf
model-index:
- name: llama2-7b-dolly-15k-english-brainstorming
  results: []
---

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

# llama2-7b-dolly-15k-english-brainstorming

This model is a fine-tuned version of [NousResearch/Llama-2-7b-hf](https://huggingface.co/NousResearch/Llama-2-7b-hf) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 1.4495
- Rouge Scores: {'rouge1': 0.909928741133593, 'rouge2': 0.7574610486627078, 'rougeL': 0.7496177557224393, 'rougeLsum': 0.9101177977425297}
- Bleu Scores: [0.9328251519842002, 0.9162382956266107, 0.8899824380838529, 0.8608522609093684]
- Gen Len: 281.4011

## 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: 0.0002
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- num_epochs: 3

### Training results

| Training Loss | Epoch | Step | Validation Loss | Rouge Scores                                                                                                                | Bleu Scores                                                                      | Gen Len  |
|:-------------:|:-----:|:----:|:---------------:|:---------------------------------------------------------------------------------------------------------------------------:|:--------------------------------------------------------------------------------:|:--------:|
| 1.27          | 1.0   | 398  | 1.2374          | {'rouge1': 0.9113183860184271, 'rouge2': 0.7652862425743366, 'rougeL': 0.7602856954249027, 'rougeLsum': 0.9113774574131643} | [0.9271866971964826, 0.91150490516762, 0.8866857089044207, 0.8591757741475906]   | 281.4011 |
| 0.9162        | 2.0   | 796  | 1.2975          | {'rouge1': 0.9106300346974161, 'rouge2': 0.7616564526176227, 'rougeL': 0.756016788228141, 'rougeLsum': 0.9107552164918193}  | [0.9320014559180246, 0.9157774445648816, 0.8902212624183459, 0.861917002429179]  | 281.4011 |
| 0.5391        | 3.0   | 1194 | 1.4495          | {'rouge1': 0.909928741133593, 'rouge2': 0.7574610486627078, 'rougeL': 0.7496177557224393, 'rougeLsum': 0.9101177977425297}  | [0.9328251519842002, 0.9162382956266107, 0.8899824380838529, 0.8608522609093684] | 281.4011 |


### Framework versions

- PEFT 0.9.1.dev0
- Transformers 4.39.0.dev0
- Pytorch 2.1.0+cu121
- Datasets 2.18.1.dev0
- Tokenizers 0.15.2