oliverkinch commited on
Commit
2a55caf
1 Parent(s): 39c0689

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +102 -9
README.md CHANGED
@@ -1,30 +1,123 @@
1
  ---
2
- language:
3
- - da
4
- size_categories:
5
- - 10K<n<100K
6
- pretty_name: Nordjylland News - Image caption dataset
7
  dataset_info:
8
  features:
9
  - name: image
10
  dtype: image
 
 
 
 
 
 
11
  - name: caption
12
  dtype: string
13
  splits:
14
  - name: train
15
- num_bytes: 10338711149.808
16
  num_examples: 11707
17
- download_size: 11001038121
18
- dataset_size: 10338711149.808
19
  configs:
20
  - config_name: default
21
  data_files:
22
  - split: train
23
  path: data/train-*
 
 
24
  tags:
25
  - Image captioning
 
 
 
26
  ---
27
  # Dataset Card for "nordjylland-news-image-captioning"
28
- This dataset is a collection of image-caption pairs from the Danish newspaper TV2 Nord.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
 
30
  The dataset has been collected through the TV2 Nord API, which can be accessed [here](https://developer.bazo.dk/#876ab6f9-e057-43e3-897a-1563de34397e).
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: image
5
  dtype: image
6
+ - name: canonical
7
+ dtype: string
8
+ - name: uuid
9
+ dtype: string
10
+ - name: download_url
11
+ dtype: string
12
  - name: caption
13
  dtype: string
14
  splits:
15
  - name: train
16
+ num_bytes: 10341164216.808
17
  num_examples: 11707
18
+ download_size: 11002607252
19
+ dataset_size: 10341164216.808
20
  configs:
21
  - config_name: default
22
  data_files:
23
  - split: train
24
  path: data/train-*
25
+ language:
26
+ - da
27
  tags:
28
  - Image captioning
29
+ pretty_name: Nordjylland News - Image caption dataset
30
+ size_categories:
31
+ - 10K<n<100K
32
  ---
33
  # Dataset Card for "nordjylland-news-image-captioning"
34
+
35
+ ## Dataset Description
36
+
37
+ - **Point of Contact:** [Oliver Kinch](mailto:oliver.kinch@alexandra.dk)
38
+ - **Size of dataset:** 11 GB
39
+
40
+ ### Dataset Summary
41
+
42
+ This dataset is a collection of image-caption pairs from the Danish newspaper [TV2 Nord](https://www.tv2nord.dk/).
43
+
44
+ ### Supported Tasks and Leaderboards
45
+
46
+ Image captioning is the intended task for this dataset. No leaderboard is active at this point.
47
+
48
+ ### Languages
49
+
50
+ The dataset is available in Danish (`da`).
51
+
52
+ ## Dataset Structure
53
+
54
+ An example from the dataset looks as follows.
55
+
56
+ ```
57
+ {
58
+ "file_name": "1.jpg",
59
+ "caption": "Bruno Sørensen og Poul Erik Pedersen er ofte at finde i Fyensgade Centret."
60
+ }
61
+ ```
62
+
63
+ ### Data Fields
64
+
65
+ - `file_name`: a `string` giving the file name of the image.
66
+ - `caption`: a `string` feature.
67
+
68
+ ### Dataset Statistics
69
+
70
+ #### Number of samples
71
+
72
+ 11707
73
+
74
+ #### Image sizes
75
+
76
+ All images in the dataset are in RGB format, but they exhibit varying resolutions:
77
+
78
+ - Width ranges from 73 to 11,830 pixels.
79
+
80
+ - Height ranges from 38 to 8,268 pixels.
81
+
82
+ The side length of a square image with the same number of pixels as an image with height \\(h \\) and width \\(w \\) is approximately given as
83
+
84
+ \\( x = \text{int}({{\sqrt{h \cdot w}})} \\).
85
+
86
+ Plotting the distribution of \\( x \\) gives an insight into the sizes of the images in the dataset.
87
+
88
+ ![image_size_distribution](https://cdn-uploads.huggingface.co/production/uploads/61e0713ac50610f535ed2c88/3vTJYjd8hMotJuc4X0_3b.png)
89
+
90
+ #### Caption Length Distribution
91
+
92
+ ![caption_length_distribution.png](https://cdn-uploads.huggingface.co/production/uploads/61e0713ac50610f535ed2c88/KufgJKKzGdXpfJgdHNxax.png)
93
+
94
+
95
+ ## Potential Dataset Issues
96
+ - There are 14 images with the caption "Arkivfoto".
97
+
98
+ - There are 37 images with captions consisting solely of a source reference, such as "Kilde: \<name of source\>."
99
+
100
+ You might want to consider excluding these samples from the model training process.
101
+
102
+
103
+ ## Dataset Creation
104
+
105
+ ### Curation Rationale
106
+
107
+ There are not many large-scale image-captioning datasets in Danish.
108
+
109
+ ### Source Data
110
 
111
  The dataset has been collected through the TV2 Nord API, which can be accessed [here](https://developer.bazo.dk/#876ab6f9-e057-43e3-897a-1563de34397e).
112
+
113
+ ## Additional Information
114
+
115
+ ### Dataset Curators
116
+
117
+ [Oliver Kinch](https://huggingface.co/oliverkinch) from the [The Alexandra
118
+ Institute](https://alexandra.dk/)
119
+
120
+ ### Licensing Information
121
+
122
+ The dataset is licensed under the [CC0
123
+ license](https://creativecommons.org/share-your-work/public-domain/cc0/).