asahi417 commited on
Commit
1fd2c38
1 Parent(s): 1cc73a3
data/tweet_similarity/test.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ddac97d73fa05e1305707ecfb95d5426af79729ce82ab63212e9a9c80349b91e
3
- size 51916
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5c31b7cce0d06ff40439aa844ae22a2df45639c88e4ec6557361806282e515e
3
+ size 120281
data/tweet_similarity/train.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b894ede82e584d33a74c886e1319cde498e4e94a81a71311600992e81ef69f15
3
- size 164161
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa89770bccfa511dd49b155fbf1814c0b5846bfb20aa2755ce21aa19c3517a8f
3
+ size 123474
data/tweet_similarity/validation.jsonl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8fdf57fe843fe21d60da7775bbfe891e33a1ef22acf560ae7d8e67c0bbd534b9
3
- size 56131
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd915d3a8f9b22727afcd37b54afb499952efda8e5d0c9e9dea5effbb350b197
3
+ size 26742
process/tweet_sim.py CHANGED
@@ -7,9 +7,9 @@ tmp = [i.tolist() for i in df.values]
7
  tmp = [{"text_1": a, "text_2": b, "label_float": c} for a, b, c in tmp]
8
  seed(42)
9
  shuffle(tmp)
10
- train = tmp[:600]
11
- val = tmp[600:800]
12
- test = tmp[800:]
13
 
14
  os.makedirs("data/tweet_similarity", exist_ok=True)
15
  with open("data/tweet_similarity/train.jsonl", "w") as f:
 
7
  tmp = [{"text_1": a, "text_2": b, "label_float": c} for a, b, c in tmp]
8
  seed(42)
9
  shuffle(tmp)
10
+ train = tmp[:450]
11
+ val = tmp[450:550]
12
+ test = tmp[550:]
13
 
14
  os.makedirs("data/tweet_similarity", exist_ok=True)
15
  with open("data/tweet_similarity/train.jsonl", "w") as f: