noznarb commited on
Commit
fe68024
1 Parent(s): 284253a

Upload 31 files

Browse files
Files changed (32) hide show
  1. .gitattributes +25 -0
  2. DansPileOfSets-Vicuna/convert-to-vicuna.js +53 -0
  3. DansPileOfSets-Vicuna/filestomerge/ai_society_allcleaned-vicuna-nounicode.json +3 -0
  4. DansPileOfSets-Vicuna/filestomerge/ai_society_allcleaned-vicuna.json +3 -0
  5. DansPileOfSets-Vicuna/filestomerge/biology_allcleaned-vicuna-nounicode.json +3 -0
  6. DansPileOfSets-Vicuna/filestomerge/biology_allcleaned-vicuna.json +3 -0
  7. DansPileOfSets-Vicuna/filestomerge/chemistry_allcleaned-vicuna-nounicode.json +3 -0
  8. DansPileOfSets-Vicuna/filestomerge/chemistry_allcleaned-vicuna.json +3 -0
  9. DansPileOfSets-Vicuna/filestomerge/dolly_allcleaned-vicuna-nounicode.json +0 -0
  10. DansPileOfSets-Vicuna/filestomerge/dolly_allcleaned-vicuna.json +3 -0
  11. DansPileOfSets-Vicuna/filestomerge/godot_dodo_4x_60k_data_allcleaned-vicuna-nounicode.json +3 -0
  12. DansPileOfSets-Vicuna/filestomerge/godot_dodo_4x_60k_data_allcleaned-vicuna.json +3 -0
  13. DansPileOfSets-Vicuna/filestomerge/gpt4-instruct_allcleaned-vicuna-nounicode.json +3 -0
  14. DansPileOfSets-Vicuna/filestomerge/gpt4-instruct_allcleaned-vicuna.json +3 -0
  15. DansPileOfSets-Vicuna/filestomerge/gsm8k_train_allcleaned-vicuna-nounicode.json +0 -0
  16. DansPileOfSets-Vicuna/filestomerge/gsm8k_train_allcleaned-vicuna.json +0 -0
  17. DansPileOfSets-Vicuna/filestomerge/leet10k-alpaca_allcleaned-vicuna-nounicode.json +3 -0
  18. DansPileOfSets-Vicuna/filestomerge/leet10k-alpaca_allcleaned-vicuna.json +3 -0
  19. DansPileOfSets-Vicuna/filestomerge/math_allcleaned-vicuna-nounicode.json +3 -0
  20. DansPileOfSets-Vicuna/filestomerge/math_allcleaned-vicuna.json +3 -0
  21. DansPileOfSets-Vicuna/filestomerge/physics_allcleaned-vicuna-nounicode.json +3 -0
  22. DansPileOfSets-Vicuna/filestomerge/physics_allcleaned-vicuna.json +3 -0
  23. DansPileOfSets-Vicuna/filestomerge/qasc_train_allcleaned-vicuna.json +0 -0
  24. DansPileOfSets-Vicuna/filestomerge/superCoT_allcleaned-vicuna-nounicode.json +3 -0
  25. DansPileOfSets-Vicuna/filestomerge/superCoT_allcleaned-vicuna.json +3 -0
  26. DansPileOfSets-Vicuna/filestomerge/wizard_allcleaned_scrubbed-vicuna-nounicode.json +3 -0
  27. DansPileOfSets-Vicuna/filestomerge/wizard_allcleaned_scrubbed-vicuna.json +3 -0
  28. DansPileOfSets-Vicuna/merge_json.js +36 -0
  29. DansPileOfSets-Vicuna/merged_deduped_culled-vicuna-nounicode.json +3 -0
  30. DansPileOfSets-Vicuna/merged_deduped_culled-vicuna.json +3 -0
  31. DansPileOfSets-Vicuna/test_merge_deduped-vicuna-nounicode.json +3 -0
  32. DansPileOfSets-Vicuna/test_merge_deduped-vicuna.json +3 -0
