File size: 518 Bytes
54ba5b6
 
 
 
 
 
 
 
 
85077d4
54ba5b6
85077d4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
configs:
- config_name: default
  data_files: "*.tsv"
  sep: "\t"
size_categories:
- n<1K
---

# [doc] formats - tsv - 2

This dataset contains one tsv file at the root:

- [data.tsv](./data.tsv)

```csv
kind	sound
dog	woof
cat	meow
pokemon	pika
human	hello
```

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:

```yaml
configs:
- config_name: default
  data_files: "*.tsv"
  sep: "\t"
size_categories:
- n<1K
```