Model save
Browse files- .gitignore +1 -0
- config.json +52 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- training_args.bin +3 -0
- vocab.json +0 -0
.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
checkpoint-*/
|
config.json
ADDED
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gpt2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2ForNonlinearSequenceClassification"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"finetuning_task": "opentable-absa",
|
12 |
+
"id2label": {
|
13 |
+
"0": 0,
|
14 |
+
"1": 1,
|
15 |
+
"2": 2
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"label2id": {
|
19 |
+
"0": 0,
|
20 |
+
"1": 1,
|
21 |
+
"2": 2
|
22 |
+
},
|
23 |
+
"layer_norm_epsilon": 1e-05,
|
24 |
+
"model_type": "gpt2",
|
25 |
+
"n_ctx": 1024,
|
26 |
+
"n_embd": 768,
|
27 |
+
"n_head": 12,
|
28 |
+
"n_inner": null,
|
29 |
+
"n_layer": 12,
|
30 |
+
"n_positions": 1024,
|
31 |
+
"pad_token_id": 50256,
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"reorder_and_upcast_attn": false,
|
34 |
+
"resid_pdrop": 0.1,
|
35 |
+
"scale_attn_by_inverse_layer_idx": false,
|
36 |
+
"scale_attn_weights": true,
|
37 |
+
"summary_activation": null,
|
38 |
+
"summary_first_dropout": 0.1,
|
39 |
+
"summary_proj_to_labels": true,
|
40 |
+
"summary_type": "cls_index",
|
41 |
+
"summary_use_proj": true,
|
42 |
+
"task_specific_params": {
|
43 |
+
"text-generation": {
|
44 |
+
"do_sample": true,
|
45 |
+
"max_length": 50
|
46 |
+
}
|
47 |
+
},
|
48 |
+
"torch_dtype": "float32",
|
49 |
+
"transformers_version": "4.18.0",
|
50 |
+
"use_cache": true,
|
51 |
+
"vocab_size": 50257
|
52 |
+
}
|
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:4864215b720209bfcb84ec0413a1dd3eff63f1a4ecf48926b90e6d04697da4ae
|
3 |
+
size 512769185
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>", "pad_token": "<|endoftext|>"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "gpt2", "tokenizer_class": "GPT2Tokenizer"}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e2653dcf90ca461ddf862be9174ab0b4fde64651ee799133b7510718f78b35d
|
3 |
+
size 3183
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|