tktung commited on
Commit
a48c597
1 Parent(s): 6733a2d

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -56,3 +56,28 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  # Video files - compressed
57
  *.mp4 filter=lfs diff=lfs merge=lfs -text
58
  *.webm filter=lfs diff=lfs merge=lfs -text
59
+ fineweb-edu_0_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
60
+ fineweb-edu_10_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
61
+ fineweb-edu_11_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ fineweb-edu_12_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
63
+ fineweb-edu_13_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
64
+ fineweb-edu_14_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
65
+ fineweb-edu_15_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
66
+ fineweb-edu_16_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
67
+ fineweb-edu_1_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
68
+ fineweb-edu_20_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
69
+ fineweb-edu_21_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
70
+ fineweb-edu_22_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
71
+ fineweb-edu_23_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
72
+ fineweb-edu_24_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
73
+ fineweb-edu_25_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
74
+ fineweb-edu_26_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
75
+ fineweb-edu_27_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
76
+ fineweb-edu_2_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
77
+ fineweb-edu_3_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
78
+ fineweb-edu_4_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
79
+ fineweb-edu_5_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
80
+ fineweb-edu_6_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
81
+ fineweb-edu_7_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
82
+ fineweb-edu_8_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
83
+ fineweb-edu_9_of_4000_irish.jsonl filter=lfs diff=lfs merge=lfs -text
fineweb-edu_0_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3c395ba4583f57f28f297e801b6a46c090a81cea04136005ac39bd666ee11d4
3
+ size 27013548
fineweb-edu_10_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f14d95cca553386762adaeb7f61d930074f2e05d20c565522b237f2728cf2a80
3
+ size 25759591
fineweb-edu_11_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7532880ad05d05b33386785ef18365bffbac637a0d41ac54074830d2764c7634
3
+ size 26397232
fineweb-edu_12_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8246fa43e72a3b078f0d76f1ac462148d50c2de02f03411a216b613f1df6b193
3
+ size 26101501
fineweb-edu_13_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98d8187644bcc99a12b8720801e019cbf8cf9a8f616b10a77feb9df225ba882c
3
+ size 25182502
fineweb-edu_14_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:577ef387b9422429d979755694cfdd17883b1ea4d0937f3d3426dd8ca69c90ce
3
+ size 27593534
fineweb-edu_15_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad5e9b3750c1adc22c2e070261dbb851eb27fd0253ba6f0181111d5340bc3af
3
+ size 26153916
fineweb-edu_16_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:878d995138d72631877791e016c3e9de3ef374213d90ca7c1ddcf49c6256675b
3
+ size 26113401
fineweb-edu_1_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:332bca3a2b5e13346b334a5d9f0b19545ad7fe6a9719ea06006bd5d510efda7b
3
+ size 25192646
fineweb-edu_20_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c16aec1bfa630c5344ec223a55d1625aafd1f220d2223c26619298e96d7312ad
3
+ size 25579146
fineweb-edu_21_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56913c3b6c8ec5a866c36da2a1e9b258941c789663d387be62b452a9694e899c
3
+ size 26952580
fineweb-edu_22_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:611bc7992b95703a67bc7d856e5ead99c678dbbb0401eac5625577edd788ce13
3
+ size 24428061
fineweb-edu_23_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5b01a7d784fed3ad29c32e98f180f2dc13b6a7e32580604e03eff3950b9248c
3
+ size 25827463
fineweb-edu_24_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11e5f1ede041b34c18ed42735ace8cb02adedd7043719660d0c31c38fd0f6532
3
+ size 26094669
fineweb-edu_25_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a107dd35dce41dd526c24aa8091a8f93fff050dbabe95da5d8d217dfaa47c3a
3
+ size 26023684
fineweb-edu_26_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db2a38cba538d0636253e174c1cd0ef38483af658a2f08aa9b5e75161bae002d
3
+ size 25570279
fineweb-edu_27_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28d0fc2ce5f5d56115f5f07e9080e16c058879471d88e36b47ed4e5ee77f03a1
3
+ size 26477454
fineweb-edu_2_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fb5d7f1782fd68772199b57446e5fd17cb873a02b66025191b9cde9145f650f
3
+ size 27518857
fineweb-edu_3_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afef71cd652cb1c9759eea890600f566b4df29a60a5efd4a962d49d4d3c5fa28
3
+ size 26405608
fineweb-edu_4_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fd189dee5b1de3ddaa6915c6c76fb3e939c96be4e88870c53a6f58c60d6daca5
3
+ size 25440887
fineweb-edu_5_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdb2f0004c191a6e1bccc575e7569cd20ce84399b797138874aae3c8a8ca41d6
3
+ size 28697656
fineweb-edu_6_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9e811548734d8be85204f3a25c07cde166beb53883da6e77f89a1f79711e5a1
3
+ size 26887417
fineweb-edu_7_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1a0a77944c29983dab064379f22e4c094004e5a867fda9d95fab95c30655ed7
3
+ size 27365364
fineweb-edu_8_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81900043c40a3dee5442a7cc995cf7841738b3b73571ad2c3a2cceeac8f9cf94
3
+ size 26777269
fineweb-edu_9_of_4000_irish.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:67526a31a4f502d82cf8d5430c26206049651767cb6d68ed47de8616d89d82b7
3
+ size 25065929
map_irish_english.py ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import pandas as pd
2
+
3
+ NUM_CONCURRENT = 40
4
+ DATASET = 'msmacro_passage'
5
+
6
+ if DATASET == 'nq':
7
+ df_irish = pd.read_json(f'data/irish_data/{DATASET}_irish.jsonl', lines=True)
8
+ df_english = pd.read_json(f'data/echo-data/{DATASET}.jsonl', lines=True)
9
+
10
+ df_english_reshuffled = []
11
+ for i in range(NUM_CONCURRENT):
12
+ curr_df_index = [idx for idx in range(len(df_english)) if idx % NUM_CONCURRENT == i]
13
+ curr_df = df_english.iloc[curr_df_index, :]
14
+ df_english_reshuffled.append(curr_df)
15
+
16
+ df_english_reshuffled = pd.concat(df_english_reshuffled)
17
+ df_english_reshuffled = df_english_reshuffled.reset_index(drop=True)
18
+ import pdb; pdb.set_trace()
19
+
20
+ df_irish['orig_query'] = df_english_reshuffled['query']
21
+ df_irish['orig_negative'] = df_english_reshuffled['negative']
22
+ df_irish['orig_positive'] = df_english_reshuffled['positive']
23
+
24
+ df_irish.to_json(f'data/irish_data/{DATASET}_irish_merged.jsonl', orient='records', lines=True, force_ascii=False)
25
+
26
+ else:
27
+ # 249592 - 178921 = 70,671
28
+ df_query = []
29
+ for i in range(2):
30
+ df = pd.read_json(f'data/irish_data/{DATASET}_{i}_irish.jsonl', lines=True)
31
+ df_query.append(df)
32
+ df_query = pd.concat(df_query)
33
+ df_query = df_query.drop(columns=['negative', 'positive'])
34
+ df_irish = pd.read_json(f'data/irish_data/{DATASET}_irish.jsonl', lines=True)
35
+ df_irish = df_irish.merge(df_query, on='query', how='left')
36
+
37
+ df_irish.to_json(f'data/irish_data/{DATASET}_irish_merged.jsonl', orient='records', lines=True, force_ascii=False)