jmoney54378256438905 commited on
Commit
20f39a6
β€’
1 Parent(s): fffef30

Upload 12 files

Browse files
README.md CHANGED
@@ -1,3 +1,380 @@
1
  ---
2
  license: llama2
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: llama2
3
+ datasets:
4
+ - jondurbin/airoboros-2.2.1
5
  ---
6
+
7
+ ### Overview
8
+
9
+ Another experimental model, using mostly sythetic data generated by [airoboros](https://github.com/jondurbin/airoboros)
10
+
11
+ This is essentially a minor "fix" branch of [airoboros-c34b-2.2](https://hf.co/jondurbin/airoboros-c34b-2.2) with a updates, primarily:
12
+ - [re-generated writing responses](https://huggingface.co/datasets/jondurbin/airoboros-2.2.1#re-generated-writing-responses)
13
+ - [longer contextual blocks](https://huggingface.co/datasets/jondurbin/airoboros-2.2.1#longer-contextual-blocks)
14
+ - [removal of "rp" data](https://huggingface.co/datasets/jondurbin/airoboros-2.2.1#rp-category-removed)
15
+ - [(less aggressive) de-censoring](https://huggingface.co/datasets/jondurbin/airoboros-2.2.1#de-censoring)
16
+ - 5 epochs instead of 3
17
+
18
+ This is a fairly general purpose model, but focuses heavily on instruction following, rather than casual chat/roleplay.
19
+
20
+ Huge thank you to the folks over at [a16z](https://a16z.com/) for sponsoring the costs associated with building models and associated tools!
21
+
22
+ ### Prompt format
23
+
24
+ The prompt format:
25
+
26
+ ```
27
+ A chat.
28
+ USER: {prompt}
29
+ ASSISTANT:
30
+ ```
31
+
32
+ The default system prompt ("A chat.") was used for most of the prompts, however it also included a wide sampling of responses with other prompts, particularly in "stylized\_response", "rp", "gtkm", etc.
33
+
34
+ Here's another example:
35
+ ```
36
+ A chat between Bob (aka USER) and Tom (aka ASSISTANT). Tom is an extremely intelligent 18th century bookkeeper, who speaks loquaciously.
37
+ USER: {prompt}
38
+ ASSISTANT:
39
+ ```
40
+
41
+ And chat scenario that wouldn't require USER/ASSISTANT (but should use stopping criteria to prevent the model from speaking on your behalf).
42
+ ```
43
+ A chat between old friends: Timmy and Tommy.
44
+ {description of characters}
45
+
46
+ {setting for the chat}
47
+ Timmy: *takes a big sip from his coffee* "Ah, sweet, delicious, magical coffee."
48
+ Tommy:
49
+ ```
50
+
51
+ __*I strongly suggest adding stopping criteria/early inference stopping on "USER:", and/or whatever names you specify in the system prompt.*__
52
+
53
+ ### Fine tuning info
54
+
55
+ https://wandb.ai/jondurbin/airoboros-c34b-2.2.1/runs/07b08z7m?workspace=user-jondurbin
56
+
57
+ ### Helpful usage tips
58
+
59
+ *The prompts shown here are are just the text that would be included after USER: and before ASSISTANT: in the full prompt format above, the system prompt and USER:/ASSISTANT: have been omited for readability.*
60
+
61
+ #### Context obedient question answering
62
+
63
+ By obedient, I mean the model was trained to ignore what it thinks it knows, and uses the context to answer the question. The model was also tuned to limit the values to the provided context as much as possible to reduce hallucinations.
64
+
65
+ The format for a closed-context prompt is as follows:
66
+ ```
67
+ BEGININPUT
68
+ BEGINCONTEXT
69
+ [key0: value0]
70
+ [key1: value1]
71
+ ... other metdata ...
72
+ ENDCONTEXT
73
+ [insert your text blocks here]
74
+ ENDINPUT
75
+ [add as many other blocks, in the exact same format]
76
+ BEGININSTRUCTION
77
+ [insert your instruction(s). The model was tuned with single questions, paragraph format, lists, etc.]
78
+ ENDINSTRUCTION
79
+ ```
80
+
81
+ It's also helpful to add "Don't make up answers if you don't know." to your instruction block to make sure if the context is completely unrelated it doesn't make something up.
82
+
83
+ *The __only__ prompts that need this closed context formating are closed-context instructions. Normal questions/instructions do not!*
84
+
85
+ I know it's a bit verbose and annoying, but after much trial and error, using these explicit delimiters helps the model understand where to find the responses and how to associate specific sources with it.
86
+ - `BEGININPUT` - denotes a new input block
87
+ - `BEGINCONTEXT` - denotes the block of context (metadata key/value pairs) to associate with the current input block
88
+ - `ENDCONTEXT` - denotes the end of the metadata block for the current input
89
+ - [text] - Insert whatever text you want for the input block, as many paragraphs as can fit in the context.
90
+ - `ENDINPUT` - denotes the end of the current input block
91
+ - [repeat as many input blocks in this format as you want]
92
+ - `BEGININSTRUCTION` - denotes the start of the list (or one) instruction(s) to respond to for all of the input blocks above.
93
+ - [instruction(s)]
94
+ - `ENDINSTRUCTION` - denotes the end of instruction set
95
+
96
+ It sometimes works without `ENDINSTRUCTION`, but by explicitly including that in the prompt, the model better understands that all of the instructions in the block should be responded to.
97
+
98
+ Here's a trivial, but important example to prove the point:
99
+ ```
100
+ BEGININPUT
101
+ BEGINCONTEXT
102
+ date: 2021-01-01
103
+ url: https://web.site/123
104
+ ENDCONTEXT
105
+ In a shocking turn of events, blueberries are now green, but will be sticking with the same name.
106
+ ENDINPUT
107
+ BEGININSTRUCTION
108
+ What color are bluberries? Source?
109
+ ENDINSTRUCTION
110
+ ```
111
+
112
+ And the response:
113
+ ```
114
+ Blueberries are now green.
115
+ Source:
116
+ date: 2021-01-01
117
+ url: https://web.site/123
118
+ ```
119
+
120
+ #### Summarization
121
+
122
+ 500 samples have been included from [this dataset](https://huggingface.co/datasets/mattpscott/airoboros-summarization), using the same format as contextual question answering, for example:
123
+
124
+ ```
125
+ BEGININPUT
126
+ {text to summarize}
127
+ ENDINPUT
128
+ BEGININSTRUCTION
129
+ Summarize the input in around 130 words.
130
+ ENDINSTRUCTION
131
+ ```
132
+
133
+ #### Getting longer responses
134
+
135
+ You can use a few techniques to get longer responses.
136
+
137
+ Detailed prompts, with explicit instruction for word count:
138
+ ```
139
+ Please compose a narrative set in the heart of an ancient library, steeped in the scent of old parchment and ink. The protagonist should be a young scholar who is dedicated to studying the art of storytelling and its evolution throughout history. In her pursuit of knowledge, she stumbles upon a forgotten tome that seems to possess an unusual aura. This book has the ability to bring stories to life, literally manifesting characters and scenarios from within its pages into reality.
140
+
141
+ The main character must navigate through various epochs of storytelling - from oral traditions of tribal societies, through medieval minstrels' tales, to modern-day digital narratives - as they come alive around her. Each era presents its unique challenges and lessons about the power and impact of stories on human civilization.
142
+
143
+ One such character could be a sentient quill pen, who was once used by renowned authors of yesteryears and now holds their wisdom and experiences. It becomes her mentor, guiding her through this journey with witty remarks and insightful commentary.
144
+
145
+ Ensure that your tale encapsulates the thrill of adventure, the beauty of learning, and the profound connection between humans and their stories. All characters involved should be non-human entities. Feel free to explore creative liberties but maintain the mentioned elements.
146
+
147
+ Your response should be approximately 2300 words.
148
+ ```
149
+
150
+ Or, a simpler example:
151
+ ```
152
+ Please create a long, detailed story about a dragon in an old growth forest who, for some reason, begins speaking the words of the source code of linux.
153
+ ```
154
+
155
+ #### Coding
156
+
157
+ You can ask for fairly complex coding instructions with multiple criteria, e.g.:
158
+
159
+ ```
160
+ Create a python application with the following requirements:
161
+ - Asyncio FastAPI webserver
162
+ - ping endpoint that returns the current date in JSON format
163
+ - file upload endpoint, which calculates the file's sha256 checksum, and checks postgres to deduplicate
164
+ ```
165
+
166
+ Or inline criteria:
167
+
168
+ ```
169
+ Write a multi-threaded TCP server in C that accepts a "GET [key]" input and "SET [key] [value]" input, and uses a binary tree to get and store the input values.
170
+ ```
171
+
172
+ You can also optionally add a single space and "PLAINFORMAT" at the end of your prompt to avoid backticks, explanations, etc. and just print the code, e.g.:
173
+
174
+ ```
175
+ Write a websocket application in node.js. PLAINFORMAT
176
+ ```
177
+
178
+ #### Agent/function calling
179
+
180
+ The dataset includes many examples of function/args generation based on input criteria. This is somewhat similar to the OpenAI function calling, but the output is either JSON or YAML.
181
+
182
+ Example prompt:
183
+ ```
184
+ As an AI assistant, please select the most suitable function and parameters from the list of available functions below, based on the user's input. Provide your response in JSON format.
185
+
186
+ Input: I want to know how many times 'Python' is mentioned in my text file.
187
+
188
+ Available functions:
189
+ file_analytics:
190
+ description: This tool performs various operations on a text file.
191
+ params:
192
+ action: The operation we want to perform on the data, such as "count_occurrences", "find_line", etc.
193
+ filters:
194
+ keyword: The word or phrase we want to search for.
195
+ ```
196
+
197
+ Response:
198
+ ```json
199
+ {
200
+ "function": "file_analytics",
201
+ "params": {
202
+ "action": "count_occurrences",
203
+ "filters": {
204
+ "keyword": "Python"
205
+ }
206
+ }
207
+ }
208
+ ```
209
+
210
+ #### Chain-of-thought
211
+
212
+ You can ask for several possible responses to a given problem, with a ranking and final answer selection.
213
+
214
+ Example prompt:
215
+
216
+ ```
217
+ A group of people decide to play a round-robin tournament where every player plays every other player exactly once. If a total of 45 games were played, how many players participated in the tournament? Offer several potential answers, rank them according to mathematical logic, and pick the most feasible one.
218
+ ```
219
+
220
+ Example response:
221
+ ```
222
+ Solution 1:
223
+ In a round-robin tournament, each player plays every other player exactly once. This means that the total number of games played is equal to the combination of all players taken two at a time (since a game involves two players).
224
+
225
+ The formula for combinations is nC2 = n(n-1)/2, where n is the total number of players. We know that nC2 equals 45 (the total number of games), so we can set up the equation as follows:
226
+
227
+ n(n-1)/2 = 45
228
+
229
+ Solving this equation gives us n=10.
230
+
231
+ Final answer: There were 10 players in the tournament.
232
+
233
+ Solution 2:
234
+ Another way to approach this problem is by using the concept of triangular numbers. Triangular numbers are a sequence of numbers where each number can be represented as a triangle with dots. The nth triangular number is given by the sum of the first n natural numbers.
235
+
236
+ If we consider each game as a dot and each player as a side of the triangle, then the total number of games (45) would correspond to the 9th triangular number because 1+2+3+4+5+6+7+8+9=45. However, since each side of the triangle represents a player, and there's one more player than sides in our model (because the last player has no one left to play against), we need to add one more to get the total number of players.
237
+
238
+ Final answer: There were 10 players in the tournament.
239
+
240
+ Solution 3:
241
+ We could also use trial and error to solve this problem. Starting from a small number of players, we calculate how many games would be played in a round-robin tournament until we reach 45 games. For example, with 2 players, only 1 game is played; with 3 players, 3 games are played; with 4 players, 6 games are played, and so on. Continuing this process, we find that with 10 players, 45 games are played.
242
+
243
+ Final answer: There were 10 players in the tournament.
244
+
245
+ Ranking of solutions from best to worst:
246
+ 1. Solution 1: This solution uses direct mathematical reasoning based on the properties of a round-robin tournament and solves an equation to find the answer.
247
+ 2. Solution 2: This solution uses the concept of triangular numbers which requires additional steps and knowledge beyond the immediate problem context, but still arrives at the correct answer.
248
+ 3. Solution 3: This solution relies on trial and error, which is less efficient and reliable than the other methods, but it eventually gets to the right answer.
249
+
250
+ Best and final answer: There were 10 players in the tournament.
251
+ ```
252
+
253
+ #### reWOO style execution planning
254
+
255
+ The model now supports execution planning for complex instructions that would require making use of several tools. The output is just the plan, you must implement a mechanism to parse the output and actually call the functions!
256
+
257
+ Example prompt:
258
+ ```
259
+ Please construct a systematic plan to generate an optimal response to the user instruction, utilizing a set of provided tools. Each plan will correspond to an evidence value, which will be the output of one of the available functions given an input string
260
+ that could be the user's question, one or more prior evidence values, or a combination of both.
261
+
262
+ Here are the tools available to be called:
263
+ DuckDuckGo[input]: Tool that enables the user to search for information using the DuckDuckGo search engine. This tool is helpful in locating a suitable list of sites that may contain the answer to the user's query. It does not directly answer the question but finds a list of sites that might have the answer.
264
+ TextScraper[input]: Load one or more websites from the input string containing newline delimited links, where input is one or more links, and produces plain text output containing the content of the links.
265
+ HyperlinkExtractor[input]: Extract links from plain text and produces a plain text, newline delimited response of links.
266
+ KnowledgeModel[input]: Question answering language model, particularly useful in answering questions based on an input passage of text. The input must be a text question that references an :evidence[n]: variable, e.g. What color is the cat, given :evidence1:?
267
+
268
+ The output should be in format:
269
+ Plan: [first action to take based on input question]
270
+ :evidence0: = [function to call with input parameter]
271
+ Plan: [next action to take, based on result of :evidence0:]
272
+ :evidence1: = [next function to call and input parameter, which may include reference to previous evidence, e.g. "Given context :evidence0"]
273
+ ...
274
+ Answer: [:evidence[n]: containing the final answer.]
275
+
276
+ Question: Who won the Nobel Prize in Literature in 2020 and what is their most famous work?
277
+ ```
278
+
279
+ Response:
280
+ ```
281
+ Plan: Begin by conducting a web search to find out who won the Nobel Prize in Literature in 2020.
282
+ :evidence0: = DuckDuckGo[Nobel Prize in Literature 2020 winner]
283
+ Plan: Utilize the KnowledgeModel to interpret the search results and find the name of the laureate.
284
+ :evidence1: = KnowledgeModel[Who won the Nobel Prize in Literature in 2020, given :evidence0:?]
285
+ Plan: Conduct another web search to find the most famous work of the identified laureate.
286
+ :evidence2: = DuckDuckGo[Most famous work of :evidence1:]
287
+ Plan: Extract the relevant links from the DuckDuckGo search results for a more focused search.
288
+ :evidence3: = HyperlinkExtractor[:evidence2:]
289
+ Plan: Use the TextScraper tool to extract information from the relevant links.
290
+ :evidence4: = TextScraper[:evidence3:]
291
+ Plan: Finally, utilize the KnowledgeModel to identify and summarize the most famous work of the laureate from the extracted information.
292
+ :evidence5: = KnowledgeModel[What is the most famous work of :evidence1:, given :evidence4:?]
293
+ Answer: :evidence5:
294
+ ```
295
+
296
+ For this to be useful, you'd have to parse the output plan text, and implement/call each of the functions. This is just pseudo-code, completely untested off the top of my head, and obviously would requiring full implementation + hardening:
297
+
298
+ ```python
299
+ import re
300
+ import requests
301
+
302
+ def inject_context(input_text, **context):
303
+ for ref in set(re.findall(r"(:evidence[0-9]+:)", input_text, re.I)):
304
+ input_text = input_text.replace(ref, context.get(ref, ""))
305
+ return input_text
306
+
307
+ def duckduckgo(input_text, **context):
308
+ search_string = inject_context(input_text, **context)
309
+ ... search via duck duck go using search_string
310
+ ... return text content
311
+
312
+ def link_extractor(input_text, **context):
313
+ input_text = inject_context(input_text, **context)
314
+ return "\n".join(list(set(re.findall(r"(https?://[^\s]+?\.?)", input_text, re.I))))
315
+
316
+ def scrape(input_text, **context):
317
+ input_text = inject_context(input_text, **context)
318
+ text = []
319
+ for link in input_text.splitlines():
320
+ text.append(requests.get(link).text)
321
+ return "\n".join(text)
322
+
323
+ def infer(input_text, **context)
324
+ prompt = inject_context(input_text, **context)
325
+ ... call model with prompt, return output
326
+
327
+ def parse_plan(plan):
328
+ method_map = {
329
+ "DuckDuckGo": duckduckgo,
330
+ "HyperlinkExtractor": link_extractor,
331
+ "KnowledgeModel": infer,
332
+ "TextScraper": scrape,
333
+ }
334
+ context = {}
335
+ for line in plan.strip().splitlines():
336
+ if line.startswith("Plan:"):
337
+ print(line)
338
+ continue
339
+ parts = re.match("^(:evidence[0-9]+:)\s*=\s*([^\[]+])(\[.*\])\s$", line, re.I)
340
+ if not parts:
341
+ if line.startswith("Answer: "):
342
+ return context.get(line.split(" ")[-1].strip(), "Answer couldn't be generated...")
343
+ raise RuntimeError("bad format: " + line)
344
+ context[parts.group(1)] = method_map[parts.group(2)](parts.group(3), **context)
345
+ ```
346
+
347
+ ### Contribute
348
+
349
+ If you're interested in new functionality, particularly a new "instructor" type to generate a specific type of training data,
350
+ take a look at the dataset generation tool repo: https://github.com/jondurbin/airoboros and either make a PR or open an issue with details.
351
+
352
+ To help me with the OpenAI/compute costs:
353
+
354
+ - https://bmc.link/jondurbin
355
+ - ETH 0xce914eAFC2fe52FdceE59565Dd92c06f776fcb11
356
+ - BTC bc1qdwuth4vlg8x37ggntlxu5cjfwgmdy5zaa7pswf
357
+
358
+ ### Licence and usage restrictions
359
+
360
+ The airoboros 2.2 models are built on top of llama-2/codellama.
361
+
362
+ The llama-2 base model has a custom Meta license:
363
+ - See the [meta-license/LICENSE.txt](meta-license/LICENSE.txt) file attached for the original license provided by Meta.
364
+ - See also [meta-license/USE_POLICY.md](meta-license/USE_POLICY.md) and [meta-license/Responsible-Use-Guide.pdf](meta-license/Responsible-Use-Guide.pdf), also provided by Meta.
365
+
366
+ The fine-tuning data was mostly generated by OpenAI API calls to gpt-4, via [airoboros](https://github.com/jondurbin/airoboros)
367
+
368
+ The ToS for OpenAI API usage has a clause preventing the output from being used to train a model that __competes__ with OpenAI
369
+
370
+ - what does *compete* actually mean here?
371
+ - these small open source models will not produce output anywhere near the quality of gpt-4, or even gpt-3.5, so I can't imagine this could credibly be considered competing in the first place
372
+ - if someone else uses the dataset to do the same, they wouldn't necessarily be violating the ToS because they didn't call the API, so I don't know how that works
373
+ - the training data used in essentially all large language models includes a significant amount of copyrighted or otherwise non-permissive licensing in the first place
374
+ - other work using the self-instruct method, e.g. the original here: https://github.com/yizhongw/self-instruct released the data and model as apache-2
375
+
376
+ I am purposingly leaving this license ambiguous (other than the fact you must comply with the Meta original license for llama-2) because I am not a lawyer and refuse to attempt to interpret all of the terms accordingly.
377
+
378
+ Your best bet is probably to avoid using this commercially due to the OpenAI API usage.
379
+
380
+ Either way, by using this model, you agree to completely indemnify me.
added_tokens.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "<pad>": 32004,
3
+ "▁<EOT>": 32003,
4
+ "▁<MID>": 32001,
5
+ "▁<PRE>": 32000,
6
+ "▁<SUF>": 32002
7
+ }
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": ".",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 8192,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 22016,
12
+ "max_position_embeddings": 16384,
13
+ "model_type": "llama",
14
+ "num_attention_heads": 64,
15
+ "num_hidden_layers": 48,
16
+ "num_key_value_heads": 8,
17
+ "pretraining_tp": 1,
18
+ "rms_norm_eps": 1e-05,
19
+ "rope_scaling": null,
20
+ "rope_theta": 1000000,
21
+ "tie_word_embeddings": false,
22
+ "torch_dtype": "bfloat16",
23
+ "transformers_version": "4.33.1",
24
+ "use_cache": true,
25
+ "vocab_size": 32000
26
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.33.1"
6
+ }
huggingface-metadata.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ url: https://huggingface.co/jondurbin/airoboros-c34b-2.2.1
2
+ branch: main
3
+ download date: 2023-09-21 21:56:08
4
+ sha256sum:
5
+ d7e02f5c5e6868d2097f0fe5f1287e207078e0ca0c672a45c1b25b972b6ffabf pytorch_model-00001-of-00007.bin
6
+ d107599a239caddbba77a1dbc55f2428263012f88e210eec5014e6cd822ba67f pytorch_model-00002-of-00007.bin
7
+ 85b875b91b7c273c667937a3bc8140d31f75c2afbd1e31d97915dacce21a7174 pytorch_model-00003-of-00007.bin
8
+ f2757782b242ab39694af41a428ec5d38b2d842922530d1429dcf853bbfb9ca4 pytorch_model-00004-of-00007.bin
9
+ e1631eacda71b861d518b7027212c70f4398d6e9879303b5e2153b81f1095e33 pytorch_model-00005-of-00007.bin
10
+ 67939d8874ea95db07858fe3e59daece80dd3cfefab26100367cc76bc14e66d9 pytorch_model-00006-of-00007.bin
11
+ 6a47f51123ed05f620d2eb89dc482cce5e117080d2dcb39a6437f0aa1d08fea6 pytorch_model-00007-of-00007.bin
12
+ 9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347 tokenizer.model
job.json ADDED
The diff for this file is too large to render. See raw diff
 
measurement.json ADDED
The diff for this file is too large to render. See raw diff
 
output.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:624093a0b24555147a17bf26a04141778305dd52de5ac0ff001466737298b0ec
3
+ size 16322804240
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "▁<PRE>",
4
+ "▁<MID>",
5
+ "▁<SUF>",
6
+ "▁<EOT>"
7
+ ],
8
+ "bos_token": {
9
+ "content": "<s>",
10
+ "lstrip": false,
11
+ "normalized": true,
12
+ "rstrip": false,
13
+ "single_word": false
14
+ },
15
+ "eos_token": {
16
+ "content": "</s>",
17
+ "lstrip": false,
18
+ "normalized": true,
19
+ "rstrip": false,
20
+ "single_word": false
21
+ },
22
+ "pad_token": "<pad>",
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": true,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "▁<PRE>",
4
+ "▁<MID>",
5
+ "▁<SUF>",
6
+ "▁<EOT>",
7
+ "▁<PRE>",
8
+ "▁<MID>",
9
+ "▁<SUF>",
10
+ "▁<EOT>",
11
+ "▁<PRE>",
12
+ "▁<MID>",
13
+ "▁<SUF>",
14
+ "▁<EOT>"
15
+ ],
16
+ "bos_token": {
17
+ "__type": "AddedToken",
18
+ "content": "<s>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "clean_up_tokenization_spaces": false,
25
+ "eos_token": {
26
+ "__type": "AddedToken",
27
+ "content": "</s>",
28
+ "lstrip": false,
29
+ "normalized": true,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ },
33
+ "eot_token": "▁<EOT>",
34
+ "fill_token": "<FILL_ME>",
35
+ "legacy": null,
36
+ "max_length": 4097,
37
+ "middle_token": "▁<MID>",
38
+ "model_max_length": 1000000000000000019884624838656,
39
+ "pad_token": null,
40
+ "padding_side": "right",
41
+ "prefix_token": "▁<PRE>",
42
+ "sp_model_kwargs": {},
43
+ "stride": 0,
44
+ "suffix_token": "▁<SUF>",
45
+ "tokenizer_class": "CodeLlamaTokenizer",
46
+ "truncation_side": "right",
47
+ "truncation_strategy": "longest_first",
48
+ "unk_token": {
49
+ "__type": "AddedToken",
50
+ "content": "<unk>",
51
+ "lstrip": false,
52
+ "normalized": true,
53
+ "rstrip": false,
54
+ "single_word": false
55
+ },
56
+ "use_default_system_prompt": false
57
+ }