severo HF staff commited on
Commit
95c5d29
1 Parent(s): 7ada24e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -2
README.md CHANGED
@@ -1,7 +1,7 @@
1
  ---
2
  configs:
3
  - config_name: default
4
- data_files: "*.tsv"
5
  names: ["kind", "sound"]
6
  size_categories:
7
  - n<1K
@@ -9,4 +9,28 @@ size_categories:
9
 
10
  # [doc] format - tsv - 3
11
 
12
- This dataset contains one tsv file at the root. We provide the name of the columns in the YAML config, since the data file has no header. The delimiter is set to `"\t"` (tabulation) due to the extension of the file. The reference for the options is the [documentation of pandas.read_csv()](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  configs:
3
  - config_name: default
4
+ data_files: "data.tsv"
5
  names: ["kind", "sound"]
6
  size_categories:
7
  - n<1K
 
9
 
10
  # [doc] format - tsv - 3
11
 
12
+ This dataset contains one tsv file at the root:
13
+
14
+ - [data.tsv](./data.tsv)
15
+
16
+ ```tsv
17
+ dog woof
18
+ cat meow
19
+ pokemon pika
20
+ human hello
21
+ ```
22
+
23
+ We define the config name in the YAML config, the file's exact location, and the columns' name. As we provide the `names` option, but not the `header` one, the first row in the file is considered a row of values, not a row of column names. The delimiter is set to `"\t"` (tabulation) due to the file's extension. The reference for the options is the [documentation of pandas.read_csv()](https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html).
24
+
25
+ ```yaml
26
+ ---
27
+ configs:
28
+ - config_name: default
29
+ data_files: "data.tsv"
30
+ names: ["kind", "sound"]
31
+ size_categories:
32
+ - n<1K
33
+ ---
34
+ ```
35
+
36
+