Mete Ismayil
commited on
Commit
•
9881c18
1
Parent(s):
3f17a4b
add model files
Browse files- added_tokens.json +1 -0
- config.json +40 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
added_tokens.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"[EOS]": 50257, "[PAD]": 50258, "AtLocation": 50259, "CapableOf": 50260, "Causes": 50261, "CausesDesire": 50262, "CreatedBy": 50263, "DefinedAs": 50264, "DesireOf": 50265, "Desires": 50266, "HasA": 50267, "HasFirstSubevent": 50268, "HasLastSubevent": 50269, "HasPainCharacter": 50270, "HasPainIntensity": 50271, "HasPrerequisite": 50272, "HasProperty": 50273, "HasSubEvent": 50274, "HasSubevent": 50275, "HinderedBy": 50276, "InheritsFrom": 50277, "InstanceOf": 50278, "IsA": 50279, "LocatedNear": 50280, "LocationOfAction": 50281, "MadeOf": 50282, "MadeUpOf": 50283, "MotivatedByGoal": 50284, "NotCapableOf": 50285, "NotDesires": 50286, "NotHasA": 50287, "NotHasProperty": 50288, "NotIsA": 50289, "NotMadeOf": 50290, "ObjectUse": 50291, "PartOf": 50292, "ReceivesAction": 50293, "RelatedTo": 50294, "SymbolOf": 50295, "UsedFor": 50296, "isAfter": 50297, "isBefore": 50298, "isFilledBy": 50299, "oEffect": 50300, "oReact": 50301, "oWant": 50302, "xAttr": 50303, "xEffect": 50304, "xIntent": 50305, "xNeed": 50306, "xReact": 50307, "xReason": 50308, "xWant": 50309, "[GEN]": 50310}
|
config.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gpt2-xl",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 1600,
|
16 |
+
"n_head": 25,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 48,
|
19 |
+
"n_positions": 1024,
|
20 |
+
"output_past": true,
|
21 |
+
"reorder_and_upcast_attn": false,
|
22 |
+
"resid_pdrop": 0.1,
|
23 |
+
"scale_attn_by_inverse_layer_idx": false,
|
24 |
+
"scale_attn_weights": true,
|
25 |
+
"summary_activation": null,
|
26 |
+
"summary_first_dropout": 0.1,
|
27 |
+
"summary_proj_to_labels": true,
|
28 |
+
"summary_type": "cls_index",
|
29 |
+
"summary_use_proj": true,
|
30 |
+
"task_specific_params": {
|
31 |
+
"text-generation": {
|
32 |
+
"do_sample": true,
|
33 |
+
"max_length": 50
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.18.0",
|
38 |
+
"use_cache": true,
|
39 |
+
"vocab_size": 50311
|
40 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6cce0f36a07c3fa15dfb0c2da9bc11a7f719b660c784e17067180d99c46647d7
|
3 |
+
size 6281331917
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "eos_token": "[EOS]", "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true}, "pad_token": "[PAD]", "additional_special_tokens": ["AtLocation", "CapableOf", "Causes", "CausesDesire", "CreatedBy", "DefinedAs", "DesireOf", "Desires", "HasA", "HasFirstSubevent", "HasLastSubevent", "HasPainCharacter", "HasPainIntensity", "HasPrerequisite", "HasProperty", "HasSubEvent", "HasSubevent", "HinderedBy", "InheritsFrom", "InstanceOf", "IsA", "LocatedNear", "LocationOfAction", "MadeOf", "MadeUpOf", "MotivatedByGoal", "NotCapableOf", "NotDesires", "NotHasA", "NotHasProperty", "NotIsA", "NotMadeOf", "ObjectUse", "PartOf", "ReceivesAction", "RelatedTo", "SymbolOf", "UsedFor", "isAfter", "isBefore", "isFilledBy", "oEffect", "oReact", "oWant", "xAttr", "xEffect", "xIntent", "xNeed", "xReact", "xReason", "xWant", "[GEN]"]}
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"errors": "replace", "unk_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "bos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "eos_token": {"content": "<|endoftext|>", "single_word": false, "lstrip": false, "rstrip": false, "normalized": true, "__type": "AddedToken"}, "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "gpt2-xl", "tokenizer_class": "GPT2Tokenizer"}
|