severo HF staff commited on
Commit
85077d4
1 Parent(s): bf10226

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -2
README.md CHANGED
@@ -7,6 +7,27 @@ size_categories:
7
  - n<1K
8
  ---
9
 
10
- # [doc] format - tsv - 2
11
 
12
- This dataset contains one tsv file at the root. We define the separator as `\t` (tabulation) in the YAML config.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ```