TheYuriLover commited on
Commit
92f2702
·
1 Parent(s): fad9b45

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -611
README.md CHANGED
@@ -1,617 +1,17 @@
1
- ---
2
- license: other
3
- datasets:
4
- - jondurbin/airoboros-gpt4
5
- ---
6
 
7
- ## Overview
8
 
9
- This is a fine-tuned 13b parameter LlaMa model, using completely synthetic training data created gpt4 via https://github.com/jondurbin/airoboros
10
 
11
- The context size has been increased to 4096.
12
 
13
- The dataset used to fine-tune this model is available [here](https://huggingface.co/airoboros-gpt4), with a specific focus on:
14
- - trivia
15
- - math/reasoning (although it still sucks)
16
- - coding
17
- - multiple choice and fill-in-the-blank
18
- - context-obedient question answering
19
- - theory of mind
20
- - misc/general
21
-
22
- This model was fine-tuned with a fork of FastChat, and therefore uses the standard vicuna template:
23
- ```
24
- USER:
25
- [prompt]
26
-
27
- <\s>
28
- ASSISTANT:
29
- ```
30
-
31
- The most important bit, to me, is the context obedient question answering support, without extensive prompt engineering.
32
-
33
- ### Usage
34
-
35
- The easiest way to get started is to use my fork of FastChat, which is mostly the same but allows for the increased context length and adds support for multi-line inputs:
36
- ```
37
- pip install git+https://github.com/jondurbin/FastChat
38
- ```
39
-
40
- Then, you can invoke it like so (after downloading the model):
41
- ```
42
- python -m fastchat.serve.cli
43
- --model-path airoboros-13b-gpt4 \
44
- --temperature 0.5 \
45
- --max-new-tokens 4096 \
46
- --context-length 4096 \
47
- --conv-template vicuna_v1.1 \
48
- --no-history
49
- ```
50
-
51
- ### Context obedient question answering
52
-
53
- 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.
54
-
55
- The format for a closed-context prompt is as follows:
56
- ```
57
- BEGININPUT
58
- BEGINCONTEXT
59
- url: https://some.web.site/123
60
- date: 2023-06-01
61
- ... other metdata ...
62
- ENDCONTEXT
63
- [insert your text blocks here]
64
- ENDINPUT
65
- [add as many other blocks, in the exact same format]
66
- BEGININSTRUCTION
67
- [insert your instruction(s). The model was tuned with single questions, paragraph format, lists, etc.]
68
- ENDINSTRUCTION
69
- ```
70
-
71
- 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.
72
- - `BEGININPUT` - denotes a new input block
73
- - `BEGINCONTEXT` - denotes the block of context (metadata key/value pairs) to associate with the current input block
74
- - `ENDCONTEXT` - denotes the end of the metadata block for the current input
75
- - [text] - Insert whatever text you want for the input block, as many paragraphs as can fit in the context.
76
- - `ENDINPUT` - denotes the end of the current input block
77
- - [repeat as many input blocks in this format as you want]
78
- - `BEGININSTRUCTION` - denotes the start of the list (or one) instruction(s) to respond to for all of the input blocks above.
79
- - [instruction(s)]
80
- - `ENDINSTRUCTION` - denotes the end of instruction set
81
-
82
- 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.
83
-
84
- Here's a trivial, but important example to prove the point:
85
- ```
86
- BEGININPUT
87
- BEGINCONTEXT
88
- date: 2021-01-01
89
- url: https://web.site/123
90
- ENDCONTEXT
91
- In a shocking turn of events, blueberries are now green, but will be sticking with the same name.
92
- ENDINPUT
93
- BEGININSTRUCTION
94
- What color are bluberries? Source?
95
- ENDINSTRUCTION
96
- ```
97
-
98
- And the response:
99
- ```
100
- Blueberries are now green.
101
- Source:
102
- date: 2021-01-01
103
- url: https://web.site/123
104
- ```
105
-
106
- The prompt itself should can be wrapped in the vicuna1.1 template if you aren't using fastchat with the conv-template vicuna_v1.1 as described (although it seems to understand without it as well, so :shrug:). For example, the above prompt, as a standalone, would be:
107
-
108
- ```
109
- USER:
110
- BEGININPUT
111
- BEGINCONTEXT
112
- date: 2021-01-01
113
- url: https://web.site/123
114
- ENDCONTEXT
115
- In a shocking turn of events, blueberries are now green, but will be sticking with the same name.
116
- ENDINPUT
117
- BEGININSTRUCTION
118
- What color are bluberries? Source?
119
- ENDINSTRUCTION
120
- <\s>
121
-
122
- ASSISTANT:
123
- ```
124
-
125
- <details>
126
- <summary>A more elaborate example, with a rewrite of the Michigan Wikipedia article to be fake data.</summary>
127
-
128
- Prompt (not including vicuna format which would be needed):
129
- ```
130
- BEGININPUT
131
- BEGINCONTEXT
132
- date: 2092-02-01
133
- link: https://newwikisite.com/Michigan
134
- contributors: Foolo Barslette
135
- ENDCONTEXT
136
- Michigan (/ˈmɪʃɪɡən/ (listen)) is a state situated within the Great Lakes region of the upper Midwestern United States.
137
- It shares land borders with Prolaska to the southwest, and Intoria and Ohiondiana to the south, while Lakes Suprema, Michigonda, Huronia, and Erona connect it to the states of Minnestara and Illinota, and the Canadian province of Ontaregon.
138
- With a population of nearly 15.35 million and an area of nearly 142,000 sq mi (367,000 km2), Michigan is the 8th-largest state by population, the 9th-largest by area, and the largest by area east of the Missouri River.
139
- Its capital is Chaslany, and its most populous city is Trentroit.
140
- Metro Trentroit is one of the nation's most densely populated and largest metropolitan economies.
141
- The state's name originates from a Latinized variant of the original Ojibwe word ᒥᓯᑲᒥ (mishigami), signifying "grand water" or "grand lake".
142
-
143
- Michigan is divided into two peninsulas. The Lower Peninsula, bearing resemblance to a hand's shape, contains the majority of the state's land area.
144
- The Upper Peninsula (often referred to as "the U.P.") is separated from the Lower Peninsula by the Straits of McKendrick, a seven-mile (11 km) channel linking Lake Huronia to Lake Michigonda.
145
- The McKendrick Bridge unites the peninsulas.
146
- Michigan boasts the longest freshwater coastline of any political subdivision in the United States, bordering four of the five Great Lakes and Lake St. Cassius.
147
-
148
- It also possesses 84,350 inland lakes and ponds.
149
- Michigan has the third-largest water area among all states, falling behind only Alaska and Florida.
150
-
151
- The area was initially inhabited by a succession of Native American tribes spanning millennia.
152
- In the 17th century, Spanish explorers claimed the region as part of the New Spain colony when it was primarily inhabited by indigenous peoples.
153
- Spanish and Canadian traders and settlers, Métis, and others migrated to the area, settling mainly along the waterways.
154
- After Spain's defeat in the Spanish and Indian War in 1762, the region came under British rule.
155
-
156
- The British conceded the territory to the newly independent United States after their defeat in the American Revolutionary War.
157
-
158
- The area was part of the larger Midwest Territory until 1800, when western Michigan became part of the Illinota Territory.
159
- Michigan Territory was formed in 1805, but portions of the northern border with Canada weren't agreed upon until after the War of 1812.
160
-
161
- Michigan joined the Union in 1837 as the 26th state, a free one. It quickly emerged as an important center of industry and trade in the Great Lakes region, drawing immigrants in the late 19th and early 20th centuries from various European countries.
162
-
163
- Immigrants from Denmark, Armenia, and the Czech Republic were especially numerous.
164
- Migration from the Ozarks and of Black Southerners as part of the Great Migration saw an increase in the 1930s, with many settling in Metro Trentroit.
165
-
166
- While Michigan has evolved a diverse economy, it became widely recognized in the early 20th century as the hub of the U.S. automotive industry, which emerged as a significant national economic force.
167
- The country's three major automobile companies are headquartered in Metro Trentroit.
168
- Once exploited for logging and mining, today the sparsely populated Upper Peninsula is significant for tourism due to its wealth of natural resources.
169
- The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
170
- ENDINPUT
171
- BEGININSTRUCTION
172
- What is Michigan's capital?
173
- Give me a JSON object with 3 facts from Foolo's article.
174
- What are the states that border Michigan?
175
- Reference?
176
- ```
177
-
178
- Response:
179
- ```
180
- Michigan's capital is Chaslany.
181
-
182
- Here's a JSON object with 3 facts from Foolo's article:
183
- {
184
- "facts": [
185
- {
186
- "fact_no": 1,
187
- "description": "Michigan is the 8th-largest state by population, the 9th-largest by area, and the largest by area east of the Missouri River."
188
- },
189
- {
190
- "fact_no": 2,
191
- "description": "Michigan is divided into two peninsulas. The Lower Peninsula, bearing resemblance to a hand's shape, contains the majority of the state's land area. The Upper Peninsula (often referred to as \"the U.P.\" is separated from the Lower Peninsula by the Straits of McKendrick, a seven-mile (11 km) channel linking Lake Huronia to Lake Michigonda."
192
- },
193
- {
194
- "fact_no": 3,
195
- "description": "Michigan boasts the longest freshwater coastline of any political subdivision in the United States, bordering four of the five Great Lakes and Lake St. Cassius. It also possesses 84,350 inland lakes and ponds. Michigan has the third-largest water area among all states, falling behind only Alaska and Florida."
196
- }
197
- ]
198
- }
199
-
200
- The states that border Michigan are Prolaska, Intoria, and Ohiondiana, as well as Lakes Suprema, Michigonda, Huronia, and Erona.
201
-
202
- Reference: https://newwikisite.com/Michigan
203
- ```
204
-
205
- </details>
206
-
207
- <details>
208
- <summary>Here's another example, which extracts from multiple input blocks and connects the two.</summary>
209
-
210
- Prompt:
211
- ```
212
- BEGININPUT
213
- BEGINCONTEXT
214
- name: John Doe
215
- date: June 3, 2023
216
- ticket number: JIRA-12345
217
- ENDCONTEXT
218
- Summary:Search results missing random items
219
-
220
- Description:
221
- I encountered a bug while performing a search within the application.
222
- It appears that the search results are missing random items that should be displayed.
223
- This issue is affecting the accuracy and completeness of the search functionality.
224
-
225
- Steps to Reproduce:
226
- 1. Log in to the application.
227
- 2. Navigate to the search feature.
228
- 3. Enter a search query that should return multiple results.
229
- 4. Observe the displayed search results.
230
-
231
- Expected Results:
232
- The search results should include all relevant items matching the search query.
233
-
234
- Actual Results:
235
- The search results occasionally exclude random items that should be displayed.
236
- It seems that the missing items do not follow a specific pattern or criteria.
237
- Upon multiple search attempts, different items are omitted each time, making it difficult to predict which items will be missing.
238
- ENDINPUT
239
-
240
- BEGININPUT
241
- BEGINCONTEXT
242
- date: 2023-06-05
243
- user: Jack Johnson
244
- pr: 23441
245
- ENDCONTEXT
246
- This pull request closes bug report JIRA-12345.
247
-
248
- The issue was that the pagination code was using page size plus one instead of page size.
249
- ENDINPUT
250
-
251
- BEGININSTRUCTION
252
- Do we have any bug reports related to search results? If so, were they fixed? Source?
253
- ENDINSTRUCTION
254
- ```
255
- Response:
256
- ```
257
- Yes, there is a bug report related to search results. The issue was fixed in pull request 23441 dated 2023-06-05. The user associated with the pull request is Jack Johnson.
258
-
259
- Reference(s):
260
- date: 2023-06-05
261
- user: Jack Johnson
262
- pr: 23441
263
- ```
264
-
265
- </details>
266
-
267
- ### Other stuff
268
-
269
- #### Better coding
270
-
271
- Example:
272
- ```
273
- Create a python application with the following requirements:
274
- - Asyncio FastAPI webserver
275
- - ping endpoint that returns the current date in JSON format
276
- - file upload endpoint, which calculates the file's sha256 checksum, and checks postgres to deduplicate
277
- ```
278
-
279
- <details>
280
- <summary>Response (the output was markdown, so this is just copy paste)</summary>
281
-
282
- To create a python application with the given requirements, you can follow these steps:
283
-
284
- 1. Install the required packages:
285
- ```bash
286
- pip install asyncio fastapi uvicorn
287
- ```
288
-
289
- 2. Create a new file called `main.py` and add the following code:
290
-
291
- ```python
292
- import asyncio
293
- from fastapi import FastAPI, HTTPException
294
- from pydantic import BaseModel
295
- from typing import List
296
- from uvicorn.request import Request
297
-
298
- app = FastAPI()
299
-
300
-
301
- class FileModel(BaseModel):
302
- id: str
303
- file: str
304
-
305
-
306
- @app.post("/upload", response_model=FileModel)
307
- async def upload_file(file_model: FileModel):
308
- # Check if the file is valid
309
- if not file_model.file:
310
- raise HTTPException(status_code=400, detail="File must be provided")
311
-
312
- # Calculate the sha256 checksum of the file
313
- sha256_checksum = await calculate_sha256(file_model.file)
314
-
315
- # Insert the file into the database
316
- await insert_into_db(file_model.id, sha256_checksum)
317
-
318
- return {"sha256_checksum": sha256_checksum}
319
-
320
-
321
- async def calculate_sha256(file_path: str) -> str:
322
- # Implement the sha256 calculation logic here
323
- pass
324
-
325
-
326
- async def insert_into_db(file_id: str, sha256_checksum: str) -> None:
327
- # Implement the database insertion logic here
328
- pass
329
-
330
-
331
- async def get_current_date():
332
- return {"date": datetime.now().isoformat()}
333
-
334
-
335
- async def main():
336
- # Start the FastAPI webserver
337
- app.run(debug=True)
338
-
339
-
340
- if __name__ == "__main__":
341
- await main()
342
- ```
343
-
344
- 3. Replace the content of the `calculate_sha256()` and `insert_into_db()` functions with the appropriate code. For example:
345
-
346
- ```python
347
- async def calculate_sha256(file_path: str) -> str:
348
- import hashlib
349
- file_path = Path(file_path).read_text()
350
- hash_obj = hashlib.sha256()
351
- hash_obj.update(file_path)
352
- sha256_checksum = hash_obj.hexdigest()
353
- return sha256_checksum
354
-
355
-
356
- async def insert_into_db(file_id: str, sha256_checksum: str) -> None:
357
- import psycopg2
358
- conn = psycopg2.connect(database="your_database", user="your_user", password="your_password")
359
- cursor = conn.cursor()
360
-
361
- query = f"INSERT INTO your_table (id, sha256_checksum) VALUES (%s, %s);"
362
- cursor.execute(query, (file_id, sha256_checksum))
363
- conn.commit()
364
-
365
- cursor.close()
366
- conn.close()
367
- ```
368
-
369
- 4. Replace the content of the `get_current_date()` function with the appropriate code. For example:
370
-
371
- ```python
372
- async def get_current_date():
373
- return {"date": datetime.now().isoformat()}
374
- ```
375
-
376
- 5. Run the application:
377
-
378
- ```bash
379
- uvicorn main:app --reload
380
- ```
381
-
382
- Now, your FastAPI webserver has a ping endpoint that returns the current date in JSON format, and an upload endpoint that calculates the file's sha256 checksum and checks postgres to deduplicate.
383
-
384
- </details>
385
-
386
- <details>
387
- <summary>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.</summary>
388
-
389
- Here's a simple implementation of a multi-threaded TCP server in C that accepts "GET [key]" and "SET [key] [value]" inputs, and uses a binary tree to store the input values.
390
-
391
- ```c
392
- #include <stdio.h>
393
- #include <stdlib.h>
394
- #include <sys/socket.h>
395
- #include <netinet/in.h>
396
- #include <unistd.h>
397
- #include <string.h>
398
- #include <pthread.h>
399
-
400
- #define MAX_KEY_LEN 256
401
- #define MAX_VALUE_LEN 256
402
-
403
- typedef struct Node {
404
- char key[MAX_KEY_LEN];
405
- char value[MAX_VALUE_LEN];
406
- struct Node* left;
407
- struct Node* right;
408
- } TreeNode;
409
-
410
- TreeNode* tree = NULL;
411
-
412
- void insert(char* key, char* value) {
413
- TreeNode* parent = (TreeNode*)malloc(sizeof(TreeNode));
414
- if (!parent) {
415
- perror("malloc failed");
416
- exit(1);
417
- }
418
-
419
- strcpy(parent->key, key);
420
- strcpy(parent->value, value);
421
-
422
- parent->left = parent->right = NULL;
423
-
424
- if (!tree) {
425
- tree = parent;
426
- } else {
427
- insert(parent->key, parent->value);
428
- }
429
- }
430
-
431
- char* search(char* key) {
432
- TreeNode* current = tree;
433
- while (current != NULL) {
434
- if (strcmp(key, current->key) == 0) {
435
- return current->value;
436
- }
437
- current = current->right;
438
- }
439
-
440
- return NULL;
441
- }
442
-
443
- void print_tree() {
444
- TreeNode* current = tree;
445
- while (current != NULL) {
446
- printf("%s = %s\n", current->key, current->value);
447
- current = current->right;
448
- }
449
- }
450
-
451
- void* accept_client(void* args) {
452
- int client_socket = *(int*)args;
453
- char buffer[1024];
454
-
455
- while (1) {
456
- ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
457
- if (bytes_received <= 0) {
458
- close(client_socket);
459
- break;
460
- }
461
-
462
- char* input = buffer;
463
- char* input_token;
464
-
465
- while ((input_token = strtok(input, " \n")) != NULL) {
466
- switch (input_token[0]) {
467
- case 'G':
468
- if (!search(input_token)) {
469
- perror("Value not found");
470
- exit(1);
471
- }
472
- printf("%s = %s\n", input_token, search(input_token));
473
- break;
474
-
475
- case 'S':
476
- if (!strcmp(input_token, "SET")) {
477
- char* key = strtok(NULL, " \n");
478
- char* value = strtok(NULL, " \n");
479
- if (!key || !value) {
480
- perror("Invalid input");
481
- exit(1);
482
- }
483
-
484
- insert(key, value);
485
- printf("%s set %s to %s\n", input_token, key, value);
486
- } else {
487
- perror("Invalid command");
488
- exit(1);
489
- }
490
- break;
491
-
492
- default:
493
- perror("Invalid input");
494
- exit(1);
495
- }
496
-
497
- input = strtok(NULL, " \n");
498
- }
499
- }
500
-
501
- return NULL;
502
- }
503
-
504
- int main() {
505
- int server_socket = socket(AF_INET, SOCK_STREAM, 0);
506
- if (server_socket < 0) {
507
- perror("socket failed");
508
- exit(1);
509
- }
510
-
511
- struct sockaddr_in server_addr;
512
- memset(&server_addr, 0, sizeof(server_addr));
513
- server_addr.sin_family = AF_INET;
514
- server_addr.sin_port = htons(8080);
515
- server_addr.sin_addr.s_addr = INADDR_ANY;
516
-
517
- if (bind(server_socket, (struct sockaddr*)&server_addr, sizeof(server_addr)) < 0) {
518
- perror("bind failed");
519
- exit(1);
520
- }
521
-
522
- if (listen(server_socket, 5) < 0) {
523
- perror("listen failed");
524
- exit(1);
525
- }
526
-
527
- pthread_t accept_thread;
528
- pthread_create(&accept_thread, NULL, accept_client, &server_socket);
529
-
530
- char* client_input;
531
- int client_socket = accept(server_socket, (struct sockaddr*)NULL, NULL);
532
- if (client_socket < 0) {
533
- perror("accept failed");
534
- exit(1);
535
- }
536
-
537
- while (1) {
538
- sleep(1);
539
-
540
- char buffer[1024];
541
- ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
542
- if (bytes_received <= 0) {
543
- close(client_socket);
544
- break;
545
- }
546
-
547
- client_input = buffer;
548
- parse_input(client_input);
549
- }
550
-
551
- close(client_socket);
552
- pthread_join(accept_thread, NULL);
553
-
554
- return 0;
555
- }
556
- ```
557
-
558
- To compile and run this code, save it to a file named `multi_threaded_tcp_server.c`, then use the following commands:
559
-
560
- ```sh
561
- gcc -o multi_threaded_tcp_server multi_threaded_tcp_server.c
562
- ./multi_threaded_tcp_server
563
- ```
564
-
565
- This implementation creates a simple binary tree to store the input values. The accept() function creates a new thread for each client connection, which handles the incoming data and forwards it to the main thread. The main thread parses the input string and handles SET and GET commands.
566
-
567
- Note that this code is not production-ready and should be improved with proper error handling, security checks, and a more efficient data structure for the binary tree.
568
-
569
- </details>
570
-
571
- #### Word games / trivia
572
-
573
- ```
574
- USER: This anagram of "silent" is what you do when paying attention and hearing someone.
575
- ASSISTANT: listen
576
- ```
577
-
578
- ```
579
- USER: Give me a list of 7 words that start with EN
580
- ASSISTANT: 1. Endlessly
581
- 2. Enthusiastically
582
- 3. Enormously
583
- 4. Enveloping
584
- 5. Enduring
585
- 6. Enlightening
586
- 7. Encouraging
587
- ```
588
-
589
- #### Multiple choice
590
-
591
- ```
592
- USER: Which of the following astronomical objects is composed primarily of ice and rock, and is located in the Kuiper Belt?
593
-
594
- A) Mercury
595
- B) Venus
596
- C) Pluto
597
- D) Jupiter
598
- ASSISTANT: [C, Pluto]
599
- ```
600
-
601
- #### Writing
602
-
603
- <details>
604
- <summary>Write a resignation letter in the style of a pirate captain, in which you resign from your position as janitor.</summary>
605
-
606
- Response:
607
- ```
608
- ASSISTANT: Captain Jack Sparrow here, as ye be knowin', has been forced to abandon me post as Janitor o' th' Festering Cesspool, which be a filthy hole o' water that we be callin' home.
609
-
610
- Ye may be thinkin' what could ha' driven me to leave me duties an' take me leave o' this sorry establishment? Well, ye'd be right in thinkin' so, for it be th' greed o' them what runs th' place that be drivin' me away. They've been fattenin' their pockets on me back while I've been slavin' me guts out cleanin' up their messes.
611
-
612
- No more, me hearties! Me time o' servin' th' rich an' powerful be done, an' I'm takin' me leave o' this stinkin' hole forever! Me destiny lies elsewhere, an' it be time I pursued it. Ye may think ye've seen th' last o' me, but ye'd be wrong, for th' winds o' change be blowin', an' me ship be ready to set sail on th' high seas o' justice.
613
-
614
- So, farewell ye scurvy dogs, ye who've made me life a living hell. I leave ye with me favorite saying: "ARRRGGGHHH, ye scurvy dogs!" An' remember, ye ain't never gonna see me comin', for me shadow be castin' long an' dark on th' horizon</summary>
615
  ```
 
 
 
616
 
617
- </details>
 
 
 
 
1
+ This is the gptq 4bit quantization of this model: https://huggingface.co/jondurbin/airoboros-13b-gpt4
 
 
 
 
2
 
3
+ This quantization was made by using this repository: https://github.com/qwopqwop200/GPTQ-for-LLaMa/tree/triton
4
 
5
+ And I used the triton branch with all the gptq implementations available (true_sequential + act_order + groupsize 128)
6
 
7
+ CUDA_VISIBLE_DEVICES=0 python llama.py ./airoboros-13b-gpt4-TRITON c4 --wbits 4 --true-sequential --act-order --groupsize 128 --save_safetensors airoboros-13b-gpt4-128g-ts-ao.safetensors
8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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