Update README.md
Browse files
README.md
CHANGED
@@ -9,7 +9,7 @@ license: other
|
|
9 |
</div>
|
10 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
11 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
12 |
-
<p><a href="https://discord.gg/
|
13 |
</div>
|
14 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
15 |
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
@@ -70,13 +70,13 @@ It was created with
|
|
70 |
* Works with AutoGPTQ
|
71 |
* Works with text-generation-webui one-click-installers
|
72 |
* Parameters: Groupsize = 128. Act Order / desc_act = False.
|
73 |
-
|
74 |
<!-- footer start -->
|
75 |
## Discord
|
76 |
|
77 |
For further support, and discussions on these models and AI in general, join us at:
|
78 |
|
79 |
-
[TheBloke AI's Discord server](https://discord.gg/
|
80 |
|
81 |
## Thanks, and how to contribute.
|
82 |
|
@@ -91,11 +91,11 @@ Donaters will get priority support on any and all AI/LLM/model questions and req
|
|
91 |
* Patreon: https://patreon.com/TheBlokeAI
|
92 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
93 |
|
94 |
-
**Patreon special mentions**: Aemon Algiz
|
95 |
|
96 |
-
Thank you to all my generous patrons and donaters
|
97 |
<!-- footer end -->
|
98 |
-
|
99 |
# Original model card: Jon Durbin's Airoboros 13B GPT4
|
100 |
|
101 |
## Overview
|
@@ -230,7 +230,7 @@ Once exploited for logging and mining, today the sparsely populated Upper Penins
|
|
230 |
The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
|
231 |
ENDINPUT
|
232 |
BEGININSTRUCTION
|
233 |
-
What is Michigan's capital?
|
234 |
Give me a JSON object with 3 facts from Foolo's article.
|
235 |
What are the states that border Michigan?
|
236 |
Reference?
|
@@ -476,12 +476,12 @@ void insert(char* key, char* value) {
|
|
476 |
perror("malloc failed");
|
477 |
exit(1);
|
478 |
}
|
479 |
-
|
480 |
strcpy(parent->key, key);
|
481 |
strcpy(parent->value, value);
|
482 |
-
|
483 |
parent->left = parent->right = NULL;
|
484 |
-
|
485 |
if (!tree) {
|
486 |
tree = parent;
|
487 |
} else {
|
@@ -497,7 +497,7 @@ char* search(char* key) {
|
|
497 |
}
|
498 |
current = current->right;
|
499 |
}
|
500 |
-
|
501 |
return NULL;
|
502 |
}
|
503 |
|
@@ -512,17 +512,17 @@ void print_tree() {
|
|
512 |
void* accept_client(void* args) {
|
513 |
int client_socket = *(int*)args;
|
514 |
char buffer[1024];
|
515 |
-
|
516 |
while (1) {
|
517 |
ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
|
518 |
if (bytes_received <= 0) {
|
519 |
close(client_socket);
|
520 |
break;
|
521 |
}
|
522 |
-
|
523 |
char* input = buffer;
|
524 |
char* input_token;
|
525 |
-
|
526 |
while ((input_token = strtok(input, " \n")) != NULL) {
|
527 |
switch (input_token[0]) {
|
528 |
case 'G':
|
@@ -532,7 +532,7 @@ void* accept_client(void* args) {
|
|
532 |
}
|
533 |
printf("%s = %s\n", input_token, search(input_token));
|
534 |
break;
|
535 |
-
|
536 |
case 'S':
|
537 |
if (!strcmp(input_token, "SET")) {
|
538 |
char* key = strtok(NULL, " \n");
|
@@ -541,7 +541,7 @@ void* accept_client(void* args) {
|
|
541 |
perror("Invalid input");
|
542 |
exit(1);
|
543 |
}
|
544 |
-
|
545 |
insert(key, value);
|
546 |
printf("%s set %s to %s\n", input_token, key, value);
|
547 |
} else {
|
@@ -549,16 +549,16 @@ void* accept_client(void* args) {
|
|
549 |
exit(1);
|
550 |
}
|
551 |
break;
|
552 |
-
|
553 |
default:
|
554 |
perror("Invalid input");
|
555 |
exit(1);
|
556 |
}
|
557 |
-
|
558 |
input = strtok(NULL, " \n");
|
559 |
}
|
560 |
}
|
561 |
-
|
562 |
return NULL;
|
563 |
}
|
564 |
|
@@ -568,50 +568,50 @@ int main() {
|
|
568 |
perror("socket failed");
|
569 |
exit(1);
|
570 |
}
|
571 |
-
|
572 |
struct sockaddr_in server_addr;
|
573 |
memset(&server_addr, 0, sizeof(server_addr));
|
574 |
server_addr.sin_family = AF_INET;
|
575 |
server_addr.sin_port = htons(8080);
|
576 |
server_addr.sin_addr.s_addr = INADDR_ANY;
|
577 |
-
|
578 |
if (bind(server_socket, (struct sockaddr*)&server_addr, sizeof(server_addr)) < 0) {
|
579 |
perror("bind failed");
|
580 |
exit(1);
|
581 |
}
|
582 |
-
|
583 |
if (listen(server_socket, 5) < 0) {
|
584 |
perror("listen failed");
|
585 |
exit(1);
|
586 |
}
|
587 |
-
|
588 |
pthread_t accept_thread;
|
589 |
pthread_create(&accept_thread, NULL, accept_client, &server_socket);
|
590 |
-
|
591 |
char* client_input;
|
592 |
int client_socket = accept(server_socket, (struct sockaddr*)NULL, NULL);
|
593 |
if (client_socket < 0) {
|
594 |
perror("accept failed");
|
595 |
exit(1);
|
596 |
}
|
597 |
-
|
598 |
while (1) {
|
599 |
sleep(1);
|
600 |
-
|
601 |
char buffer[1024];
|
602 |
ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
|
603 |
if (bytes_received <= 0) {
|
604 |
close(client_socket);
|
605 |
break;
|
606 |
}
|
607 |
-
|
608 |
client_input = buffer;
|
609 |
parse_input(client_input);
|
610 |
}
|
611 |
-
|
612 |
close(client_socket);
|
613 |
pthread_join(accept_thread, NULL);
|
614 |
-
|
615 |
return 0;
|
616 |
}
|
617 |
```
|
@@ -675,4 +675,4 @@ No more, me hearties! Me time o' servin' th' rich an' powerful be done, an' I'm
|
|
675 |
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>
|
676 |
```
|
677 |
|
678 |
-
</details>
|
|
|
9 |
</div>
|
10 |
<div style="display: flex; justify-content: space-between; width: 100%;">
|
11 |
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
12 |
+
<p><a href="https://discord.gg/Jq4vkcDakD">Chat & support: my new Discord server</a></p>
|
13 |
</div>
|
14 |
<div style="display: flex; flex-direction: column; align-items: flex-end;">
|
15 |
<p><a href="https://www.patreon.com/TheBlokeAI">Want to contribute? TheBloke's Patreon page</a></p>
|
|
|
70 |
* Works with AutoGPTQ
|
71 |
* Works with text-generation-webui one-click-installers
|
72 |
* Parameters: Groupsize = 128. Act Order / desc_act = False.
|
73 |
+
|
74 |
<!-- footer start -->
|
75 |
## Discord
|
76 |
|
77 |
For further support, and discussions on these models and AI in general, join us at:
|
78 |
|
79 |
+
[TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
|
80 |
|
81 |
## Thanks, and how to contribute.
|
82 |
|
|
|
91 |
* Patreon: https://patreon.com/TheBlokeAI
|
92 |
* Ko-Fi: https://ko-fi.com/TheBlokeAI
|
93 |
|
94 |
+
**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.
|
95 |
|
96 |
+
Thank you to all my generous patrons and donaters!
|
97 |
<!-- footer end -->
|
98 |
+
|
99 |
# Original model card: Jon Durbin's Airoboros 13B GPT4
|
100 |
|
101 |
## Overview
|
|
|
230 |
The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
|
231 |
ENDINPUT
|
232 |
BEGININSTRUCTION
|
233 |
+
What is Michigan's capital?
|
234 |
Give me a JSON object with 3 facts from Foolo's article.
|
235 |
What are the states that border Michigan?
|
236 |
Reference?
|
|
|
476 |
perror("malloc failed");
|
477 |
exit(1);
|
478 |
}
|
479 |
+
|
480 |
strcpy(parent->key, key);
|
481 |
strcpy(parent->value, value);
|
482 |
+
|
483 |
parent->left = parent->right = NULL;
|
484 |
+
|
485 |
if (!tree) {
|
486 |
tree = parent;
|
487 |
} else {
|
|
|
497 |
}
|
498 |
current = current->right;
|
499 |
}
|
500 |
+
|
501 |
return NULL;
|
502 |
}
|
503 |
|
|
|
512 |
void* accept_client(void* args) {
|
513 |
int client_socket = *(int*)args;
|
514 |
char buffer[1024];
|
515 |
+
|
516 |
while (1) {
|
517 |
ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
|
518 |
if (bytes_received <= 0) {
|
519 |
close(client_socket);
|
520 |
break;
|
521 |
}
|
522 |
+
|
523 |
char* input = buffer;
|
524 |
char* input_token;
|
525 |
+
|
526 |
while ((input_token = strtok(input, " \n")) != NULL) {
|
527 |
switch (input_token[0]) {
|
528 |
case 'G':
|
|
|
532 |
}
|
533 |
printf("%s = %s\n", input_token, search(input_token));
|
534 |
break;
|
535 |
+
|
536 |
case 'S':
|
537 |
if (!strcmp(input_token, "SET")) {
|
538 |
char* key = strtok(NULL, " \n");
|
|
|
541 |
perror("Invalid input");
|
542 |
exit(1);
|
543 |
}
|
544 |
+
|
545 |
insert(key, value);
|
546 |
printf("%s set %s to %s\n", input_token, key, value);
|
547 |
} else {
|
|
|
549 |
exit(1);
|
550 |
}
|
551 |
break;
|
552 |
+
|
553 |
default:
|
554 |
perror("Invalid input");
|
555 |
exit(1);
|
556 |
}
|
557 |
+
|
558 |
input = strtok(NULL, " \n");
|
559 |
}
|
560 |
}
|
561 |
+
|
562 |
return NULL;
|
563 |
}
|
564 |
|
|
|
568 |
perror("socket failed");
|
569 |
exit(1);
|
570 |
}
|
571 |
+
|
572 |
struct sockaddr_in server_addr;
|
573 |
memset(&server_addr, 0, sizeof(server_addr));
|
574 |
server_addr.sin_family = AF_INET;
|
575 |
server_addr.sin_port = htons(8080);
|
576 |
server_addr.sin_addr.s_addr = INADDR_ANY;
|
577 |
+
|
578 |
if (bind(server_socket, (struct sockaddr*)&server_addr, sizeof(server_addr)) < 0) {
|
579 |
perror("bind failed");
|
580 |
exit(1);
|
581 |
}
|
582 |
+
|
583 |
if (listen(server_socket, 5) < 0) {
|
584 |
perror("listen failed");
|
585 |
exit(1);
|
586 |
}
|
587 |
+
|
588 |
pthread_t accept_thread;
|
589 |
pthread_create(&accept_thread, NULL, accept_client, &server_socket);
|
590 |
+
|
591 |
char* client_input;
|
592 |
int client_socket = accept(server_socket, (struct sockaddr*)NULL, NULL);
|
593 |
if (client_socket < 0) {
|
594 |
perror("accept failed");
|
595 |
exit(1);
|
596 |
}
|
597 |
+
|
598 |
while (1) {
|
599 |
sleep(1);
|
600 |
+
|
601 |
char buffer[1024];
|
602 |
ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
|
603 |
if (bytes_received <= 0) {
|
604 |
close(client_socket);
|
605 |
break;
|
606 |
}
|
607 |
+
|
608 |
client_input = buffer;
|
609 |
parse_input(client_input);
|
610 |
}
|
611 |
+
|
612 |
close(client_socket);
|
613 |
pthread_join(accept_thread, NULL);
|
614 |
+
|
615 |
return 0;
|
616 |
}
|
617 |
```
|
|
|
675 |
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>
|
676 |
```
|
677 |
|
678 |
+
</details>
|