.gitattributes CHANGED
@@ -72,3 +72,28 @@ ShareGPT_Vicuna_unfiltered/Experimental/ShareGPT_2023.05.04v1_Nano_Wasteland.jso
72
  ShareGPT_Vicuna_unfiltered/ShareGPT_2023.05.08v0_Wasteland_Edition.json filter=lfs diff=lfs merge=lfs -text
73
  bluemoon_roleplay_300k_vicuna/bluemoon_roleplay_300k_vicuna.json filter=lfs diff=lfs merge=lfs -text
74
  bluemoon_roleplay_300k_vicuna/RawData/raw.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  ShareGPT_Vicuna_unfiltered/ShareGPT_2023.05.08v0_Wasteland_Edition.json filter=lfs diff=lfs merge=lfs -text
73
  bluemoon_roleplay_300k_vicuna/bluemoon_roleplay_300k_vicuna.json filter=lfs diff=lfs merge=lfs -text
74
  bluemoon_roleplay_300k_vicuna/RawData/raw.json filter=lfs diff=lfs merge=lfs -text
75
+ DansPileOfSets-Vicuna/filestomerge/ai_society_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
76
+ DansPileOfSets-Vicuna/filestomerge/ai_society_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
77
+ DansPileOfSets-Vicuna/filestomerge/biology_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
78
+ DansPileOfSets-Vicuna/filestomerge/biology_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
79
+ DansPileOfSets-Vicuna/filestomerge/chemistry_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
80
+ DansPileOfSets-Vicuna/filestomerge/chemistry_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
81
+ DansPileOfSets-Vicuna/filestomerge/dolly_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
82
+ DansPileOfSets-Vicuna/filestomerge/godot_dodo_4x_60k_data_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
83
+ DansPileOfSets-Vicuna/filestomerge/godot_dodo_4x_60k_data_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
84
+ DansPileOfSets-Vicuna/filestomerge/gpt4-instruct_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
85
+ DansPileOfSets-Vicuna/filestomerge/gpt4-instruct_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
86
+ DansPileOfSets-Vicuna/filestomerge/leet10k-alpaca_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
87
+ DansPileOfSets-Vicuna/filestomerge/leet10k-alpaca_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
88
+ DansPileOfSets-Vicuna/filestomerge/math_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
89
+ DansPileOfSets-Vicuna/filestomerge/math_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
90
+ DansPileOfSets-Vicuna/filestomerge/physics_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
91
+ DansPileOfSets-Vicuna/filestomerge/physics_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
92
+ DansPileOfSets-Vicuna/filestomerge/superCoT_allcleaned-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
93
+ DansPileOfSets-Vicuna/filestomerge/superCoT_allcleaned-vicuna.json filter=lfs diff=lfs merge=lfs -text
94
+ DansPileOfSets-Vicuna/filestomerge/wizard_allcleaned_scrubbed-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
95
+ DansPileOfSets-Vicuna/filestomerge/wizard_allcleaned_scrubbed-vicuna.json filter=lfs diff=lfs merge=lfs -text
96
+ DansPileOfSets-Vicuna/merged_deduped_culled-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
97
+ DansPileOfSets-Vicuna/merged_deduped_culled-vicuna.json filter=lfs diff=lfs merge=lfs -text
98
+ DansPileOfSets-Vicuna/test_merge_deduped-vicuna-nounicode.json filter=lfs diff=lfs merge=lfs -text
99
+ DansPileOfSets-Vicuna/test_merge_deduped-vicuna.json filter=lfs diff=lfs merge=lfs -text
DansPileOfSets-Vicuna/convert-to-vicuna.js ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const fs = require("fs");
2
+
3
+ let inputArray = JSON.parse(fs.readFileSync("test_merge_deduped.json", "utf8"));
4
+
5
+ let destArray = [];
6
+
7
+ for (let i = 0; i < inputArray.length; i++)
8
+ {
9
+
10
+ let value = inputArray[i];
11
+
12
+ let destObj = {};
13
+ destObj.id = generateId();
14
+
15
+ destObj.conversations = [];
16
+ let conversation = {};
17
+
18
+ conversation.from = "human";
19
+ conversation.value = value.instruction + " " + value.input;
20
+
21
+ destObj.conversations.push(conversation);
22
+
23
+ conversation = {};
24
+
25
+ conversation.from = "gpt";
26
+ conversation.value = value.output;
27
+
28
+ destObj.conversations.push(conversation);
29
+
30
+ destArray.push(destObj);
31
+ }
32
+
33
+
34
+ fs.writeFileSync("test_merge_deduped-vicuna.json", JSON.stringify(destArray, null, 2), "utf8");
35
+ console.log("Done.");
36
+ // This is just a best guess at ID formats based on the ShareGPT format
37
+ function generateId()
38
+ {
39
+ let chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
40
+
41
+ let id = "";
42
+ for (let i = 0; i < 6; i++)
43
+ {
44
+ // Get a random index from the possible characters
45
+ let index = Math.floor(Math.random() * 62);
46
+ // Append the character at that index to the id string
47
+ id += chars[index];
48
+ }
49
+ //Append a random _XX to the id.
50
+ id += "_" + Math.floor(Math.random() * 100);
51
+
52
+ return id;
53
+ }
DansPileOfSets-Vicuna/filestomerge/ai_society_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f08ef48e5ae9b295a9a77e9211d95374128858a6e97101c8004d833250f5bd2
3
+ size 74566742
DansPileOfSets-Vicuna/filestomerge/ai_society_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bc0fa3fc48cd2759aae63380318b842c7938573e55e6a533fdd3aedccd94597a
3
+ size 75914729
DansPileOfSets-Vicuna/filestomerge/biology_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb86bc11e0a35c53cdf6dcd650df17bdcb56c5611be3d666e3049913ba9a68f8
3
+ size 37169283
DansPileOfSets-Vicuna/filestomerge/biology_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26551e5e20066ab9db3265f5872b041eac762746682f45a745eca260c4278990
3
+ size 39796667
DansPileOfSets-Vicuna/filestomerge/chemistry_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:274e10f7644172c36fc11df9bfddcd276bc3d0f52fa7a8473919a22268cc4f93
3
+ size 25815869
DansPileOfSets-Vicuna/filestomerge/chemistry_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08bd144238c3e5cb91877d9f9ac910a6877a0cc10000df6ccfb0933f7e5c925d
3
+ size 41062645
DansPileOfSets-Vicuna/filestomerge/dolly_allcleaned-vicuna-nounicode.json ADDED
The diff for this file is too large to render. See raw diff
 
DansPileOfSets-Vicuna/filestomerge/dolly_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cbb60a4617bb64a19308330ac292a2703c99ca4237a69afade6f77909778b9f
3
+ size 11468513
DansPileOfSets-Vicuna/filestomerge/godot_dodo_4x_60k_data_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5858fa3004d37a53f5bfa704244c910cb8b0ce549c3a536ad08b6e1f3dadfefd
3
+ size 36283897
DansPileOfSets-Vicuna/filestomerge/godot_dodo_4x_60k_data_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:879956c4bf60ee555866671ffefb33e2c2cdadac1b5407e083a3302b33fae2e9
3
+ size 37375924
DansPileOfSets-Vicuna/filestomerge/gpt4-instruct_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5115f87a19bf2e6736e4179294cc48ace9f8c84c33f38e620d288ffac2116977
3
+ size 10994865
DansPileOfSets-Vicuna/filestomerge/gpt4-instruct_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e8b75a991c806f1763a2b0dd84eb7784fd2ac0c19813a642cd448833e7678ae
3
+ size 11548094
DansPileOfSets-Vicuna/filestomerge/gsm8k_train_allcleaned-vicuna-nounicode.json ADDED
The diff for this file is too large to render. See raw diff
 
DansPileOfSets-Vicuna/filestomerge/gsm8k_train_allcleaned-vicuna.json ADDED
The diff for this file is too large to render. See raw diff
 
