Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
### Loading the training split as follows:
|
2 |
+
```py
|
3 |
+
from datasets import load_dataset
|
4 |
+
|
5 |
+
ds_train = load_dataset("Arabic-Clip/Arabic_3M_5M_ViT-B-16-SigLIP-512", split="train")
|
6 |
+
|
7 |
+
ds_train
|
8 |
+
|
9 |
+
# Dataset({
|
10 |
+
# features: ['index', 'url', 'en_caption', 'embeddings_en', 'caption_ar'],
|
11 |
+
# num_rows: 2000000
|
12 |
+
# })
|
13 |
+
|
14 |
+
```
|
15 |
+
|
16 |
+
### Loading the validation split as follows:
|
17 |
+
```py
|
18 |
+
from datasets import load_dataset
|
19 |
+
|
20 |
+
ds_validation = load_dataset("Arabic-Clip/Arabic_3M_5M_ViT-B-16-SigLIP-512", split="validation")
|
21 |
+
|
22 |
+
ds_validation
|
23 |
+
|
24 |
+
# Dataset({
|
25 |
+
# features: ['index', 'url', 'en_caption', 'embeddings_en', 'caption_ar'],
|
26 |
+
# num_rows: 5000
|
27 |
+
# })
|