Update README.md
Browse files
README.md
CHANGED
@@ -11,7 +11,7 @@ datasets:
|
|
11 |
</div>
|
12 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
13 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
14 |
-
<p><a href="https://discord.gg/
|
15 |
</div>
|
16 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
17 |
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
@@ -45,7 +45,7 @@ ASSISTANT:
|
|
45 |
|
46 |
For further support, and discussions on these models and AI in general, join us at:
|
47 |
|
48 |
-
[TheBloke AI's Discord server](https://discord.gg/
|
49 |
|
50 |
## Thanks, and how to contribute.
|
51 |
|
@@ -55,14 +55,14 @@ I've had a lot of people ask if they can contribute. I enjoy providing models an
|
|
55 |
|
56 |
If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
|
57 |
|
58 |
-
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits
|
59 |
|
60 |
* Patreon: https://patreon.com/TheBlokeAI
|
61 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
62 |
|
63 |
-
**Patreon special mentions**: Aemon Algiz
|
64 |
|
65 |
-
Thank you to all my generous patrons and donaters
|
66 |
<!-- footer end -->
|
67 |
|
68 |
# Original model card: Jon Durbin's Airoboros 13B GPT4
|
@@ -199,7 +199,7 @@ Once exploited for logging and mining, today the sparsely populated Upper Penins
|
|
199 |
The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
|
200 |
ENDINPUT
|
201 |
BEGININSTRUCTION
|
202 |
-
What is Michigan's capital?
|
203 |
Give me a JSON object with 3 facts from Foolo's article.
|
204 |
What are the states that border Michigan?
|
205 |
Reference?
|
@@ -445,12 +445,12 @@ void insert(char* key, char* value) {
|
|
445 |
perror("malloc failed");
|
446 |
exit(1);
|
447 |
}
|
448 |
-
|
449 |
strcpy(parent->key, key);
|
450 |
strcpy(parent->value, value);
|
451 |
-
|
452 |
parent->left = parent->right = NULL;
|
453 |
-
|
454 |
if (!tree) {
|
455 |
tree = parent;
|
456 |
} else {
|
@@ -466,7 +466,7 @@ char* search(char* key) {
|
|
466 |
}
|
467 |
current = current->right;
|
468 |
}
|
469 |
-
|
470 |
return NULL;
|
471 |
}
|
472 |
|
@@ -481,17 +481,17 @@ void print_tree() {
|
|
481 |
void* accept_client(void* args) {
|
482 |
int client_socket = *(int*)args;
|
483 |
char buffer[1024];
|
484 |
-
|
485 |
while (1) {
|
486 |
ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
|
487 |
if (bytes_received <= 0) {
|
488 |
close(client_socket);
|
489 |
break;
|
490 |
}
|
491 |
-
|
492 |
char* input = buffer;
|
493 |
char* input_token;
|
494 |
-
|
495 |
while ((input_token = strtok(input, " \n")) != NULL) {
|
496 |
switch (input_token[0]) {
|
497 |
case 'G':
|
@@ -501,7 +501,7 @@ void* accept_client(void* args) {
|
|
501 |
}
|
502 |
printf("%s = %s\n", input_token, search(input_token));
|
503 |
break;
|
504 |
-
|
505 |
case 'S':
|
506 |
if (!strcmp(input_token, "SET")) {
|
507 |
char* key = strtok(NULL, " \n");
|
@@ -510,7 +510,7 @@ void* accept_client(void* args) {
|
|
510 |
perror("Invalid input");
|
511 |
exit(1);
|
512 |
}
|
513 |
-
|
514 |
insert(key, value);
|
515 |
printf("%s set %s to %s\n", input_token, key, value);
|
516 |
} else {
|
@@ -518,16 +518,16 @@ void* accept_client(void* args) {
|
|
518 |
exit(1);
|
519 |
}
|
520 |
break;
|
521 |
-
|
522 |
default:
|
523 |
perror("Invalid input");
|
524 |
exit(1);
|
525 |
}
|
526 |
-
|
527 |
input = strtok(NULL, " \n");
|
528 |
}
|
529 |
}
|
530 |
-
|
531 |
return NULL;
|
532 |
}
|
533 |
|
@@ -537,50 +537,50 @@ int main() {
|
|
537 |
perror("socket failed");
|
538 |
exit(1);
|
539 |
}
|
540 |
-
|
541 |
struct sockaddr_in server_addr;
|
542 |
memset(&server_addr, 0, sizeof(server_addr));
|
543 |
server_addr.sin_family = AF_INET;
|
544 |
server_addr.sin_port = htons(8080);
|
545 |
server_addr.sin_addr.s_addr = INADDR_ANY;
|
546 |
-
|
547 |
if (bind(server_socket, (struct sockaddr*)&server_addr, sizeof(server_addr)) < 0) {
|
548 |
perror("bind failed");
|
549 |
exit(1);
|
550 |
}
|
551 |
-
|
552 |
if (listen(server_socket, 5) < 0) {
|
553 |
perror("listen failed");
|
554 |
exit(1);
|
555 |
}
|
556 |
-
|
557 |
pthread_t accept_thread;
|
558 |
pthread_create(&accept_thread, NULL, accept_client, &server_socket);
|
559 |
-
|
560 |
char* client_input;
|
561 |
int client_socket = accept(server_socket, (struct sockaddr*)NULL, NULL);
|
562 |
if (client_socket < 0) {
|
563 |
perror("accept failed");
|
564 |
exit(1);
|
565 |
}
|
566 |
-
|
567 |
while (1) {
|
568 |
sleep(1);
|
569 |
-
|
570 |
char buffer[1024];
|
571 |
ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
|
572 |
if (bytes_received <= 0) {
|
573 |
close(client_socket);
|
574 |
break;
|
575 |
}
|
576 |
-
|
577 |
client_input = buffer;
|
578 |
parse_input(client_input);
|
579 |
}
|
580 |
-
|
581 |
close(client_socket);
|
582 |
pthread_join(accept_thread, NULL);
|
583 |
-
|
584 |
return 0;
|
585 |
}
|
586 |
```
|
@@ -644,4 +644,4 @@ No more, me hearties! Me time o' servin' th' rich an' powerful be done, an' I'm
|
|
644 |
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>
|
645 |
```
|
646 |
|
647 |
-
</details>
|
|
|
11 |
</div>
|
12 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
13 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
14 |
+
<p><a href="https://discord.gg/Jq4vkcDakD">Chat & support: my new Discord server</a></p>
|
15 |
</div>
|
16 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
17 |
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
|
|
45 |
|
46 |
For further support, and discussions on these models and AI in general, join us at:
|
47 |
|
48 |
+
[TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
|
49 |
|
50 |
## Thanks, and how to contribute.
|
51 |
|
|
|
55 |
|
56 |
If you're able and willing to contribute it will be most gratefully received and will help me to keep providing more models, and to start work on new AI projects.
|
57 |
|
58 |
+
Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
|
59 |
|
60 |
* Patreon: https://patreon.com/TheBlokeAI
|
61 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
62 |
|
63 |
+
**Patreon special mentions**: Aemon Algiz, Dmitriy Samsonov, Nathan LeClaire, Trenton Dambrowitz, Mano Prime, David Flickinger, vamX, Nikolai Manek, senxiiz, Khalefa Al-Ahmad, Illia Dulskyi, Jonathan Leane, Talal Aujan, V. Lukas, Joseph William Delisle, Pyrater, Oscar Rangel, Lone Striker, Luke Pendergrass, Eugene Pentland, Sebastain Graf, Johann-Peter Hartman.
|
64 |
|
65 |
+
Thank you to all my generous patrons and donaters!
|
66 |
<!-- footer end -->
|
67 |
|
68 |
# Original model card: Jon Durbin's Airoboros 13B GPT4
|
|
|
199 |
The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
|
200 |
ENDINPUT
|
201 |
BEGININSTRUCTION
|
202 |
+
What is Michigan's capital?
|
203 |
Give me a JSON object with 3 facts from Foolo's article.
|
204 |
What are the states that border Michigan?
|
205 |
Reference?
|
|
|
445 |
perror("malloc failed");
|
446 |
exit(1);
|
447 |
}
|
448 |
+
|
449 |
strcpy(parent->key, key);
|
450 |
strcpy(parent->value, value);
|
451 |
+
|
452 |
parent->left = parent->right = NULL;
|
453 |
+
|
454 |
if (!tree) {
|
455 |
tree = parent;
|
456 |
} else {
|
|
|
466 |
}
|
467 |
current = current->right;
|
468 |
}
|
469 |
+
|
470 |
return NULL;
|
471 |
}
|
472 |
|
|
|
481 |
void* accept_client(void* args) {
|
482 |
int client_socket = *(int*)args;
|
483 |
char buffer[1024];
|
484 |
+
|
485 |
while (1) {
|
486 |
ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
|
487 |
if (bytes_received <= 0) {
|
488 |
close(client_socket);
|
489 |
break;
|
490 |
}
|
491 |
+
|
492 |
char* input = buffer;
|
493 |
char* input_token;
|
494 |
+
|
495 |
while ((input_token = strtok(input, " \n")) != NULL) {
|
496 |
switch (input_token[0]) {
|
497 |
case 'G':
|
|
|
501 |
}
|
502 |
printf("%s = %s\n", input_token, search(input_token));
|
503 |
break;
|
504 |
+
|
505 |
case 'S':
|
506 |
if (!strcmp(input_token, "SET")) {
|
507 |
char* key = strtok(NULL, " \n");
|
|
|
510 |
perror("Invalid input");
|
511 |
exit(1);
|
512 |
}
|
513 |
+
|
514 |
insert(key, value);
|
515 |
printf("%s set %s to %s\n", input_token, key, value);
|
516 |
} else {
|
|
|
518 |
exit(1);
|
519 |
}
|
520 |
break;
|
521 |
+
|
522 |
default:
|
523 |
perror("Invalid input");
|
524 |
exit(1);
|
525 |
}
|
526 |
+
|
527 |
input = strtok(NULL, " \n");
|
528 |
}
|
529 |
}
|
530 |
+
|
531 |
return NULL;
|
532 |
}
|
533 |
|
|
|
537 |
perror("socket failed");
|
538 |
exit(1);
|
539 |
}
|
540 |
+
|
541 |
struct sockaddr_in server_addr;
|
542 |
memset(&server_addr, 0, sizeof(server_addr));
|
543 |
server_addr.sin_family = AF_INET;
|
544 |
server_addr.sin_port = htons(8080);
|
545 |
server_addr.sin_addr.s_addr = INADDR_ANY;
|
546 |
+
|
547 |
if (bind(server_socket, (struct sockaddr*)&server_addr, sizeof(server_addr)) < 0) {
|
548 |
perror("bind failed");
|
549 |
exit(1);
|
550 |
}
|
551 |
+
|
552 |
if (listen(server_socket, 5) < 0) {
|
553 |
perror("listen failed");
|
554 |
exit(1);
|
555 |
}
|
556 |
+
|
557 |
pthread_t accept_thread;
|
558 |
pthread_create(&accept_thread, NULL, accept_client, &server_socket);
|
559 |
+
|
560 |
char* client_input;
|
561 |
int client_socket = accept(server_socket, (struct sockaddr*)NULL, NULL);
|
562 |
if (client_socket < 0) {
|
563 |
perror("accept failed");
|
564 |
exit(1);
|
565 |
}
|
566 |
+
|
567 |
while (1) {
|
568 |
sleep(1);
|
569 |
+
|
570 |
char buffer[1024];
|
571 |
ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
|
572 |
if (bytes_received <= 0) {
|
573 |
close(client_socket);
|
574 |
break;
|
575 |
}
|
576 |
+
|
577 |
client_input = buffer;
|
578 |
parse_input(client_input);
|
579 |
}
|
580 |
+
|
581 |
close(client_socket);
|
582 |
pthread_join(accept_thread, NULL);
|
583 |
+
|
584 |
return 0;
|
585 |
}
|
586 |
```
|
|
|
644 |
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>
|
645 |
```
|
646 |
|
647 |
+
</details>
|