Upload folder using huggingface_hub
Browse files- config.json +98 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +26 -0
- tokenizer.json +0 -0
- tokenizer_config.json +31 -0
- vocab.json +0 -0
config.json
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"vocab_size": 49152,
|
3 |
+
"n_positions": 8192,
|
4 |
+
"n_embd": 6144,
|
5 |
+
"n_layer": 40,
|
6 |
+
"n_head": 48,
|
7 |
+
"n_inner": 24576,
|
8 |
+
"activation_function": "gelu",
|
9 |
+
"resid_pdrop": 0.1,
|
10 |
+
"embd_pdrop": 0.1,
|
11 |
+
"attn_pdrop": 0.1,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"scale_attn_weights": true,
|
15 |
+
"use_cache": true,
|
16 |
+
"attention_softmax_in_fp32": true,
|
17 |
+
"scale_attention_softmax_in_fp32": true,
|
18 |
+
"multi_query": true,
|
19 |
+
"bos_token_id": 0,
|
20 |
+
"eos_token_id": 0,
|
21 |
+
"return_dict": true,
|
22 |
+
"output_hidden_states": false,
|
23 |
+
"output_attentions": false,
|
24 |
+
"torchscript": false,
|
25 |
+
"torch_dtype": "float32",
|
26 |
+
"use_bfloat16": false,
|
27 |
+
"tf_legacy_loss": false,
|
28 |
+
"pruned_heads": {},
|
29 |
+
"tie_word_embeddings": true,
|
30 |
+
"is_encoder_decoder": false,
|
31 |
+
"is_decoder": false,
|
32 |
+
"cross_attention_hidden_size": null,
|
33 |
+
"add_cross_attention": false,
|
34 |
+
"tie_encoder_decoder": false,
|
35 |
+
"max_length": 20,
|
36 |
+
"min_length": 0,
|
37 |
+
"do_sample": false,
|
38 |
+
"early_stopping": false,
|
39 |
+
"num_beams": 1,
|
40 |
+
"num_beam_groups": 1,
|
41 |
+
"diversity_penalty": 0.0,
|
42 |
+
"temperature": 1.0,
|
43 |
+
"top_k": 50,
|
44 |
+
"top_p": 1.0,
|
45 |
+
"typical_p": 1.0,
|
46 |
+
"repetition_penalty": 1.0,
|
47 |
+
"length_penalty": 1.0,
|
48 |
+
"no_repeat_ngram_size": 0,
|
49 |
+
"encoder_no_repeat_ngram_size": 0,
|
50 |
+
"bad_words_ids": null,
|
51 |
+
"num_return_sequences": 1,
|
52 |
+
"chunk_size_feed_forward": 0,
|
53 |
+
"output_scores": false,
|
54 |
+
"return_dict_in_generate": false,
|
55 |
+
"forced_bos_token_id": null,
|
56 |
+
"forced_eos_token_id": null,
|
57 |
+
"remove_invalid_values": false,
|
58 |
+
"exponential_decay_length_penalty": null,
|
59 |
+
"suppress_tokens": null,
|
60 |
+
"begin_suppress_tokens": null,
|
61 |
+
"architectures": [
|
62 |
+
"LoRDCoderForCausalLM"
|
63 |
+
],
|
64 |
+
"finetuning_task": null,
|
65 |
+
"id2label": {
|
66 |
+
"0": "LABEL_0",
|
67 |
+
"1": "LABEL_1"
|
68 |
+
},
|
69 |
+
"label2id": {
|
70 |
+
"LABEL_0": 0,
|
71 |
+
"LABEL_1": 1
|
72 |
+
},
|
73 |
+
"gate_dim": 4096,
|
74 |
+
"auto_map": {
|
75 |
+
"AutoConfig": "configuration_lordcoder_v0.LoRDCoderConfig",
|
76 |
+
"AutoModelForCausalLM": "modeling_lordcoder_v0.LoRDCoderForCausalLM"
|
77 |
+
},
|
78 |
+
"tokenizer_class": null,
|
79 |
+
"prefix": null,
|
80 |
+
"pad_token_id": null,
|
81 |
+
"sep_token_id": null,
|
82 |
+
"decoder_start_token_id": null,
|
83 |
+
"task_specific_params": null,
|
84 |
+
"problem_type": null,
|
85 |
+
"transformers_version": "4.32.0.dev0",
|
86 |
+
"inference_runner": 0,
|
87 |
+
"max_batch_size": null,
|
88 |
+
"max_sequence_length": null,
|
89 |
+
"model_type": "lordcoder",
|
90 |
+
"pad_key_length": true,
|
91 |
+
"pre_allocate_kv_cache": false,
|
92 |
+
"summary_activation": null,
|
93 |
+
"summary_first_dropout": 0.1,
|
94 |
+
"summary_proj_to_labels": true,
|
95 |
+
"summary_type": "cls_index",
|
96 |
+
"summary_use_proj": true,
|
97 |
+
"validate_runner_input": true
|
98 |
+
}
|
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.32.0.dev0"
|
6 |
+
}
|
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:e0e636013db44e15bea20d177bf5481439ef3eccd1695d4bf97164ddc6fcbadf
|
3 |
+
size 29022157009
|
special_tokens_map.json
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|endoftext|>",
|
4 |
+
"<fim_prefix>",
|
5 |
+
"<fim_middle>",
|
6 |
+
"<fim_suffix>",
|
7 |
+
"<fim_pad>",
|
8 |
+
"<filename>",
|
9 |
+
"<gh_stars>",
|
10 |
+
"<issue_start>",
|
11 |
+
"<issue_comment>",
|
12 |
+
"<issue_closed>",
|
13 |
+
"<jupyter_start>",
|
14 |
+
"<jupyter_text>",
|
15 |
+
"<jupyter_code>",
|
16 |
+
"<jupyter_output>",
|
17 |
+
"<empty_output>",
|
18 |
+
"<commit_before>",
|
19 |
+
"<commit_msg>",
|
20 |
+
"<commit_after>",
|
21 |
+
"<reponame>"
|
22 |
+
],
|
23 |
+
"bos_token": "<|endoftext|>",
|
24 |
+
"eos_token": "<|endoftext|>",
|
25 |
+
"unk_token": "<|endoftext|>"
|
26 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"additional_special_tokens": [
|
4 |
+
"<|endoftext|>",
|
5 |
+
"<fim_prefix>",
|
6 |
+
"<fim_middle>",
|
7 |
+
"<fim_suffix>",
|
8 |
+
"<fim_pad>",
|
9 |
+
"<filename>",
|
10 |
+
"<gh_stars>",
|
11 |
+
"<issue_start>",
|
12 |
+
"<issue_comment>",
|
13 |
+
"<issue_closed>",
|
14 |
+
"<jupyter_start>",
|
15 |
+
"<jupyter_text>",
|
16 |
+
"<jupyter_code>",
|
17 |
+
"<jupyter_output>",
|
18 |
+
"<empty_output>",
|
19 |
+
"<commit_before>",
|
20 |
+
"<commit_msg>",
|
21 |
+
"<commit_after>",
|
22 |
+
"<reponame>"
|
23 |
+
],
|
24 |
+
"bos_token": "<|endoftext|>",
|
25 |
+
"clean_up_tokenization_spaces": true,
|
26 |
+
"eos_token": "<|endoftext|>",
|
27 |
+
"model_max_length": 1000000000000000019884624838656,
|
28 |
+
"tokenizer_class": "GPT2Tokenizer",
|
29 |
+
"unk_token": "<|endoftext|>",
|
30 |
+
"vocab_size": 49152
|
31 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|