TheBloke commited on
Commit
ba15d1b
1 Parent(s): 0db6b7f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -27
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/UBgz4VXf">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>
@@ -97,7 +97,7 @@ Further instructions here: [text-generation-webui/docs/llama.cpp-models.md](http
97
 
98
  For further support, and discussions on these models and AI in general, join us at:
99
 
100
- [TheBloke AI's Discord server](https://discord.gg/UBgz4VXf)
101
 
102
  ## Thanks, and how to contribute.
103
 
@@ -107,14 +107,14 @@ I've had a lot of people ask if they can contribute. I enjoy providing models an
107
 
108
  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.
109
 
110
- Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits
111
 
112
  * Patreon: https://patreon.com/TheBlokeAI
113
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
114
 
115
  **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.
116
 
117
- Thank you to all my generous patrons and donaters.
118
  <!-- footer end -->
119
 
120
  # Original model card: Jon Durbin's Airoboros 7b GPT4
@@ -253,7 +253,7 @@ Once exploited for logging and mining, today the sparsely populated Upper Penins
253
  The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
254
  ENDINPUT
255
  BEGININSTRUCTION
256
- What is Michigan's capital?
257
  Give me a JSON object with 3 facts from Foolo's article.
258
  What are the states that border Michigan?
259
  Reference?
@@ -499,12 +499,12 @@ void insert(char* key, char* value) {
499
  perror("malloc failed");
500
  exit(1);
501
  }
502
-
503
  strcpy(parent->key, key);
504
  strcpy(parent->value, value);
505
-
506
  parent->left = parent->right = NULL;
507
-
508
  if (!tree) {
509
  tree = parent;
510
  } else {
@@ -520,7 +520,7 @@ char* search(char* key) {
520
  }
521
  current = current->right;
522
  }
523
-
524
  return NULL;
525
  }
526
 
@@ -535,17 +535,17 @@ void print_tree() {
535
  void* accept_client(void* args) {
536
  int client_socket = *(int*)args;
537
  char buffer[1024];
538
-
539
  while (1) {
540
  ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
541
  if (bytes_received <= 0) {
542
  close(client_socket);
543
  break;
544
  }
545
-
546
  char* input = buffer;
547
  char* input_token;
548
-
549
  while ((input_token = strtok(input, " \n")) != NULL) {
550
  switch (input_token[0]) {
551
  case 'G':
@@ -555,7 +555,7 @@ void* accept_client(void* args) {
555
  }
556
  printf("%s = %s\n", input_token, search(input_token));
557
  break;
558
-
559
  case 'S':
560
  if (!strcmp(input_token, "SET")) {
561
  char* key = strtok(NULL, " \n");
@@ -564,7 +564,7 @@ void* accept_client(void* args) {
564
  perror("Invalid input");
565
  exit(1);
566
  }
567
-
568
  insert(key, value);
569
  printf("%s set %s to %s\n", input_token, key, value);
570
  } else {
@@ -572,16 +572,16 @@ void* accept_client(void* args) {
572
  exit(1);
573
  }
574
  break;
575
-
576
  default:
577
  perror("Invalid input");
578
  exit(1);
579
  }
580
-
581
  input = strtok(NULL, " \n");
582
  }
583
  }
584
-
585
  return NULL;
586
  }
587
 
@@ -591,50 +591,50 @@ int main() {
591
  perror("socket failed");
592
  exit(1);
593
  }
594
-
595
  struct sockaddr_in server_addr;
596
  memset(&server_addr, 0, sizeof(server_addr));
597
  server_addr.sin_family = AF_INET;
598
  server_addr.sin_port = htons(8080);
599
  server_addr.sin_addr.s_addr = INADDR_ANY;
600
-
601
  if (bind(server_socket, (struct sockaddr*)&server_addr, sizeof(server_addr)) < 0) {
602
  perror("bind failed");
603
  exit(1);
604
  }
605
-
606
  if (listen(server_socket, 5) < 0) {
607
  perror("listen failed");
608
  exit(1);
609
  }
610
-
611
  pthread_t accept_thread;
612
  pthread_create(&accept_thread, NULL, accept_client, &server_socket);
613
-
614
  char* client_input;
615
  int client_socket = accept(server_socket, (struct sockaddr*)NULL, NULL);
616
  if (client_socket < 0) {
617
  perror("accept failed");
618
  exit(1);
619
  }
620
-
621
  while (1) {
622
  sleep(1);
623
-
624
  char buffer[1024];
625
  ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
626
  if (bytes_received <= 0) {
627
  close(client_socket);
628
  break;
629
  }
630
-
631
  client_input = buffer;
632
  parse_input(client_input);
633
  }
634
-
635
  close(client_socket);
636
  pthread_join(accept_thread, NULL);
637
-
638
  return 0;
639
  }
640
  ```
 
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>
 
97
 
98
  For further support, and discussions on these models and AI in general, join us at:
99
 
100
+ [TheBloke AI's Discord server](https://discord.gg/Jq4vkcDakD)
101
 
102
  ## Thanks, and how to contribute.
103
 
 
107
 
108
  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.
109
 
110
+ Donaters will get priority support on any and all AI/LLM/model questions and requests, access to a private Discord room, plus other benefits.
111
 
112
  * Patreon: https://patreon.com/TheBlokeAI
113
  * Ko-Fi: https://ko-fi.com/TheBlokeAI
114
 
115
  **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.
116
 
117
+ Thank you to all my generous patrons and donaters!
118
  <!-- footer end -->
119
 
120
  # Original model card: Jon Durbin's Airoboros 7b GPT4
 
253
  The Lower Peninsula is a hub for manufacturing, forestry, agriculture, services, and high-tech industry.
254
  ENDINPUT
255
  BEGININSTRUCTION
256
+ What is Michigan's capital?
257
  Give me a JSON object with 3 facts from Foolo's article.
258
  What are the states that border Michigan?
259
  Reference?
 
499
  perror("malloc failed");
500
  exit(1);
501
  }
502
+
503
  strcpy(parent->key, key);
504
  strcpy(parent->value, value);
505
+
506
  parent->left = parent->right = NULL;
507
+
508
  if (!tree) {
509
  tree = parent;
510
  } else {
 
520
  }
521
  current = current->right;
522
  }
523
+
524
  return NULL;
525
  }
526
 
 
535
  void* accept_client(void* args) {
536
  int client_socket = *(int*)args;
537
  char buffer[1024];
538
+
539
  while (1) {
540
  ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
541
  if (bytes_received <= 0) {
542
  close(client_socket);
543
  break;
544
  }
545
+
546
  char* input = buffer;
547
  char* input_token;
548
+
549
  while ((input_token = strtok(input, " \n")) != NULL) {
550
  switch (input_token[0]) {
551
  case 'G':
 
555
  }
556
  printf("%s = %s\n", input_token, search(input_token));
557
  break;
558
+
559
  case 'S':
560
  if (!strcmp(input_token, "SET")) {
561
  char* key = strtok(NULL, " \n");
 
564
  perror("Invalid input");
565
  exit(1);
566
  }
567
+
568
  insert(key, value);
569
  printf("%s set %s to %s\n", input_token, key, value);
570
  } else {
 
572
  exit(1);
573
  }
574
  break;
575
+
576
  default:
577
  perror("Invalid input");
578
  exit(1);
579
  }
580
+
581
  input = strtok(NULL, " \n");
582
  }
583
  }
584
+
585
  return NULL;
586
  }
587
 
 
591
  perror("socket failed");
592
  exit(1);
593
  }
594
+
595
  struct sockaddr_in server_addr;
596
  memset(&server_addr, 0, sizeof(server_addr));
597
  server_addr.sin_family = AF_INET;
598
  server_addr.sin_port = htons(8080);
599
  server_addr.sin_addr.s_addr = INADDR_ANY;
600
+
601
  if (bind(server_socket, (struct sockaddr*)&server_addr, sizeof(server_addr)) < 0) {
602
  perror("bind failed");
603
  exit(1);
604
  }
605
+
606
  if (listen(server_socket, 5) < 0) {
607
  perror("listen failed");
608
  exit(1);
609
  }
610
+
611
  pthread_t accept_thread;
612
  pthread_create(&accept_thread, NULL, accept_client, &server_socket);
613
+
614
  char* client_input;
615
  int client_socket = accept(server_socket, (struct sockaddr*)NULL, NULL);
616
  if (client_socket < 0) {
617
  perror("accept failed");
618
  exit(1);
619
  }
620
+
621
  while (1) {
622
  sleep(1);
623
+
624
  char buffer[1024];
625
  ssize_t bytes_received = recv(client_socket, buffer, sizeof(buffer), 0);
626
  if (bytes_received <= 0) {
627
  close(client_socket);
628
  break;
629
  }
630
+
631
  client_input = buffer;
632
  parse_input(client_input);
633
  }
634
+
635
  close(client_socket);
636
  pthread_join(accept_thread, NULL);
637
+
638
  return 0;
639
  }
640
  ```