peft tensorboard safetensors trl sft generated_from_trainer base_model:ybelkada/falcon-7b-sharded-bf16 region:us
---
library_name: peft
tags:
- trl
- sft
- generated_from_trainer
base_model: ybelkada/falcon-7b-sharded-bf16
model-index:
- name: falcon-7b-sharded-bf16-finetuned-html-code-generation
  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. -->

# falcon-7b-sharded-bf16-finetuned-html-code-generation

This model is a fine-tuned version of [ybelkada/falcon-7b-sharded-bf16](https://huggingface.co/ybelkada/falcon-7b-sharded-bf16) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 1.2953

## 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: 2
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 4
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.03
- training_steps: 320

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 2.0686        | 0.18  | 20   | 1.7169          |
| 1.7547        | 0.36  | 40   | 1.3877          |
| 1.6152        | 0.54  | 60   | 1.3192          |
| 1.7433        | 0.72  | 80   | 1.2951          |
| 1.3587        | 0.9   | 100  | 1.2543          |
| 1.3846        | 1.08  | 120  | 1.2234          |
| 1.3242        | 1.26  | 140  | 1.3724          |
| 1.2023        | 1.43  | 160  | 1.2041          |
| 1.118         | 1.61  | 180  | 1.2393          |
| 1.1737        | 1.79  | 200  | 1.1972          |
| 1.3113        | 1.97  | 220  | 1.2141          |
| 0.9142        | 2.15  | 240  | 1.2419          |
| 0.7853        | 2.33  | 260  | 1.2953          |


### Framework versions

- PEFT 0.8.2
- Transformers 4.38.1
- Pytorch 2.1.0+cu121
- Datasets 2.17.1
- Tokenizers 0.15.2