ninagroot/Llama-360Mtest
Browse files
README.md
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
model-index:
|
| 5 |
+
- name: Llama-360M
|
| 6 |
+
results: []
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 10 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 11 |
+
|
| 12 |
+
# Llama-360M
|
| 13 |
+
|
| 14 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
| 15 |
+
It achieves the following results on the evaluation set:
|
| 16 |
+
- Loss: 3.7456
|
| 17 |
+
|
| 18 |
+
## Model description
|
| 19 |
+
|
| 20 |
+
More information needed
|
| 21 |
+
|
| 22 |
+
## Intended uses & limitations
|
| 23 |
+
|
| 24 |
+
More information needed
|
| 25 |
+
|
| 26 |
+
## Training and evaluation data
|
| 27 |
+
|
| 28 |
+
More information needed
|
| 29 |
+
|
| 30 |
+
## Training procedure
|
| 31 |
+
|
| 32 |
+
### Training hyperparameters
|
| 33 |
+
|
| 34 |
+
The following hyperparameters were used during training:
|
| 35 |
+
- learning_rate: 0.0003
|
| 36 |
+
- train_batch_size: 16
|
| 37 |
+
- eval_batch_size: 8
|
| 38 |
+
- seed: 42
|
| 39 |
+
- gradient_accumulation_steps: 8
|
| 40 |
+
- total_train_batch_size: 128
|
| 41 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 42 |
+
- lr_scheduler_type: cosine
|
| 43 |
+
- lr_scheduler_warmup_steps: 50
|
| 44 |
+
- num_epochs: 40
|
| 45 |
+
- mixed_precision_training: Native AMP
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 51 |
+
| 8.4691 | 1.0 | 3 | 8.2938 |
|
| 52 |
+
| 7.3138 | 2.0 | 6 | 7.2507 |
|
| 53 |
+
| 6.3593 | 3.0 | 9 | 6.5011 |
|
| 54 |
+
| 5.9241 | 4.0 | 12 | 6.1371 |
|
| 55 |
+
| 5.3868 | 5.0 | 15 | 5.4600 |
|
| 56 |
+
| 4.5288 | 6.0 | 18 | 4.9927 |
|
| 57 |
+
| 4.1209 | 7.0 | 21 | 4.6527 |
|
| 58 |
+
| 3.9354 | 8.0 | 24 | 4.3246 |
|
| 59 |
+
| 3.6035 | 9.0 | 27 | 4.0905 |
|
| 60 |
+
| 3.1919 | 10.0 | 30 | 3.8428 |
|
| 61 |
+
| 2.9556 | 11.0 | 33 | 3.6960 |
|
| 62 |
+
| 2.8387 | 12.0 | 36 | 3.6594 |
|
| 63 |
+
| 2.4002 | 13.0 | 39 | 3.5849 |
|
| 64 |
+
| 2.3326 | 14.0 | 42 | 3.5220 |
|
| 65 |
+
| 1.8688 | 15.0 | 45 | 3.5476 |
|
| 66 |
+
| 1.5608 | 16.0 | 48 | 3.5408 |
|
| 67 |
+
| 1.2246 | 17.0 | 51 | 3.5744 |
|
| 68 |
+
| 0.8367 | 18.0 | 54 | 3.5714 |
|
| 69 |
+
| 0.5211 | 19.0 | 57 | 3.5859 |
|
| 70 |
+
| 0.4086 | 20.0 | 60 | 3.6011 |
|
| 71 |
+
| 0.2747 | 21.0 | 63 | 3.6640 |
|
| 72 |
+
| 0.1623 | 22.0 | 66 | 3.6834 |
|
| 73 |
+
| 0.1227 | 23.0 | 69 | 3.6675 |
|
| 74 |
+
| 0.0901 | 24.0 | 72 | 3.7159 |
|
| 75 |
+
| 0.0632 | 25.0 | 75 | 3.7165 |
|
| 76 |
+
| 0.0448 | 26.0 | 78 | 3.7104 |
|
| 77 |
+
| 0.039 | 27.0 | 81 | 3.7026 |
|
| 78 |
+
| 0.0296 | 28.0 | 84 | 3.6959 |
|
| 79 |
+
| 0.0269 | 29.0 | 87 | 3.7012 |
|
| 80 |
+
| 0.0232 | 30.0 | 90 | 3.7212 |
|
| 81 |
+
| 0.0225 | 31.0 | 93 | 3.7328 |
|
| 82 |
+
| 0.0214 | 32.0 | 96 | 3.7393 |
|
| 83 |
+
| 0.0182 | 33.0 | 99 | 3.7409 |
|
| 84 |
+
| 0.0176 | 34.0 | 102 | 3.7432 |
|
| 85 |
+
| 0.0175 | 35.0 | 105 | 3.7441 |
|
| 86 |
+
| 0.0147 | 36.0 | 108 | 3.7449 |
|
| 87 |
+
| 0.0146 | 37.0 | 111 | 3.7453 |
|
| 88 |
+
| 0.0172 | 38.0 | 114 | 3.7455 |
|
| 89 |
+
| 0.0147 | 39.0 | 117 | 3.7455 |
|
| 90 |
+
| 0.0153 | 40.0 | 120 | 3.7456 |
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
### Framework versions
|
| 94 |
+
|
| 95 |
+
- Transformers 4.39.1
|
| 96 |
+
- Pytorch 2.1.2+cu121
|
| 97 |
+
- Datasets 2.16.1
|
| 98 |
+
- Tokenizers 0.15.0
|
config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"LlamaForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 1,
|
| 8 |
+
"eos_token_id": 2,
|
| 9 |
+
"hidden_act": "silu",
|
| 10 |
+
"hidden_size": 1024,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 3072,
|
| 13 |
+
"max_position_embeddings": 256,
|
| 14 |
+
"model_type": "llama",
|
| 15 |
+
"num_attention_heads": 8,
|
| 16 |
+
"num_hidden_layers": 24,
|
| 17 |
+
"num_key_value_heads": 8,
|
| 18 |
+
"pad_token_id": 0,
|
| 19 |
+
"pretraining_tp": 1,
|
| 20 |
+
"rms_norm_eps": 1e-06,
|
| 21 |
+
"rope_scaling": null,
|
| 22 |
+
"rope_theta": 10000.0,
|
| 23 |
+
"tie_word_embeddings": false,
|
| 24 |
+
"torch_dtype": "float32",
|
| 25 |
+
"transformers_version": "4.39.1",
|
| 26 |
+
"use_cache": true,
|
| 27 |
+
"vocab_size": 4388
|
| 28 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 1,
|
| 4 |
+
"eos_token_id": 2,
|
| 5 |
+
"pad_token_id": 0,
|
| 6 |
+
"transformers_version": "4.39.1"
|
| 7 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8d6898084bf4dd8ed9e38a3269585f477ff45f9470ec274ad65412fe09ac1fca
|
| 3 |
+
size 1344794872
|
runs/Apr18_20-18-36_gcn61.local.snellius.surf.nl/events.out.tfevents.1713464325.gcn61.local.snellius.surf.nl.805247.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8a5064c1d187b002c972c22bc22593634631cd3ba51a5c45326205867e1fa0c1
|
| 3 |
+
size 40389
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e9bf01aff77e13acb628c85624bdd07a4c9cac3bd252c0d64b8b238e20bb199
|
| 3 |
+
size 4984
|