File size: 1,935 Bytes
d78207e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a12856f
d78207e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
language:
  - en
license: apache-2.0
tags:
  - text
pretty_name: Amazon ESCI dataset in nixietune format
size_categories:
  - "100K<n<1M"
source_datasets:
  - Amazon ESCI
task_categories:
  - sentence-similarity
dataset_info:
  config_name: default
  features:
  - name: query
    dtype: string
  - name: pos
    dtype: string
  - name: neg
    sequence: string
  - name: negscore
    sequence: float
  splits:
    - name: train
      num_bytes: 361711993
      num_examples: 74589
    - name: test
      num_bytes: 109820429
      num_examples: 22398
    - name: test_1k
      num_bytes: 109820429
      num_examples: 22398
train-eval-index:
  - config: default
    task: sentence-similarity
    splits:
      train_split: train
      eval_split: test
configs:
- config_name: default
  data_files:
  - split: train
    path: "data/train/*"
  - split: test
    path: "data/test/*"
  - split: test_1k
    path: "data/test_1k/*"
---

# Amazon ESCI dataset

A dataset in a [nixietune](https://github.com/nixiesearch/nixietune) compatible format:

```json
{
{
  "query": "# cellist thats not a hashtag",
  "pos": "Funny Cellists That's Not A Hashtag Music Sweatshirt",
  "neg": [
    "Feelin Good Tees My Opinion Offended You Adult Humor T Shirt XL Black",
    "Christian Faith & Cross T-Shirt - Christian Faith T Shirts T-Shirt",
    "PLUS PLUS - 240 Piece Basic Mix - Construction Building Stem/Steam Toy, Mini Puzzle Blocks for Kids",
    "Caution I Learned to Drive Through Video Games - Funny Gamer T-Shirt",
    "People Who Tolerate Me On A Daily Basis T Shirt L Black",
  ]
}
```

This is the expanded version of the [Amazon ESCI small-en](https://github.com/amazon-science/esci-data) dataset:
* can be loaded with [HF datasets](https://huggingface.co/docs/datasets/index) directly.

## Usage

```python
from datasets import load_dataset

data = load_dataset('nixiesearch/amazon-esci', split="train")
```

## License

Apache 2.0