Datasets:
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
task_categories:
|
4 |
+
- image-to-text
|
5 |
+
language:
|
6 |
+
- fa
|
7 |
+
tags:
|
8 |
+
- hezar
|
9 |
+
pretty_name: Flickr30K Fa
|
10 |
+
size_categories:
|
11 |
+
- 10K<n<100K
|
12 |
+
---
|
13 |
+
|
14 |
+
The Flickr30K dataset filtered and translated to Persian.
|
15 |
+
|
16 |
+
This dataset was originally made by **Sajjad Ayoubi** and uploaded to Kaggle at [https://www.kaggle.com/datasets/sajjadayobi360/flickrfa](https://www.kaggle.com/datasets/sajjadayobi360/flickrfa).
|
17 |
+
This repo contains the exact dataset split to train/test using a custom sampling criteria and can be directly loaded using HuggingFace datasets or right from Hezar.
|
18 |
+
|
19 |
+
### Usage
|
20 |
+
#### Hugging Face Datasets
|
21 |
+
```
|
22 |
+
pip install datasets
|
23 |
+
```
|
24 |
+
```python
|
25 |
+
from datasets import load_dataset
|
26 |
+
|
27 |
+
dataset = load_dataset("hezarai/flickr30k-fa")
|
28 |
+
```
|
29 |
+
|
30 |
+
#### Hezar
|
31 |
+
```
|
32 |
+
pip install hezar
|
33 |
+
```
|
34 |
+
```python
|
35 |
+
from hezar.data import Dataset
|
36 |
+
|
37 |
+
dataset = Dataset.load("hezarai/flickr30k-fa", split="train")
|
38 |
+
```
|