sixfingerdev commited on
Commit
0a25951
·
verified ·
1 Parent(s): 7dba788

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - tr
4
+ - en
5
+ license: mit
6
+ tags:
7
+ - phi-2
8
+ - microsoft
9
+ - text-generation
10
+ - tr
11
+ - turkish
12
+ - qlora
13
+ inference: false
14
+ pipeline_tag: text-generation
15
+ ---
16
+
17
+ # sixfinger-phi2-merged
18
+
19
+ This model is a fine-tuned and merged version of [Microsoft Phi-2](https://huggingface.co/microsoft/phi-2) created by **Six Finger Dev** (Enes Altıparmak). It is a 2.7 billion parameter causal language model tailored to perform well on Turkish Question-Answering (QA), reasoning, and basic coding tasks.
20
+
21
+ ## Model Details
22
+
23
+ - **Developer:** Six Finger Dev (Enes Altıparmak - Kayseri Science High School)
24
+ - **Architecture:** Phi-2 Causal LM
25
+ - **Parameters:** ~2.7B
26
+ - **Languages:** Turkish (TR), English (EN)
27
+ - **License:** MIT
28
+
29
+ ## Training & Optimization
30
+ This model was likely fine-tuned using QLoRA against a custom Turkish instruction and multi-turn QA dataset (e.g., [sixfingerdev/turkish-qa-multi-dialog-dataset](https://huggingface.co/datasets/sixfingerdev/turkish-qa-multi-dialog-dataset)). After fine-tuning, the PEFT adapters were fully merged back into the base model weights, meaning it can be loaded directly as a standalone checkpoint without needing the base model or adapter configuration.
31
+
32
+ ## Usage
33
+
34
+ You can load and generate text with this model directly using the `transformers` library:
35
+
36
+ ```python
37
+ import torch
38
+ from transformers import AutoModelForCausalLM, AutoTokenizer
39
+
40
+ model_id = "sixfingerdev/sixfinger-phi2-merged"
41
+
42
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
43
+ model = AutoModelForCausalLM.from_pretrained(
44
+ model_id,
45
+ device_map="auto",
46
+ torch_dtype=torch.float16,
47
+ low_cpu_mem_usage=True
48
+ )
49
+
50
+ prompt = "Soru: Türkiyenin başkenti neresidir? Cevap:"
51
+ inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
52
+
53
+ with torch.no_grad():
54
+ outputs = model.generate(**inputs, max_new_tokens=40)
55
+
56
+ print(tokenizer.decode(outputs[0], skip_special_tokens=True))
57
+ ```
58
+
59
+ ## Limitations & Biases
60
+ While fine-tuned with instruction data, its behavior still heavily relies on prompt-completion formatting. Direct cues like `Answer:` or `Cevap:` yield the best deterministic outputs. In unstructured or lengthy multi-turn chat loops, the model may suffer from repetition or formatting drift compared to purely conversational templates.
added_tokens.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "\t\t": 50294,
3
+ "\t\t\t": 50293,
4
+ "\t\t\t\t": 50292,
5
+ "\t\t\t\t\t": 50291,
6
+ "\t\t\t\t\t\t": 50290,
7
+ "\t\t\t\t\t\t\t": 50289,
8
+ "\t\t\t\t\t\t\t\t": 50288,
9
+ "\t\t\t\t\t\t\t\t\t": 50287,
10
+ " ": 50286,
11
+ " ": 50285,
12
+ " ": 50284,
13
+ " ": 50283,
14
+ " ": 50282,
15
+ " ": 50281,
16
+ " ": 50280,
17
+ " ": 50279,
18
+ " ": 50278,
19
+ " ": 50277,
20
+ " ": 50276,
21
+ " ": 50275,
22
+ " ": 50274,
23
+ " ": 50273,
24
+ " ": 50272,
25
+ " ": 50271,
26
+ " ": 50270,
27
+ " ": 50269,
28
+ " ": 50268,
29
+ " ": 50267,
30
+ " ": 50266,
31
+ " ": 50265,
32
+ " ": 50264,
33
+ " ": 50263,
34
+ " ": 50262,
35
+ " ": 50261,
36
+ " ": 50260,
37
+ " ": 50259,
38
+ " ": 50258,
39
+ " ": 50257
40
+ }
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "PhiForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 50256,
7
+ "dtype": "float16",
8
+ "embd_pdrop": 0.0,
9
+ "eos_token_id": 50256,
10
+ "hidden_act": "gelu_new",
11
+ "hidden_size": 2560,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 10240,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 2048,
16
+ "model_type": "phi",
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 32,
20
+ "partial_rotary_factor": 0.4,
21
+ "qk_layernorm": false,
22
+ "resid_pdrop": 0.1,
23
+ "rope_scaling": null,
24
+ "rope_theta": 10000.0,
25
+ "tie_word_embeddings": false,
26
+ "transformers_version": "4.57.1",
27
+ "use_cache": true,
28
+ "vocab_size": 51200
29
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 50256,
4
+ "eos_token_id": 50256,
5
+ "transformers_version": "4.57.1"
6
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9bf11f8a66f74b423602c3259ea7c2c6e9f9a6378b27adf738533d4f2361db99
3
+ size 5559417456
model_report.md ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # phi2-merged Model Report
2
+
3
+ ## Summary
4
+
5
+ This folder contains a standalone causal language model with a Phi family architecture:
6
+
7
+ - `architectures`: `PhiForCausalLM`
8
+ - `model_type`: `phi`
9
+ - `hidden_size`: `2560`
10
+ - `num_hidden_layers`: `32`
11
+ - `num_attention_heads`: `32`
12
+ - `vocab_size`: `51200`
13
+
14
+ The weight file is a full model checkpoint, not a lightweight adapter. The safetensors keys are all standard backbone parameters such as `model.layers.*`, `model.embed_tokens.weight`, and `lm_head.*`. There are no LoRA, adapter, prefix-tuning, or chat-template artifacts in the checkpoint layout.
15
+
16
+ ## Base Model or Instruct Model
17
+
18
+ Best classification from the local evidence: this is a base causal LM, not a clearly packaged instruct/chat model.
19
+
20
+ Why:
21
+
22
+ - The config does not declare an instruct or chat variant.
23
+ - The tokenizer files do not define a special instruction/chat template.
24
+ - The checkpoint layout is a plain full model checkpoint.
25
+ - Behavior is mixed: it answers simple prompts and code requests well, but it also repeats or drifts on some Turkish chat-style prompts instead of consistently following a conversational instruction format.
26
+
27
+ ## What It Looks Fine-Tuned For
28
+
29
+ The model appears strongest in the following areas:
30
+
31
+ - short factual completions and prompt continuation
32
+ - simple arithmetic and reasoning-style prompts
33
+ - code generation, especially small Python snippets
34
+ - English-language instructions better than Turkish chat formatting
35
+
36
+ The generated outputs suggest some instruction-following ability, but not the stronger, more stable behavior typical of a dedicated chat-tuned model.
37
+
38
+ ## What It Is Better At
39
+
40
+ Based on the local probes run in the terminal, the model seems better at:
41
+
42
+ - direct, narrowly scoped tasks
43
+ - code answers with obvious structure
44
+ - math-style completions
45
+ - continuation after explicit answer cues such as `Answer:` or `Cevap:`
46
+
47
+ It seems weaker at:
48
+
49
+ - multi-turn conversational flow
50
+ - Turkish dialogue formatting
51
+ - avoiding repetition when the prompt is loosely structured
52
+
53
+ ## Evidence From Local Probes
54
+
55
+ Observed behavior:
56
+
57
+ - For a Turkish math prompt, it produced a correct `2 + 2 = 4` style answer, but then kept extending into repetitive or mixed reasoning.
58
+ - For a Turkish chat prompt, it echoed the prompt content instead of cleanly producing a single assistant reply.
59
+ - For an English coding prompt, it produced a clean Python function to reverse a string.
60
+
61
+ ## Recommended Usage
62
+
63
+ - Use it as a general causal LM or a prompt-completion model.
64
+ - Prefer explicit answer cues like `Answer:` or `Cevap:`.
65
+ - For chat usage, wrap it with a custom prompt format if you want more stable assistant-style responses.
66
+
67
+ ## Run Command
68
+
69
+ After activating the upper-level virtual environment, run:
70
+
71
+ ```powershell
72
+ & "c:\ai_project\ai_env\Scripts\python.exe" "c:\ai_project\phi2-merged\run_phi2.py" "Kısa bir selam ver:"
73
+ ```
74
+
75
+ You can also pass a custom prompt:
76
+
77
+ ```powershell
78
+ & "c:\ai_project\ai_env\Scripts\python.exe" "c:\ai_project\phi2-merged\run_phi2.py" "Write a Python function that reverses a string."
79
+ ```
run_phi2.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ from pathlib import Path
3
+
4
+ import torch
5
+ from transformers import AutoModelForCausalLM, AutoTokenizer
6
+
7
+
8
+ def build_parser() -> argparse.ArgumentParser:
9
+ parser = argparse.ArgumentParser(description="Run the local phi2-merged model.")
10
+ parser.add_argument(
11
+ "prompt",
12
+ nargs="?",
13
+ default="Kısa bir selam ver:",
14
+ help="Prompt to send to the model.",
15
+ )
16
+ parser.add_argument(
17
+ "--max-new-tokens",
18
+ type=int,
19
+ default=120,
20
+ help="Maximum number of new tokens to generate.",
21
+ )
22
+ parser.add_argument(
23
+ "--temperature",
24
+ type=float,
25
+ default=0.0,
26
+ help="Sampling temperature. Default 0 uses deterministic greedy decoding.",
27
+ )
28
+ parser.add_argument(
29
+ "--top-p",
30
+ type=float,
31
+ default=0.9,
32
+ help="Nucleus sampling threshold.",
33
+ )
34
+ return parser
35
+
36
+
37
+ def main() -> None:
38
+ args = build_parser().parse_args()
39
+ model_path = Path(__file__).resolve().parent
40
+
41
+ tokenizer = AutoTokenizer.from_pretrained(model_path)
42
+ dtype = torch.float16 if torch.cuda.is_available() else torch.float32
43
+ model = AutoModelForCausalLM.from_pretrained(
44
+ model_path,
45
+ dtype=dtype,
46
+ device_map="auto" if torch.cuda.is_available() else None,
47
+ low_cpu_mem_usage=True,
48
+ )
49
+
50
+ inputs = tokenizer(args.prompt, return_tensors="pt")
51
+ inputs = {name: tensor.to(model.device) for name, tensor in inputs.items()}
52
+
53
+ generate_kwargs = {
54
+ "max_new_tokens": args.max_new_tokens,
55
+ "pad_token_id": tokenizer.eos_token_id,
56
+ }
57
+ if args.temperature > 0:
58
+ generate_kwargs["do_sample"] = True
59
+ generate_kwargs["temperature"] = args.temperature
60
+ generate_kwargs["top_p"] = args.top_p
61
+ else:
62
+ generate_kwargs["do_sample"] = False
63
+
64
+ with torch.no_grad():
65
+ output = model.generate(**inputs, **generate_kwargs)
66
+
67
+ print(tokenizer.decode(output[0], skip_special_tokens=True))
68
+
69
+
70
+ if __name__ == "__main__":
71
+ main()
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|endoftext|>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,326 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "50256": {
5
+ "content": "<|endoftext|>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "50257": {
13
+ "content": " ",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": false
19
+ },
20
+ "50258": {
21
+ "content": " ",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": false
27
+ },
28
+ "50259": {
29
+ "content": " ",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": false
35
+ },
36
+ "50260": {
37
+ "content": " ",
38
+ "lstrip": false,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": false
43
+ },
44
+ "50261": {
45
+ "content": " ",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": false
51
+ },
52
+ "50262": {
53
+ "content": " ",
54
+ "lstrip": false,
55
+ "normalized": true,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": false
59
+ },
60
+ "50263": {
61
+ "content": " ",
62
+ "lstrip": false,
63
+ "normalized": true,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": false
67
+ },
68
+ "50264": {
69
+ "content": " ",
70
+ "lstrip": false,
71
+ "normalized": true,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": false
75
+ },
76
+ "50265": {
77
+ "content": " ",
78
+ "lstrip": false,
79
+ "normalized": true,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": false
83
+ },
84
+ "50266": {
85
+ "content": " ",
86
+ "lstrip": false,
87
+ "normalized": true,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": false
91
+ },
92
+ "50267": {
93
+ "content": " ",
94
+ "lstrip": false,
95
+ "normalized": true,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": false
99
+ },
100
+ "50268": {
101
+ "content": " ",
102
+ "lstrip": false,
103
+ "normalized": true,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": false
107
+ },
108
+ "50269": {
109
+ "content": " ",
110
+ "lstrip": false,
111
+ "normalized": true,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": false
115
+ },
116
+ "50270": {
117
+ "content": " ",
118
+ "lstrip": false,
119
+ "normalized": true,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": false
123
+ },
124
+ "50271": {
125
+ "content": " ",
126
+ "lstrip": false,
127
+ "normalized": true,
128
+ "rstrip": false,
129
+ "single_word": false,
130
+ "special": false
131
+ },
132
+ "50272": {
133
+ "content": " ",
134
+ "lstrip": false,
135
+ "normalized": true,
136
+ "rstrip": false,
137
+ "single_word": false,
138
+ "special": false
139
+ },
140
+ "50273": {
141
+ "content": " ",
142
+ "lstrip": false,
143
+ "normalized": true,
144
+ "rstrip": false,
145
+ "single_word": false,
146
+ "special": false
147
+ },
148
+ "50274": {
149
+ "content": " ",
150
+ "lstrip": false,
151
+ "normalized": true,
152
+ "rstrip": false,
153
+ "single_word": false,
154
+ "special": false
155
+ },
156
+ "50275": {
157
+ "content": " ",
158
+ "lstrip": false,
159
+ "normalized": true,
160
+ "rstrip": false,
161
+ "single_word": false,
162
+ "special": false
163
+ },
164
+ "50276": {
165
+ "content": " ",
166
+ "lstrip": false,
167
+ "normalized": true,
168
+ "rstrip": false,
169
+ "single_word": false,
170
+ "special": false
171
+ },
172
+ "50277": {
173
+ "content": " ",
174
+ "lstrip": false,
175
+ "normalized": true,
176
+ "rstrip": false,
177
+ "single_word": false,
178
+ "special": false
179
+ },
180
+ "50278": {
181
+ "content": " ",
182
+ "lstrip": false,
183
+ "normalized": true,
184
+ "rstrip": false,
185
+ "single_word": false,
186
+ "special": false
187
+ },
188
+ "50279": {
189
+ "content": " ",
190
+ "lstrip": false,
191
+ "normalized": true,
192
+ "rstrip": false,
193
+ "single_word": false,
194
+ "special": false
195
+ },
196
+ "50280": {
197
+ "content": " ",
198
+ "lstrip": false,
199
+ "normalized": true,
200
+ "rstrip": false,
201
+ "single_word": false,
202
+ "special": false
203
+ },
204
+ "50281": {
205
+ "content": " ",
206
+ "lstrip": false,
207
+ "normalized": true,
208
+ "rstrip": false,
209
+ "single_word": false,
210
+ "special": false
211
+ },
212
+ "50282": {
213
+ "content": " ",
214
+ "lstrip": false,
215
+ "normalized": true,
216
+ "rstrip": false,
217
+ "single_word": false,
218
+ "special": false
219
+ },
220
+ "50283": {
221
+ "content": " ",
222
+ "lstrip": false,
223
+ "normalized": true,
224
+ "rstrip": false,
225
+ "single_word": false,
226
+ "special": false
227
+ },
228
+ "50284": {
229
+ "content": " ",
230
+ "lstrip": false,
231
+ "normalized": true,
232
+ "rstrip": false,
233
+ "single_word": false,
234
+ "special": false
235
+ },
236
+ "50285": {
237
+ "content": " ",
238
+ "lstrip": false,
239
+ "normalized": true,
240
+ "rstrip": false,
241
+ "single_word": false,
242
+ "special": false
243
+ },
244
+ "50286": {
245
+ "content": " ",
246
+ "lstrip": false,
247
+ "normalized": true,
248
+ "rstrip": false,
249
+ "single_word": false,
250
+ "special": false
251
+ },
252
+ "50287": {
253
+ "content": "\t\t\t\t\t\t\t\t\t",
254
+ "lstrip": false,
255
+ "normalized": true,
256
+ "rstrip": false,
257
+ "single_word": false,
258
+ "special": false
259
+ },
260
+ "50288": {
261
+ "content": "\t\t\t\t\t\t\t\t",
262
+ "lstrip": false,
263
+ "normalized": true,
264
+ "rstrip": false,
265
+ "single_word": false,
266
+ "special": false
267
+ },
268
+ "50289": {
269
+ "content": "\t\t\t\t\t\t\t",
270
+ "lstrip": false,
271
+ "normalized": true,
272
+ "rstrip": false,
273
+ "single_word": false,
274
+ "special": false
275
+ },
276
+ "50290": {
277
+ "content": "\t\t\t\t\t\t",
278
+ "lstrip": false,
279
+ "normalized": true,
280
+ "rstrip": false,
281
+ "single_word": false,
282
+ "special": false
283
+ },
284
+ "50291": {
285
+ "content": "\t\t\t\t\t",
286
+ "lstrip": false,
287
+ "normalized": true,
288
+ "rstrip": false,
289
+ "single_word": false,
290
+ "special": false
291
+ },
292
+ "50292": {
293
+ "content": "\t\t\t\t",
294
+ "lstrip": false,
295
+ "normalized": true,
296
+ "rstrip": false,
297
+ "single_word": false,
298
+ "special": false
299
+ },
300
+ "50293": {
301
+ "content": "\t\t\t",
302
+ "lstrip": false,
303
+ "normalized": true,
304
+ "rstrip": false,
305
+ "single_word": false,
306
+ "special": false
307
+ },
308
+ "50294": {
309
+ "content": "\t\t",
310
+ "lstrip": false,
311
+ "normalized": true,
312
+ "rstrip": false,
313
+ "single_word": false,
314
+ "special": false
315
+ }
316
+ },
317
+ "bos_token": "<|endoftext|>",
318
+ "clean_up_tokenization_spaces": true,
319
+ "eos_token": "<|endoftext|>",
320
+ "extra_special_tokens": {},
321
+ "model_max_length": 2048,
322
+ "pad_token": "<|endoftext|>",
323
+ "return_token_type_ids": false,
324
+ "tokenizer_class": "CodeGenTokenizer",
325
+ "unk_token": "<|endoftext|>"
326
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff