adriansanz commited on
Commit
14ab93d
·
verified ·
1 Parent(s): 912cd1f

adriansanz/LLM2

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: test_trainer
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
+ # test_trainer
15
+
16
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
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: 5e-05
36
+ - train_batch_size: 1
37
+ - eval_batch_size: 1
38
+ - seed: 42
39
+ - gradient_accumulation_steps: 4
40
+ - total_train_batch_size: 4
41
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
42
+ - lr_scheduler_type: linear
43
+ - num_epochs: 3.0
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.40.2
52
+ - Pytorch 2.2.1+cu121
53
+ - Datasets 2.19.1
54
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2ForSequenceClassification"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 50256,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 50256,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8",
21
+ "9": "LABEL_9",
22
+ "10": "LABEL_10",
23
+ "11": "LABEL_11",
24
+ "12": "LABEL_12",
25
+ "13": "LABEL_13",
26
+ "14": "LABEL_14",
27
+ "15": "LABEL_15",
28
+ "16": "LABEL_16"
29
+ },
30
+ "initializer_range": 0.02,
31
+ "label2id": {
32
+ "LABEL_0": 0,
33
+ "LABEL_1": 1,
34
+ "LABEL_10": 10,
35
+ "LABEL_11": 11,
36
+ "LABEL_12": 12,
37
+ "LABEL_13": 13,
38
+ "LABEL_14": 14,
39
+ "LABEL_15": 15,
40
+ "LABEL_16": 16,
41
+ "LABEL_2": 2,
42
+ "LABEL_3": 3,
43
+ "LABEL_4": 4,
44
+ "LABEL_5": 5,
45
+ "LABEL_6": 6,
46
+ "LABEL_7": 7,
47
+ "LABEL_8": 8,
48
+ "LABEL_9": 9
49
+ },
50
+ "layer_norm_epsilon": 1e-05,
51
+ "model_type": "gpt2",
52
+ "n_ctx": 1024,
53
+ "n_embd": 768,
54
+ "n_head": 12,
55
+ "n_inner": null,
56
+ "n_layer": 12,
57
+ "n_positions": 1024,
58
+ "problem_type": "single_label_classification",
59
+ "reorder_and_upcast_attn": false,
60
+ "resid_pdrop": 0.1,
61
+ "scale_attn_by_inverse_layer_idx": false,
62
+ "scale_attn_weights": true,
63
+ "summary_activation": null,
64
+ "summary_first_dropout": 0.1,
65
+ "summary_proj_to_labels": true,
66
+ "summary_type": "cls_index",
67
+ "summary_use_proj": true,
68
+ "task_specific_params": {
69
+ "text-generation": {
70
+ "do_sample": true,
71
+ "max_length": 50
72
+ }
73
+ },
74
+ "torch_dtype": "float32",
75
+ "transformers_version": "4.40.2",
76
+ "use_cache": true,
77
+ "vocab_size": 50257
78
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e949c70b0dd0a96d856faf8aef6488504344613fec113bc3054b089566a33e4d
3
+ size 497826512
runs/May16_07-40-00_3aae5b75e84f/events.out.tfevents.1715845204.3aae5b75e84f.307.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc5d2a8a74e3637f1eaa57c857dce9f63b370395b00dc4c8bc3df583a34deba8
3
+ size 5960
runs/May16_07-50-46_3aae5b75e84f/events.out.tfevents.1715845848.3aae5b75e84f.307.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d4a50675caf7b19dddb74db861ebf8c9ffc3121d85b5f2b753464621d1706f4
3
+ size 5960
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:946e9aaa74e3088242d21c8200de31bf3b50f63b0100a244fa404f410c5a781c
3
+ size 4984