add files
Browse files- config.json +53 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- vocab.json +0 -0
config.json
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "codeparrot/codeparrot-small-multi",
|
| 3 |
+
"activation_function": "gelu_fast",
|
| 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 |
+
},
|
| 20 |
+
"initializer_range": 0.02,
|
| 21 |
+
"label2id": {
|
| 22 |
+
"LABEL_0": 0,
|
| 23 |
+
"LABEL_1": 1,
|
| 24 |
+
"LABEL_2": 2,
|
| 25 |
+
"LABEL_3": 3,
|
| 26 |
+
"LABEL_4": 4,
|
| 27 |
+
"LABEL_5": 5,
|
| 28 |
+
"LABEL_6": 6
|
| 29 |
+
},
|
| 30 |
+
"layer_norm_epsilon": 1e-05,
|
| 31 |
+
"model_type": "gpt2",
|
| 32 |
+
"n_embd": 768,
|
| 33 |
+
"n_head": 12,
|
| 34 |
+
"n_inner": 3072,
|
| 35 |
+
"n_layer": 12,
|
| 36 |
+
"n_positions": 1024,
|
| 37 |
+
"pad_token_id": 50256,
|
| 38 |
+
"problem_type": "single_label_classification",
|
| 39 |
+
"reorder_and_upcast_attn": false,
|
| 40 |
+
"resid_pdrop": 0.1,
|
| 41 |
+
"scale_attn_by_inverse_layer_idx": false,
|
| 42 |
+
"scale_attn_weights": true,
|
| 43 |
+
"summary_activation": null,
|
| 44 |
+
"summary_first_dropout": 0.1,
|
| 45 |
+
"summary_proj_to_labels": true,
|
| 46 |
+
"summary_type": "cls_index",
|
| 47 |
+
"summary_use_proj": true,
|
| 48 |
+
"tokenizer_class": "GPT2TokenizerFast",
|
| 49 |
+
"torch_dtype": "float32",
|
| 50 |
+
"transformers_version": "4.21.0.dev0",
|
| 51 |
+
"use_cache": true,
|
| 52 |
+
"vocab_size": 32768
|
| 53 |
+
}
|
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:3aa223f991aa512f042629e32db9416e22ed8e16d1e82219ce56a63cc5c49fcd
|
| 3 |
+
size 456692007
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|