|
### Loading the training split as follows: |
|
```py |
|
from datasets import load_dataset |
|
|
|
ds_train = load_dataset("Arabic-Clip/Arabic_3M_5M_ViT-B-16-SigLIP-512", split="train") |
|
|
|
ds_train |
|
|
|
# Dataset({ |
|
# features: ['index', 'url', 'en_caption', 'embeddings_en', 'caption_ar'], |
|
# num_rows: 2000000 |
|
# }) |
|
|
|
``` |
|
|
|
### Loading the validation split as follows: |
|
```py |
|
from datasets import load_dataset |
|
|
|
ds_validation = load_dataset("Arabic-Clip/Arabic_3M_5M_ViT-B-16-SigLIP-512", split="validation") |
|
|
|
ds_validation |
|
|
|
# Dataset({ |
|
# features: ['index', 'url', 'en_caption', 'embeddings_en', 'caption_ar'], |
|
# num_rows: 5000 |
|
# }) |
|
|