adriansanz commited on
Commit
7568e61
1 Parent(s): 87937bc

LLM4_mix_spain_cat

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_trainer4
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_trainer4
15
+
16
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None 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: 4
44
+
45
+ ### Training results
46
+
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.41.2
52
+ - Pytorch 2.3.0+cu121
53
+ - Datasets 2.19.2
54
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "17": "LABEL_17",
30
+ "18": "LABEL_18",
31
+ "19": "LABEL_19"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "label2id": {
35
+ "LABEL_0": 0,
36
+ "LABEL_1": 1,
37
+ "LABEL_10": 10,
38
+ "LABEL_11": 11,
39
+ "LABEL_12": 12,
40
+ "LABEL_13": 13,
41
+ "LABEL_14": 14,
42
+ "LABEL_15": 15,
43
+ "LABEL_16": 16,
44
+ "LABEL_17": 17,
45
+ "LABEL_18": 18,
46
+ "LABEL_19": 19,
47
+ "LABEL_2": 2,
48
+ "LABEL_3": 3,
49
+ "LABEL_4": 4,
50
+ "LABEL_5": 5,
51
+ "LABEL_6": 6,
52
+ "LABEL_7": 7,
53
+ "LABEL_8": 8,
54
+ "LABEL_9": 9
55
+ },
56
+ "layer_norm_epsilon": 1e-05,
57
+ "model_type": "gpt2",
58
+ "n_ctx": 1024,
59
+ "n_embd": 768,
60
+ "n_head": 12,
61
+ "n_inner": null,
62
+ "n_layer": 12,
63
+ "n_positions": 1024,
64
+ "problem_type": "single_label_classification",
65
+ "reorder_and_upcast_attn": false,
66
+ "resid_pdrop": 0.1,
67
+ "scale_attn_by_inverse_layer_idx": false,
68
+ "scale_attn_weights": true,
69
+ "summary_activation": null,
70
+ "summary_first_dropout": 0.1,
71
+ "summary_proj_to_labels": true,
72
+ "summary_type": "cls_index",
73
+ "summary_use_proj": true,
74
+ "task_specific_params": {
75
+ "text-generation": {
76
+ "do_sample": true,
77
+ "max_length": 50
78
+ }
79
+ },
80
+ "torch_dtype": "float32",
81
+ "transformers_version": "4.41.2",
82
+ "use_cache": true,
83
+ "vocab_size": 50257
84
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8c7a97e9fdbc818cfe2bf4012bae6f15fea784cf23cdd93f681a4598bf78daf
3
+ size 497835728
runs/Jun09_10-13-11_69cfb5615cf2/events.out.tfevents.1717927992.69cfb5615cf2.4496.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d62052f85e345db3c2822105a40b3d98b716376173eb360dd644b9c6c491089f
3
+ size 7488
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "50256": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ }
13
+ },
14
+ "bos_token": "<|endoftext|>",
15
+ "clean_up_tokenization_spaces": true,
16
+ "eos_token": "<|endoftext|>",
17
+ "errors": "replace",
18
+ "model_max_length": 1024,
19
+ "pad_token": "<|endoftext|>",
20
+ "tokenizer_class": "GPT2Tokenizer",
21
+ "unk_token": "<|endoftext|>"
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66bc03fc83f166182ef2e1a82b70f924056392792863273ed7733c0d9a652a08
3
+ size 5112
vocab.json ADDED
The diff for this file is too large to render. See raw diff