Update README.md
Browse files
README.md
CHANGED
@@ -7,6 +7,27 @@ size_categories:
|
|
7 |
- n<1K
|
8 |
---
|
9 |
|
10 |
-
# [doc]
|
11 |
|
12 |
-
This dataset contains one tsv file at the root
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
- n<1K
|
8 |
---
|
9 |
|
10 |
+
# [doc] formats - tsv - 2
|
11 |
|
12 |
+
This dataset contains one tsv file at the root:
|
13 |
+
|
14 |
+
- [data.tsv](./data.tsv)
|
15 |
+
|
16 |
+
```csv
|
17 |
+
kind sound
|
18 |
+
dog woof
|
19 |
+
cat meow
|
20 |
+
pokemon pika
|
21 |
+
human hello
|
22 |
+
```
|
23 |
+
|
24 |
+
We define the separator as `"\t"` (tabulation) in the YAML config, as well as the config name and the location of the file, with a glob expression:
|
25 |
+
|
26 |
+
```yaml
|
27 |
+
configs:
|
28 |
+
- config_name: default
|
29 |
+
data_files: "*.tsv"
|
30 |
+
sep: "\t"
|
31 |
+
size_categories:
|
32 |
+
- n<1K
|
33 |
+
```
|