add data
Browse files- .gitattributes +1 -0
- README.md +33 -0
- web/train.csv +3 -0
- web/valid.csv +3 -0
- wiktionary/train.csv +3 -0
- wiktionary/valid.csv +3 -0
.gitattributes
CHANGED
@@ -53,3 +53,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
56 |
+
*.csv filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
@@ -1,3 +1,36 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: mit
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
configs:
|
3 |
+
- config_name: web
|
4 |
+
data_files:
|
5 |
+
- split: train
|
6 |
+
path: "web/train.csv"
|
7 |
+
- split: validation
|
8 |
+
path: "web/valid.csv"
|
9 |
+
- config_name: wiktionary
|
10 |
+
data_files:
|
11 |
+
- split: train
|
12 |
+
path: "wiktionary/train.csv"
|
13 |
+
- split: validation
|
14 |
+
path: "wiktionary/valid.csv"
|
15 |
license: mit
|
16 |
---
|
17 |
+
|
18 |
+
# CompoundPiece
|
19 |
+
|
20 |
+
Dataset of compound words for the paper [CompoundPiece: Evaluating and Improving Decompounding Performance of Language Models](https://arxiv.org/abs/2305.14214).
|
21 |
+
|
22 |
+
Load the balanced dataset of hyphens and non-hyphenated words scraped from the web (used as pretraining data):
|
23 |
+
|
24 |
+
```python
|
25 |
+
load_dataset("benjamin/compoundpiece", "web")
|
26 |
+
```
|
27 |
+
|
28 |
+
Load the dataset of compound and non-compound words (used for fine-tuning):
|
29 |
+
|
30 |
+
```python
|
31 |
+
load_dataset("benjamin/compoundpiece", "wiktionary")
|
32 |
+
```
|
33 |
+
|
34 |
+
# License
|
35 |
+
|
36 |
+
MIT
|
web/train.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dba5d3fd1798e9f1bc208b5212464f352ae491dd727c7ac863e56369b4b51fde
|
3 |
+
size 1427533208
|
web/valid.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74dcda0c811d23016c738c3f0e1a82af5b489efabd80694160254f5c7488007f
|
3 |
+
size 3820765
|
wiktionary/train.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa5be2e20d04cbf8b352af0653e02a04ae9a1fd21845ea15934b23c5a97ac102
|
3 |
+
size 11376987
|
wiktionary/valid.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53aa66f7627ad3a6b33777c3648c7577b6c7f7fefb6eb1ce4d881a97c73e99a6
|
3 |
+
size 1537503
|