Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,73 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
---
|
4 |
+
|
5 |
+
# Amul Hits Dataset
|
6 |
+
|
7 |
+
## Overview
|
8 |
+
|
9 |
+
The **Amul Hits Dataset** contains a collection of images and their associated metadata from Amul's iconic advertisements and campaigns spanning several decades. This dataset is designed to provide access to high-quality images along with descriptive metadata for each advertisement.
|
10 |
+
|
11 |
+
## Dataset Structure
|
12 |
+
|
13 |
+
The dataset is organized into directories by year, each containing image files. The directory structure is as follows:
|
14 |
+
|
15 |
+
|
16 |
+
Each image file is named descriptively and is accompanied by metadata including:
|
17 |
+
|
18 |
+
- **`year`**: The year of publication (string).
|
19 |
+
- **`image_name`**: The name of the image file (string).
|
20 |
+
- **`image_path`**: Path to the image file (string).
|
21 |
+
- **`title`**: Title or primary text related to the image (string).
|
22 |
+
- **`alt`**: Alternative text describing the image (string).
|
23 |
+
|
24 |
+
## Features
|
25 |
+
|
26 |
+
The dataset includes the following features:
|
27 |
+
|
28 |
+
- **`year`**: The year of publication (string).
|
29 |
+
- **`image_name`**: The name of the image file (string).
|
30 |
+
- **`image`**: The image itself (image).
|
31 |
+
- **`title`**: The title or primary text related to the image (string).
|
32 |
+
- **`alt`**: Alternative text describing the image (string).
|
33 |
+
|
34 |
+
## Usage
|
35 |
+
|
36 |
+
To use this dataset, you need to have the `datasets` library from Hugging Face installed. You can install it using pip:
|
37 |
+
|
38 |
+
```bash
|
39 |
+
pip install datasets
|
40 |
+
```
|
41 |
+
|
42 |
+
Once installed, you can load the dataset using the following code:
|
43 |
+
```python
|
44 |
+
from datasets import load_dataset
|
45 |
+
````
|
46 |
+
# Replace 'your-username/amul-hits-images' with your actual dataset repository name
|
47 |
+
```python
|
48 |
+
dataset = load_dataset("your-username/amul-hits-images")
|
49 |
+
````
|
50 |
+
# Access the data
|
51 |
+
```python
|
52 |
+
print(dataset['train'][0])
|
53 |
+
````
|
54 |
+
|
55 |
+
# Contribution
|
56 |
+
Contributions to the dataset are welcome! If you have suggestions for improvements or additional data, please open an issue or submit a pull request.
|
57 |
+
|
58 |
+
# License
|
59 |
+
This dataset is provided under the [LICENSE_NAME] license. Please refer to the LICENSE file in the repository for detailed license information.
|
60 |
+
|
61 |
+
# Acknowledgements
|
62 |
+
Special thanks to the creators of the Amul Hits advertisements whose work forms the basis of this dataset.
|
63 |
+
|
64 |
+
# Contact
|
65 |
+
For any questions or inquiries, please contact [email protected].
|
66 |
+
|
67 |
+
|
68 |
+
### Customization Notes:
|
69 |
+
- **Replace Placeholders**: Make sure to replace `your-username/amul-hits-images` with your actual Hugging Face repository name.
|
70 |
+
- **License Information**: Update `[LICENSE_NAME]` with the actual license your dataset is provided under, and ensure to include the `LICENSE` file in the repository.
|
71 |
+
- **Contact Details**: Update the contact email with your actual email address.
|
72 |
+
|
73 |
+
This README provides a comprehensive overview and usage instructions for your dataset, making it easier for others to understand and work with your data.
|