ninagroot/Llama-450Mtest
Browse files
README.md
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- generated_from_trainer
|
| 4 |
+
model-index:
|
| 5 |
+
- name: Llama-450M
|
| 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-450M
|
| 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: 5.3443
|
| 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: 15
|
| 45 |
+
- mixed_precision_training: Native AMP
|
| 46 |
+
|
| 47 |
+
### Training results
|
| 48 |
+
|
| 49 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 50 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 51 |
+
| 8.6203 | 0.89 | 2 | 8.5191 |
|
| 52 |
+
| 8.0999 | 1.78 | 4 | 8.1511 |
|
| 53 |
+
| 7.3266 | 2.67 | 6 | 7.6165 |
|
| 54 |
+
| 6.4407 | 4.0 | 9 | 6.9793 |
|
| 55 |
+
| 5.9683 | 4.89 | 11 | 6.7137 |
|
| 56 |
+
| 5.5381 | 5.78 | 13 | 6.4971 |
|
| 57 |
+
| 5.1411 | 6.67 | 15 | 6.2243 |
|
| 58 |
+
| 4.6555 | 8.0 | 18 | 6.0123 |
|
| 59 |
+
| 4.1495 | 8.89 | 20 | 5.7939 |
|
| 60 |
+
| 3.7822 | 9.78 | 22 | 5.6854 |
|
| 61 |
+
| 3.2967 | 10.67 | 24 | 5.6039 |
|
| 62 |
+
| 2.733 | 12.0 | 27 | 5.4239 |
|
| 63 |
+
| 2.2935 | 12.89 | 29 | 5.3576 |
|
| 64 |
+
| 2.0496 | 13.33 | 30 | 5.3443 |
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
### Framework versions
|
| 68 |
+
|
| 69 |
+
- Transformers 4.39.1
|
| 70 |
+
- Pytorch 2.1.2+cu121
|
| 71 |
+
- Datasets 2.16.1
|
| 72 |
+
- 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": 1280,
|
| 11 |
+
"initializer_range": 0.02,
|
| 12 |
+
"intermediate_size": 5120,
|
| 13 |
+
"max_position_embeddings": 256,
|
| 14 |
+
"model_type": "llama",
|
| 15 |
+
"num_attention_heads": 10,
|
| 16 |
+
"num_hidden_layers": 27,
|
| 17 |
+
"num_key_value_heads": 10,
|
| 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": 4312
|
| 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:cdb1cc402213adaa1dc4942691fe6aa4fe65a8752d8e0d915cd4f6a446178640
|
| 3 |
+
size 2875619784
|
runs/Apr22_10-59-08_gcn52.local.snellius.surf.nl/events.out.tfevents.1713776358.gcn52.local.snellius.surf.nl.2827063.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:95cdf1526470758094fa43232ddafb957b48c5bac23e1d31c9e9ffaf448ea3ec
|
| 3 |
+
size 14845
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70c11001d733bbb619359b62337e11ec9cd3afd24dbb623c8a89682cdc9a309e
|
| 3 |
+
size 4984
|