AmirMohseni commited on
Commit
fd7aa4a
·
verified ·
1 Parent(s): 711097a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +69 -3
README.md CHANGED
@@ -1,3 +1,69 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - text-classification
5
+ ---
6
+
7
+ # GroceryList Dataset
8
+
9
+ ## Dataset Summary
10
+
11
+ The **GroceryList** dataset consists of grocery items and their corresponding categories. It is designed to assist in tasks such as grocery item classification, shopping list organization, and natural language understanding related to common grocery-related terms. The dataset contains only a training split and is not pre-divided into test or validation sets.
12
+
13
+ It includes two main columns:
14
+
15
+ 1. **Item**: Contains the names of various grocery items such as "Apple," "Banana," "Milk," etc.
16
+ 2. **Category**: Corresponds to the category of the grocery item, such as "Produce," "Dairy & Eggs," "Meat & Seafood," etc.
17
+
18
+ This dataset is ideal for machine learning tasks related to text classification, particularly in retail and grocery applications.
19
+
20
+ ---
21
+
22
+ ## Supported Tasks and Use Cases
23
+
24
+ The **GroceryList** dataset supports the following tasks:
25
+
26
+ - **Text Classification**: Classifying grocery items into predefined categories.
27
+ - **Shopping List Categorization**: Automatically organizing items in shopping lists into categories.
28
+ - **Retail Data Analysis**: Developing models for understanding customer grocery behavior.
29
+
30
+ ---
31
+
32
+ ## Dataset Structure
33
+
34
+ The dataset consists only of a training split. Users can create their own validation and test sets if required.
35
+
36
+ ### Columns:
37
+ - **item** (string): The name of the grocery item (e.g., "Apple," "Milk").
38
+ - **category** (string): The category to which the item belongs (e.g., "Produce," "Dairy & Eggs").
39
+
40
+ ### Example Entry:
41
+ | Item | Category |
42
+ |-------|----------|
43
+ | Apple | Produce |
44
+ | Banana | Produce |
45
+ | Milk | Dairy & Eggs |
46
+
47
+ ---
48
+
49
+ ## Dataset Usage
50
+
51
+ To use the dataset in your Hugging Face environment, load it as follows:
52
+
53
+ ```python
54
+ from datasets import load_dataset
55
+
56
+ dataset = load_dataset("AmirMohseni/GroceryList")
57
+ ```
58
+
59
+ Once loaded, you can preprocess and use the data for text classification or other related tasks. Note that the dataset contains only the training data, and you may want to split it manually for validation and testing.
60
+
61
+ ## License
62
+ This dataset is licensed under the Apache-2.0 License.
63
+
64
+ @dataset{grocerylist,
65
+ title={GroceryList Dataset},
66
+ author={Amir Mohseni},
67
+ year={2024},
68
+ url={https://huggingface.co/datasets/AmirMohseni/GroceryList}
69
+ }