AliSaadatV
commited on
Commit
•
7c068f9
1
Parent(s):
47a5d92
End of training
Browse files- README.md +52 -0
- config.json +30 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +96 -0
- tokenizer_config.json +38 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: EleutherAI/pythia-31m
|
3 |
+
tags:
|
4 |
+
- generated_from_trainer
|
5 |
+
model-index:
|
6 |
+
- name: virus_pythia_31_1024_2d_representation_GaussianPlusCE
|
7 |
+
results: []
|
8 |
+
---
|
9 |
+
|
10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
11 |
+
should probably proofread and complete it, then remove this comment. -->
|
12 |
+
|
13 |
+
# virus_pythia_31_1024_2d_representation_GaussianPlusCE
|
14 |
+
|
15 |
+
This model is a fine-tuned version of [EleutherAI/pythia-31m](https://huggingface.co/EleutherAI/pythia-31m) on an unknown dataset.
|
16 |
+
|
17 |
+
## Model description
|
18 |
+
|
19 |
+
More information needed
|
20 |
+
|
21 |
+
## Intended uses & limitations
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Training and evaluation data
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training procedure
|
30 |
+
|
31 |
+
### Training hyperparameters
|
32 |
+
|
33 |
+
The following hyperparameters were used during training:
|
34 |
+
- learning_rate: 5e-05
|
35 |
+
- train_batch_size: 8
|
36 |
+
- eval_batch_size: 8
|
37 |
+
- seed: 42
|
38 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
39 |
+
- lr_scheduler_type: linear
|
40 |
+
- lr_scheduler_warmup_steps: 10
|
41 |
+
- num_epochs: 1
|
42 |
+
|
43 |
+
### Training results
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
### Framework versions
|
48 |
+
|
49 |
+
- Transformers 4.40.2
|
50 |
+
- Pytorch 2.2.1+cu121
|
51 |
+
- Datasets 2.19.1
|
52 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "EleutherAI/pythia-31m",
|
3 |
+
"architectures": [
|
4 |
+
"GPTNeoXForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_bias": true,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"classifier_dropout": 0.1,
|
10 |
+
"eos_token_id": 0,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout": 0.0,
|
13 |
+
"hidden_size": 256,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 1024,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 2048,
|
18 |
+
"model_type": "gpt_neox",
|
19 |
+
"num_attention_heads": 8,
|
20 |
+
"num_hidden_layers": 6,
|
21 |
+
"rope_scaling": null,
|
22 |
+
"rotary_emb_base": 10000,
|
23 |
+
"rotary_pct": 0.25,
|
24 |
+
"tie_word_embeddings": false,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"transformers_version": "4.40.2",
|
27 |
+
"use_cache": true,
|
28 |
+
"use_parallel_residual": true,
|
29 |
+
"vocab_size": 8
|
30 |
+
}
|
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.40.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:81f1e44714bca0d26b1c147f45a77ca9ce35afb42a36b14c8e9ad432ff2ac80c
|
3 |
+
size 18981072
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|beginoftext|>",
|
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": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<|endoftext|>",
|
17 |
+
"unk_token": {
|
18 |
+
"content": "<|unknown|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.0",
|
3 |
+
"truncation": null,
|
4 |
+
"padding": null,
|
5 |
+
"added_tokens": [
|
6 |
+
{
|
7 |
+
"id": 0,
|
8 |
+
"content": "<|beginoftext|>",
|
9 |
+
"single_word": false,
|
10 |
+
"lstrip": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"special": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"id": 1,
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"single_word": false,
|
19 |
+
"lstrip": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"special": true
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"id": 2,
|
26 |
+
"content": "<|unknown|>",
|
27 |
+
"single_word": false,
|
28 |
+
"lstrip": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"special": true
|
32 |
+
}
|
33 |
+
],
|
34 |
+
"normalizer": {
|
35 |
+
"type": "NFC"
|
36 |
+
},
|
37 |
+
"pre_tokenizer": {
|
38 |
+
"type": "ByteLevel",
|
39 |
+
"add_prefix_space": false,
|
40 |
+
"trim_offsets": true,
|
41 |
+
"use_regex": true
|
42 |
+
},
|
43 |
+
"post_processor": {
|
44 |
+
"type": "TemplateProcessing",
|
45 |
+
"single": [
|
46 |
+
{
|
47 |
+
"Sequence": {
|
48 |
+
"id": "A",
|
49 |
+
"type_id": 0
|
50 |
+
}
|
51 |
+
}
|
52 |
+
],
|
53 |
+
"pair": [
|
54 |
+
{
|
55 |
+
"Sequence": {
|
56 |
+
"id": "A",
|
57 |
+
"type_id": 0
|
58 |
+
}
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"Sequence": {
|
62 |
+
"id": "B",
|
63 |
+
"type_id": 1
|
64 |
+
}
|
65 |
+
}
|
66 |
+
],
|
67 |
+
"special_tokens": {}
|
68 |
+
},
|
69 |
+
"decoder": {
|
70 |
+
"type": "ByteLevel",
|
71 |
+
"add_prefix_space": false,
|
72 |
+
"trim_offsets": true,
|
73 |
+
"use_regex": true
|
74 |
+
},
|
75 |
+
"model": {
|
76 |
+
"type": "BPE",
|
77 |
+
"dropout": null,
|
78 |
+
"unk_token": "<|unknown|>",
|
79 |
+
"continuing_subword_prefix": null,
|
80 |
+
"end_of_word_suffix": null,
|
81 |
+
"fuse_unk": false,
|
82 |
+
"byte_fallback": false,
|
83 |
+
"ignore_merges": false,
|
84 |
+
"vocab": {
|
85 |
+
"<|beginoftext|>": 0,
|
86 |
+
"<|endoftext|>": 1,
|
87 |
+
"<|unknown|>": 2,
|
88 |
+
"a": 3,
|
89 |
+
"c": 4,
|
90 |
+
"g": 5,
|
91 |
+
"t": 6,
|
92 |
+
"n": 7
|
93 |
+
},
|
94 |
+
"merges": []
|
95 |
+
}
|
96 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": false,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"0": {
|
7 |
+
"content": "<|beginoftext|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": true,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"1": {
|
15 |
+
"content": "<|endoftext|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": true
|
21 |
+
},
|
22 |
+
"2": {
|
23 |
+
"content": "<|unknown|>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": true
|
29 |
+
}
|
30 |
+
},
|
31 |
+
"bos_token": "<|beginoftext|>",
|
32 |
+
"clean_up_tokenization_spaces": true,
|
33 |
+
"eos_token": "<|endoftext|>",
|
34 |
+
"model_max_length": 1000000000000000019884624838656,
|
35 |
+
"pad_token": "<|endoftext|>",
|
36 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
37 |
+
"unk_token": "<|unknown|>"
|
38 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bfd1b63a5136f1235cd80ee514dbef9c72ebb65ce350b263e97444e6ca5e2b46
|
3 |
+
size 4984
|