cassanof commited on
Commit
e50ca08
·
1 Parent(s): 82808fb

model (needs special tokens)

Browse files
added_tokens.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "<fim-middle>": 49154,
3
+ "<fim-pad>": 49156,
4
+ "<fim-prefix>": 49153,
5
+ "<fim-suffix>": 49155,
6
+ "<|endoftext|>": 49152
7
+ }
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bigcode/gpt_bigcode-santacoder",
3
+ "activation_function": "gelu_pytorch_tanh",
4
+ "architectures": [
5
+ "GPTBigCodeForCausalLM"
6
+ ],
7
+ "attention_softmax_in_fp32": true,
8
+ "attn_pdrop": 0.1,
9
+ "bos_token_id": 49152,
10
+ "embd_pdrop": 0.1,
11
+ "eos_token_id": 49152,
12
+ "initializer_range": 0.02,
13
+ "layer_norm_epsilon": 1e-05,
14
+ "model_type": "gpt_bigcode",
15
+ "multi_query": true,
16
+ "n_embd": 2048,
17
+ "n_head": 16,
18
+ "n_inner": 8192,
19
+ "n_layer": 24,
20
+ "n_positions": 2048,
21
+ "resid_pdrop": 0.1,
22
+ "runner_max_sequence_length": null,
23
+ "scale_attention_softmax_in_fp32": true,
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
+ "torch_dtype": "float16",
31
+ "transformers_version": "4.29.2",
32
+ "use_cache": true,
33
+ "vocab_size": 49280
34
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 49152,
4
+ "eos_token_id": 49152,
5
+ "transformers_version": "4.29.2"
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:04fb018b6e56783f1bec4b380c0fc75926ec1313d229a5ecc1541ed959b8a03d
3
+ size 2249864157
special_tokens_map.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|endoftext|>",
4
+ "<fim-prefix>",
5
+ "<fim-middle>",
6
+ "<fim-suffix>",
7
+ "<fim-pad>"
8
+ ],
9
+ "bos_token": "<|endoftext|>",
10
+ "eos_token": "<|endoftext|>",
11
+ "unk_token": "<|endoftext|>"
12
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": "<|endoftext|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "eos_token": "<|endoftext|>",
6
+ "errors": "replace",
7
+ "model_max_length": 2048,
8
+ "tokenizer_class": "GPT2Tokenizer",
9
+ "unk_token": "<|endoftext|>"
10
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff