update
Browse files- data/UTS_Text_v1.txt +2 -2
- data/base/test.txt +2 -2
- data/base/train.txt +2 -2
- data/base/validation.txt +2 -2
- data/large/test.txt +2 -2
- data/large/train.txt +2 -2
- data/large/validation.txt +2 -2
- data/small/test.txt +2 -2
- data/small/{train_2.txt → train.txt} +2 -2
- data/small/validation.txt +3 -0
- generate_dataset.py +2 -2
- statistics.py +3 -13
data/UTS_Text_v1.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cdc7f5742a4a08b7a21667d81f135628b6c152601e776c4b97e628b416da61fe
|
3 |
+
size 2454
|
statistics.py
CHANGED
@@ -1,13 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|