Datasets:
Raphaël Bournhonesque
commited on
Commit
·
9f5f92a
1
Parent(s):
53b0674
upload version 1.1
Browse files
README.md
CHANGED
@@ -59,14 +59,14 @@ Annotations guidelines were updated continuously during dataset refinement and m
|
|
59 |
1. ingredient lists in all languages must be annotated.
|
60 |
2. ingredients list should start with the first ingredient, without `ingredient` prefix ("Ingredients:", "Zutaten", "Ingrédients: ") or `language` prefix ("EN:", "FR - ",...)
|
61 |
3. ingredient list containing single ingredients without any `ingredient` or `language` prefix should not be annotated. Otherwise, it's very difficult to know whether the mention is the ingredient list or just a random mention of an ingredient on the packaging.
|
62 |
-
4. We
|
63 |
|
64 |
## Dataset schema
|
65 |
|
66 |
The dataset is made of 2 JSONL files:
|
67 |
|
68 |
-
- `
|
69 |
-
- `
|
70 |
|
71 |
Each sample has the following fields:
|
72 |
|
@@ -78,4 +78,17 @@ Each sample has the following fields:
|
|
78 |
- `meta`: a dict containing additional meta-data about the sample:
|
79 |
- `barcode`: the product barcode of the image that was used
|
80 |
- `image_id`: unique digit identifier of the image for the product
|
81 |
-
- `url`: image URL from which the text was extracted
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
1. ingredient lists in all languages must be annotated.
|
60 |
2. ingredients list should start with the first ingredient, without `ingredient` prefix ("Ingredients:", "Zutaten", "Ingrédients: ") or `language` prefix ("EN:", "FR - ",...)
|
61 |
3. ingredient list containing single ingredients without any `ingredient` or `language` prefix should not be annotated. Otherwise, it's very difficult to know whether the mention is the ingredient list or just a random mention of an ingredient on the packaging.
|
62 |
+
4. We don't include most extra information (allergen, origin, trace) at the end of the ingredient list. We now include organic mentions (as of v1.1 of the dataset). Another exception is when the extra information is in bracket after the ingredient. This rule is in place to make it easier for the detector to know what is an ingredient list and what is not.
|
63 |
|
64 |
## Dataset schema
|
65 |
|
66 |
The dataset is made of 2 JSONL files:
|
67 |
|
68 |
+
- `ingredient_detection_dataset_train.jsonl.gz`: train split, 5065 samples
|
69 |
+
- `ingredient_detection_dataset_test.jsonl.gz`: test split, 556 samples
|
70 |
|
71 |
Each sample has the following fields:
|
72 |
|
|
|
78 |
- `meta`: a dict containing additional meta-data about the sample:
|
79 |
- `barcode`: the product barcode of the image that was used
|
80 |
- `image_id`: unique digit identifier of the image for the product
|
81 |
+
- `url`: image URL from which the text was extracted
|
82 |
+
|
83 |
+
## Versions
|
84 |
+
|
85 |
+
### v1.1
|
86 |
+
|
87 |
+
New version of the dataset with the following modifications:
|
88 |
+
|
89 |
+
- included “*organic”/”*issu de l’agriculture biologique” suffixes as part of the ingredient list. This suffix was added manually as a postprocessing step and it did not make much sense not to include it. This was only included if the mention was just after the ingredient list (if allergen info was in between it was not included).
|
90 |
+
- Some other annotation errors were fixed as well.
|
91 |
+
|
92 |
+
### v1.0
|
93 |
+
|
94 |
+
First version of the dataset
|
ingredient_detection_dataset-v1_test.jsonl.gz → ingredient_detection_dataset_test.jsonl.gz
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1fc0f5b627fac7e9825c96d0a11d6dca39865ffbfcab7ebc2529116aac7ade90
|
3 |
+
size 365163
|
ingredient_detection_dataset-v1_train.jsonl.gz → ingredient_detection_dataset_train.jsonl.gz
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a7cdf1be46548e049328cb57a3e280e7c2d5c195c48d34832274ae1151565995
|
3 |
+
size 3154206
|