rain1024 commited on
Commit
32a9d55
·
1 Parent(s): 6223a39
data/UTS_Text_v1.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:05724fd26022e2fb7ae831e257b3123e44c55837022bce29e199db956c36339c
3
- size 154013
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82c545cf8c283ff61a30bce99d37ee9e51f9a1985189c251cc561c8839365cef
3
+ size 155250
data/base/test.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69159f42130659c719811e6c3bb9e67670c15411c5546df8dbd39e92a90701ac
3
- size 126796
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15cc0144e9fce630100d4a4424753f1ce16f4fa76d96a903107fa1169b779d89
3
+ size 48973
data/base/train.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9ad73eff3b05dd4715289e8fd12e7c60d67e3512591ec0d6497d66b3f9f5071
3
- size 13398894
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78476e342df51a9f5ec9efde87158318f1cdac371999394e649f6f8c4d48fe61
3
+ size 1146965
data/base/validation.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3efb0cf65d48751df3a37eb5afa8077f485139f5c3a20522c109993ee29082ad
3
- size 123411
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8274bfea546e0bf12839c8ba8b535ae89c430a9eddf079825bcbf81bf22b0f9f
3
+ size 49953
data/large/test.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aabcf38615760e8068f5021005c795d01bc18f747cde21059af69017f62f447e
3
- size 374562
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3882d170037290cf0ed9ab9a5af77ea55a77557038ffce54c8a893e7ce73b88
3
+ size 247457
data/large/train.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9ad73eff3b05dd4715289e8fd12e7c60d67e3512591ec0d6497d66b3f9f5071
3
- size 13398894
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7618eca0fc85d1b193e20ac7536c0a4f5db85ccfa861ee4c39f019329aef7e8f
3
+ size 11915487
data/large/validation.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:510b34babefad368563fed9f978bc243a727cf5a6bb396b9c9972ffc8016c0fd
3
- size 370544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa3b63a77323eed8357e6db592857217ca3a6e042370237074b07b4e3d5ef77a
3
+ size 246563
data/small/test.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd0a2b2d3006cad7669152de4448c3e88589429730099147642803365e510e16
3
- size 25321
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c67655ebd0b9eee1c1e15fc8f5d3a690d1e8bcf97a11912b1638943e9646f9e
3
+ size 23725
data/small/{train_2.txt → train.txt} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:63c4cbb660fb512ceba6e66e8339c29018f1a9f0a34dd577aac90c3e9c071164
3
- size 201309
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:887cb448de1efb6d951230ccea0061f24e58f8c9d9ddbb939fed8441a3201ba7
3
+ size 199372
data/small/validation.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:107a6e8ac722bb5adeb84642be4e16eabf7d14917b1e978dad4230b7f7be9d32
3
+ size 23995
generate_dataset.py CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e081afb113d54028c79750db168e7aae9b7693a69452aff6d9bc3a84166c3d01
3
- size 1434
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdc7f5742a4a08b7a21667d81f135628b6c152601e776c4b97e628b416da61fe
3
+ size 2454
statistics.py CHANGED
@@ -1,13 +1,3 @@
1
- from os.path import dirname, join
2
-
3
- def count_lines(filepath):
4
- with open(filepath, encoding="utf-8") as f:
5
- lines = f.read().splitlines()
6
- return len(lines)
7
-
8
- pwd = dirname(__file__)
9
- folder = join(pwd, "data", "base")
10
-
11
- print(count_lines(join(folder, "train.txt")))
12
- print(count_lines(join(folder, "validation.txt")))
13
- print(count_lines(join(folder, "test.txt")))
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9122ac27dcc471d32f7631247c106fb38683fcce01e9afd1b2d80ec798e9ecb8
3
+ size 408