hack90/virus_pythia_small
Browse files- README.md +47 -0
- config.json +28 -0
- generation_config.json +6 -0
- model.safetensors +3 -0
- special_tokens_map.json +24 -0
- tokenizer.json +79 -0
- tokenizer_config.json +36 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
model-index:
|
5 |
+
- name: results
|
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 |
+
# results
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
15 |
+
|
16 |
+
## Model description
|
17 |
+
|
18 |
+
More information needed
|
19 |
+
|
20 |
+
## Intended uses & limitations
|
21 |
+
|
22 |
+
More information needed
|
23 |
+
|
24 |
+
## Training and evaluation data
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Training procedure
|
29 |
+
|
30 |
+
### Training hyperparameters
|
31 |
+
|
32 |
+
The following hyperparameters were used during training:
|
33 |
+
- learning_rate: 5e-05
|
34 |
+
- train_batch_size: 2
|
35 |
+
- eval_batch_size: 2
|
36 |
+
- seed: 42
|
37 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
38 |
+
- lr_scheduler_type: linear
|
39 |
+
- lr_scheduler_warmup_steps: 500
|
40 |
+
- num_epochs: 3
|
41 |
+
|
42 |
+
### Framework versions
|
43 |
+
|
44 |
+
- Transformers 4.35.2
|
45 |
+
- Pytorch 2.1.0+cu121
|
46 |
+
- Datasets 2.16.1
|
47 |
+
- Tokenizers 0.15.1
|
config.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"GPTNeoXForCausalLM"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.0,
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"classifier_dropout": 0.1,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout": 0.0,
|
11 |
+
"hidden_size": 512,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 2048,
|
14 |
+
"layer_norm_eps": 1e-05,
|
15 |
+
"max_position_embeddings": 2048,
|
16 |
+
"model_type": "gpt_neox",
|
17 |
+
"num_attention_heads": 8,
|
18 |
+
"num_hidden_layers": 6,
|
19 |
+
"rope_scaling": null,
|
20 |
+
"rotary_emb_base": 10000,
|
21 |
+
"rotary_pct": 0.25,
|
22 |
+
"tie_word_embeddings": false,
|
23 |
+
"torch_dtype": "float32",
|
24 |
+
"transformers_version": "4.35.2",
|
25 |
+
"use_cache": true,
|
26 |
+
"use_parallel_residual": true,
|
27 |
+
"vocab_size": 8
|
28 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 0,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.35.2"
|
6 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:728974e274a51ad6692a5544cdd76422d6c608a1d15314a4e005c4c9e6d1bcc3
|
3 |
+
size 75702552
|
special_tokens_map.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
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": "<|endoftext|>",
|
19 |
+
"lstrip": false,
|
20 |
+
"normalized": false,
|
21 |
+
"rstrip": false,
|
22 |
+
"single_word": false
|
23 |
+
}
|
24 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.0",
|
3 |
+
"truncation": {
|
4 |
+
"direction": "Right",
|
5 |
+
"max_length": 2048,
|
6 |
+
"strategy": "LongestFirst",
|
7 |
+
"stride": 0
|
8 |
+
},
|
9 |
+
"padding": null,
|
10 |
+
"added_tokens": [
|
11 |
+
{
|
12 |
+
"id": 0,
|
13 |
+
"content": "<|endoftext|>",
|
14 |
+
"single_word": false,
|
15 |
+
"lstrip": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"id": 1,
|
22 |
+
"content": "<|padding|>",
|
23 |
+
"single_word": false,
|
24 |
+
"lstrip": false,
|
25 |
+
"rstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"special": true
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"id": 7,
|
31 |
+
"content": " ",
|
32 |
+
"single_word": false,
|
33 |
+
"lstrip": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"normalized": true,
|
36 |
+
"special": false
|
37 |
+
}
|
38 |
+
],
|
39 |
+
"normalizer": {
|
40 |
+
"type": "NFC"
|
41 |
+
},
|
42 |
+
"pre_tokenizer": {
|
43 |
+
"type": "ByteLevel",
|
44 |
+
"add_prefix_space": false,
|
45 |
+
"trim_offsets": true,
|
46 |
+
"use_regex": true
|
47 |
+
},
|
48 |
+
"post_processor": {
|
49 |
+
"type": "ByteLevel",
|
50 |
+
"add_prefix_space": false,
|
51 |
+
"trim_offsets": true,
|
52 |
+
"use_regex": true
|
53 |
+
},
|
54 |
+
"decoder": {
|
55 |
+
"type": "ByteLevel",
|
56 |
+
"add_prefix_space": false,
|
57 |
+
"trim_offsets": true,
|
58 |
+
"use_regex": true
|
59 |
+
},
|
60 |
+
"model": {
|
61 |
+
"type": "BPE",
|
62 |
+
"dropout": null,
|
63 |
+
"unk_token": null,
|
64 |
+
"continuing_subword_prefix": null,
|
65 |
+
"end_of_word_suffix": null,
|
66 |
+
"fuse_unk": false,
|
67 |
+
"byte_fallback": false,
|
68 |
+
"vocab": {
|
69 |
+
"<|endoftext|>": 0,
|
70 |
+
"<|padding|>": 1,
|
71 |
+
"a": 2,
|
72 |
+
"c": 3,
|
73 |
+
"g": 4,
|
74 |
+
"t": 5,
|
75 |
+
"n": 6
|
76 |
+
},
|
77 |
+
"merges": []
|
78 |
+
}
|
79 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"1": {
|
13 |
+
"content": "<|padding|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"7": {
|
21 |
+
"content": " ",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": true,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": false
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"bos_token": "<|endoftext|>",
|
30 |
+
"clean_up_tokenization_spaces": true,
|
31 |
+
"eos_token": "<|endoftext|>",
|
32 |
+
"model_max_length": 1000000000000000019884624838656,
|
33 |
+
"pad_token": "<|endoftext|>",
|
34 |
+
"tokenizer_class": "GPTNeoXTokenizer",
|
35 |
+
"unk_token": "<|endoftext|>"
|
36 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6824d216b4fd034c17e8d27e9fd4e0b026585796ffe0d12bd037e652a1268e77
|
3 |
+
size 4536
|