DansPileOfSets-Vicuna/filestomerge/leet10k-alpaca_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a997e38ec6e701f75d6bbb1301677ec4131941be8e04ff839bf5e4a829006a32
3
+ size 25549095
DansPileOfSets-Vicuna/filestomerge/leet10k-alpaca_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d50d7a0034bae9fe90078eaabceed427800f643cb33a01f1f680f7d4e82625d
3
+ size 26651655
DansPileOfSets-Vicuna/filestomerge/math_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9f1c784a5b3f48e3063a7a7809f3fd715fcb0df06e76a89bfaf428f839e1788
3
+ size 35659261
DansPileOfSets-Vicuna/filestomerge/math_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3233b2010e6eaf34146d137d207335d69fe9022907b85ace024fe3cffc3c00a7
3
+ size 77831068
DansPileOfSets-Vicuna/filestomerge/physics_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9503282c1d6d1f66eb578d54fb7694377387d806521849d05c9793ce3197d83e
3
+ size 28036448
DansPileOfSets-Vicuna/filestomerge/physics_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca37cdf1d0789d5fa19e8f52e0eb31a5434653ee6e2aa7334cd240d40d09635a
3
+ size 46747790
DansPileOfSets-Vicuna/filestomerge/qasc_train_allcleaned-vicuna.json ADDED
The diff for this file is too large to render. See raw diff
 
DansPileOfSets-Vicuna/filestomerge/superCoT_allcleaned-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:425052c8eb0b234ff649895e9455573cef444d9dc30594c99916769176b4147e
3
+ size 33475986
DansPileOfSets-Vicuna/filestomerge/superCoT_allcleaned-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d379db87fa0616238c00b7e51a8a41324dc022924c7c5734e459f75128df3b2
3
+ size 37694257
DansPileOfSets-Vicuna/filestomerge/wizard_allcleaned_scrubbed-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f6ff591e1df2da6369b0b8d121276c2178e405e6b8c0b91c284267b49a3a5c1
3
+ size 83913583
DansPileOfSets-Vicuna/filestomerge/wizard_allcleaned_scrubbed-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ecd010f606d0eaa61db147ff622b5e502fe4dc89649c7295312c1414e884196
3
+ size 89216825
DansPileOfSets-Vicuna/merge_json.js ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ const fs = require('fs');
2
+
3
+ function loadAndConcatJSON(files, callback)
4
+ {
5
+ let data = [];
6
+ for (let file of files)
7
+ {
8
+ data.push(require(file));
9
+ }
10
+
11
+ let output = [].concat(...data);
12
+ output = JSON.stringify(output);
13
+
14
+ fs.writeFile('output.json', output, err =>
15
+ {
16
+ if (err)
17
+ {
18
+ callback(err);
19
+ } else
20
+ {
21
+ callback(null, output);
22
+ }
23
+ });
24
+ }
25
+
26
+
27
+ loadAndConcatJSON(['./filtered-vicuna-formatted.json', './filtered.json'], (err, result) => {
28
+ if (err)
29
+ {
30
+ console.error(err);
31
+ }
32
+ else
33
+ {
34
+ console.log("Merged JSON files.");
35
+ }
36
+ });
DansPileOfSets-Vicuna/merged_deduped_culled-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ca1cf5a38e06db79f5995b6f3e447c91b47140913a5f190a23e538f4cee0257
3
+ size 56744208
DansPileOfSets-Vicuna/merged_deduped_culled-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87829ef7c4f2d5ed6e551e062e86d2df440f0ba32bc7e17e4e13ee2b799fff8b
3
+ size 75461090
DansPileOfSets-Vicuna/test_merge_deduped-vicuna-nounicode.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e877c39222d381eb30d1c8e08aa760b2ac1f82359de17fd9af40efa08f3c5ba
3
+ size 68478573
DansPileOfSets-Vicuna/test_merge_deduped-vicuna.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:114e6fbaf64649ce3e9f9490b5abd120c0437dcd40e472663ba015b41abdfede
3
+ size 90519443