End of training
Browse files- README.md +77 -0
- config.json +29 -0
- generation_config.json +6 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: EleutherAI/pythia-70m
|
| 4 |
+
tags:
|
| 5 |
+
- generated_from_trainer
|
| 6 |
+
model-index:
|
| 7 |
+
- name: pythia70M-finetuned-on-lamini-docs
|
| 8 |
+
results: []
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 12 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 13 |
+
|
| 14 |
+
# pythia70M-finetuned-on-lamini-docs
|
| 15 |
+
|
| 16 |
+
This model is a fine-tuned version of [EleutherAI/pythia-70m](https://huggingface.co/EleutherAI/pythia-70m) on an unknown dataset.
|
| 17 |
+
It achieves the following results on the evaluation set:
|
| 18 |
+
- Loss: 2.0582
|
| 19 |
+
|
| 20 |
+
## Model description
|
| 21 |
+
|
| 22 |
+
More information needed
|
| 23 |
+
|
| 24 |
+
## Intended uses & limitations
|
| 25 |
+
|
| 26 |
+
More information needed
|
| 27 |
+
|
| 28 |
+
## Training and evaluation data
|
| 29 |
+
|
| 30 |
+
More information needed
|
| 31 |
+
|
| 32 |
+
## Training procedure
|
| 33 |
+
|
| 34 |
+
### Training hyperparameters
|
| 35 |
+
|
| 36 |
+
The following hyperparameters were used during training:
|
| 37 |
+
- learning_rate: 1e-05
|
| 38 |
+
- train_batch_size: 1
|
| 39 |
+
- eval_batch_size: 1
|
| 40 |
+
- seed: 42
|
| 41 |
+
- gradient_accumulation_steps: 4
|
| 42 |
+
- total_train_batch_size: 4
|
| 43 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
+
- lr_scheduler_type: linear
|
| 45 |
+
- lr_scheduler_warmup_steps: 1
|
| 46 |
+
- num_epochs: 3
|
| 47 |
+
|
| 48 |
+
### Training results
|
| 49 |
+
|
| 50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 51 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
| 52 |
+
| 3.3194 | 0.16 | 50 | 2.4776 |
|
| 53 |
+
| 2.3198 | 0.32 | 100 | 2.3780 |
|
| 54 |
+
| 2.16 | 0.48 | 150 | 2.2905 |
|
| 55 |
+
| 2.2156 | 0.63 | 200 | 2.2450 |
|
| 56 |
+
| 2.3342 | 0.79 | 250 | 2.1934 |
|
| 57 |
+
| 2.7634 | 0.95 | 300 | 2.1748 |
|
| 58 |
+
| 2.4963 | 1.11 | 350 | 2.1500 |
|
| 59 |
+
| 2.1493 | 1.27 | 400 | 2.1413 |
|
| 60 |
+
| 1.8731 | 1.43 | 450 | 2.1200 |
|
| 61 |
+
| 2.0132 | 1.59 | 500 | 2.1030 |
|
| 62 |
+
| 1.9606 | 1.75 | 550 | 2.0848 |
|
| 63 |
+
| 1.37 | 1.9 | 600 | 2.0659 |
|
| 64 |
+
| 1.7681 | 2.06 | 650 | 2.0744 |
|
| 65 |
+
| 1.8926 | 2.22 | 700 | 2.0779 |
|
| 66 |
+
| 1.2409 | 2.38 | 750 | 2.0683 |
|
| 67 |
+
| 1.489 | 2.54 | 800 | 2.0616 |
|
| 68 |
+
| 1.5143 | 2.7 | 850 | 2.0604 |
|
| 69 |
+
| 1.3736 | 2.86 | 900 | 2.0582 |
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
### Framework versions
|
| 73 |
+
|
| 74 |
+
- Transformers 4.34.1
|
| 75 |
+
- Pytorch 2.0.1+cu118
|
| 76 |
+
- Datasets 2.14.5
|
| 77 |
+
- Tokenizers 0.14.1
|
config.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "EleutherAI/pythia-70m",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"GPTNeoXForCausalLM"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"classifier_dropout": 0.1,
|
| 9 |
+
"eos_token_id": 0,
|
| 10 |
+
"hidden_act": "gelu",
|
| 11 |
+
"hidden_dropout": 0.0,
|
| 12 |
+
"hidden_size": 512,
|
| 13 |
+
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 2048,
|
| 15 |
+
"layer_norm_eps": 1e-05,
|
| 16 |
+
"max_position_embeddings": 2048,
|
| 17 |
+
"model_type": "gpt_neox",
|
| 18 |
+
"num_attention_heads": 8,
|
| 19 |
+
"num_hidden_layers": 6,
|
| 20 |
+
"rope_scaling": null,
|
| 21 |
+
"rotary_emb_base": 10000,
|
| 22 |
+
"rotary_pct": 0.25,
|
| 23 |
+
"tie_word_embeddings": false,
|
| 24 |
+
"torch_dtype": "float32",
|
| 25 |
+
"transformers_version": "4.34.1",
|
| 26 |
+
"use_cache": true,
|
| 27 |
+
"use_parallel_residual": true,
|
| 28 |
+
"vocab_size": 50304
|
| 29 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 0,
|
| 4 |
+
"eos_token_id": 0,
|
| 5 |
+
"transformers_version": "4.34.1"
|
| 6 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:93d774a01184c67f64405314d34d4b11b7444074c80230c84dcc397e52a888f4
|
| 3 |
+
size 281733863
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4f24676dcb5c555f8707b69aecc549e0dcc88b5ee2a3f0d50b6cb6daf5fcdcd2
|
| 3 |
+
size 4091
|