Upload folder using huggingface_hub
Browse files- .argilla/dataset.json +16 -0
- .argilla/settings.json +120 -0
- .argilla/version.json +3 -0
- README.md +160 -47
.argilla/dataset.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "b66d9570-3f70-4f37-ba79-c713e1049976",
|
| 3 |
+
"name": "darija_tts_validation",
|
| 4 |
+
"guidelines": "# 🎯 Instructions de validation\n\n## Étapes à suivre :\n\n1. **🎧 Écoutez l'audio** : Vérifiez la qualité audio\n2. **📝 Comparez les transcriptions** : Lisez l'originale ET la corrigée\n3. **✅ Donnez votre décision** : Approuvé / À réviser\n5. **💬 Commentez si nécessaire** : Ajoutez des remarques\n\n## Critères de validation :\n- ✅ **Approuvé** : La transcription corrigée est exacte et validée\n- ⚠️ **À réviser** : Nécessite des modifications mineures\n\n**Merci pour votre travail de validation ! 🙏**",
|
| 5 |
+
"allow_extra_metadata": false,
|
| 6 |
+
"status": "ready",
|
| 7 |
+
"distribution": {
|
| 8 |
+
"strategy": "overlap",
|
| 9 |
+
"min_submitted": 1
|
| 10 |
+
},
|
| 11 |
+
"metadata": null,
|
| 12 |
+
"workspace_id": "e708a8d9-8e8c-42a1-987d-20e8e289283f",
|
| 13 |
+
"last_activity_at": "2025-12-22T13:53:23.547298",
|
| 14 |
+
"inserted_at": "2025-12-17T10:21:58.761400",
|
| 15 |
+
"updated_at": "2025-12-17T10:22:00.480912"
|
| 16 |
+
}
|
.argilla/settings.json
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"guidelines": "# 🎯 Instructions de validation\n\n## Étapes à suivre :\n\n1. **🎧 Écoutez l'audio** : Vérifiez la qualité audio\n2. **📝 Comparez les transcriptions** : Lisez l'originale ET la corrigée\n3. **✅ Donnez votre décision** : Approuvé / À réviser\n5. **💬 Commentez si nécessaire** : Ajoutez des remarques\n\n## Critères de validation :\n- ✅ **Approuvé** : La transcription corrigée est exacte et validée\n- ⚠️ **À réviser** : Nécessite des modifications mineures\n\n**Merci pour votre travail de validation ! 🙏**",
|
| 3 |
+
"allow_extra_metadata": false,
|
| 4 |
+
"distribution": {
|
| 5 |
+
"strategy": "overlap",
|
| 6 |
+
"min_submitted": 1
|
| 7 |
+
},
|
| 8 |
+
"fields": [
|
| 9 |
+
{
|
| 10 |
+
"id": "928687d3-693a-43b8-b10d-b1db9d03230a",
|
| 11 |
+
"name": "audio",
|
| 12 |
+
"title": "Audio",
|
| 13 |
+
"required": true,
|
| 14 |
+
"settings": {
|
| 15 |
+
"type": "custom",
|
| 16 |
+
"template": "\n<style>\n .audio-container {\n padding: 15px;\n background: #f5f5f5;\n border-radius: 8px;\n margin: 10px 0;\n }\n .audio-player {\n width: 100%;\n margin-top: 10px;\n }\n .audio-info {\n color: #666;\n font-size: 12px;\n margin-top: 5px;\n }\n</style>\n<div class=\"audio-container\">\n <h4>🎵 Fichier Audio</h4>\n <audio controls class=\"audio-player\">\n <source src=\"{{record.fields.audio.value}}\" type=\"audio/wav\">\n Votre navigateur ne supporte pas l'élément audio.\n </audio>\n <div class=\"audio-info\">\n 💡 Cliquez sur play pour écouter l'audio\n </div>\n</div>\n",
|
| 17 |
+
"advanced_mode": false
|
| 18 |
+
},
|
| 19 |
+
"dataset_id": "b66d9570-3f70-4f37-ba79-c713e1049976",
|
| 20 |
+
"inserted_at": "2025-12-17T10:21:59.872304",
|
| 21 |
+
"updated_at": "2025-12-17T10:21:59.872304"
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"id": "e7fcaeb4-ceac-41da-b767-f2c856f7ce54",
|
| 25 |
+
"name": "transcription_originale",
|
| 26 |
+
"title": "Transcription originale",
|
| 27 |
+
"required": true,
|
| 28 |
+
"settings": {
|
| 29 |
+
"type": "text",
|
| 30 |
+
"use_markdown": false
|
| 31 |
+
},
|
| 32 |
+
"dataset_id": "b66d9570-3f70-4f37-ba79-c713e1049976",
|
| 33 |
+
"inserted_at": "2025-12-17T10:21:59.955459",
|
| 34 |
+
"updated_at": "2025-12-17T10:21:59.955459"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"id": "9610e210-4c88-4df1-8b38-8c70396f872c",
|
| 38 |
+
"name": "transcription_corrigee",
|
| 39 |
+
"title": "Transcription corrigée par l'annotateur",
|
| 40 |
+
"required": true,
|
| 41 |
+
"settings": {
|
| 42 |
+
"type": "text",
|
| 43 |
+
"use_markdown": false
|
| 44 |
+
},
|
| 45 |
+
"dataset_id": "b66d9570-3f70-4f37-ba79-c713e1049976",
|
| 46 |
+
"inserted_at": "2025-12-17T10:22:00.000854",
|
| 47 |
+
"updated_at": "2025-12-17T10:22:00.000854"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"id": "9c850323-359a-408d-b4dc-5d0d9c4968ef",
|
| 51 |
+
"name": "filename",
|
| 52 |
+
"title": "Nom du fichier",
|
| 53 |
+
"required": false,
|
| 54 |
+
"settings": {
|
| 55 |
+
"type": "text",
|
| 56 |
+
"use_markdown": false
|
| 57 |
+
},
|
| 58 |
+
"dataset_id": "b66d9570-3f70-4f37-ba79-c713e1049976",
|
| 59 |
+
"inserted_at": "2025-12-17T10:22:00.064671",
|
| 60 |
+
"updated_at": "2025-12-17T10:22:00.064671"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"id": "4360f6da-4c0b-4e40-809c-fb9aa11acc9d",
|
| 64 |
+
"name": "annotator_info",
|
| 65 |
+
"title": "Information annotateur",
|
| 66 |
+
"required": false,
|
| 67 |
+
"settings": {
|
| 68 |
+
"type": "text",
|
| 69 |
+
"use_markdown": false
|
| 70 |
+
},
|
| 71 |
+
"dataset_id": "b66d9570-3f70-4f37-ba79-c713e1049976",
|
| 72 |
+
"inserted_at": "2025-12-17T10:22:00.112611",
|
| 73 |
+
"updated_at": "2025-12-17T10:22:00.112611"
|
| 74 |
+
}
|
| 75 |
+
],
|
| 76 |
+
"questions": [
|
| 77 |
+
{
|
| 78 |
+
"id": "80fea17f-517f-49c1-a2be-2fddb6c782ae",
|
| 79 |
+
"name": "validation_decision",
|
| 80 |
+
"title": "✅ Décision de validation",
|
| 81 |
+
"description": "Approuvez-vous la transcription corrigée?",
|
| 82 |
+
"required": true,
|
| 83 |
+
"settings": {
|
| 84 |
+
"type": "label_selection",
|
| 85 |
+
"options": [
|
| 86 |
+
{
|
| 87 |
+
"value": "approuvé",
|
| 88 |
+
"text": "approuvé",
|
| 89 |
+
"description": null
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"value": "à réviser",
|
| 93 |
+
"text": "à réviser",
|
| 94 |
+
"description": null
|
| 95 |
+
}
|
| 96 |
+
],
|
| 97 |
+
"visible_options": null
|
| 98 |
+
},
|
| 99 |
+
"dataset_id": "b66d9570-3f70-4f37-ba79-c713e1049976",
|
| 100 |
+
"inserted_at": "2025-12-17T10:22:00.242935",
|
| 101 |
+
"updated_at": "2025-12-17T10:22:00.242935"
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"id": "8975ce1f-3a0c-447c-87fa-85bef4dde20d",
|
| 105 |
+
"name": "validation_comments",
|
| 106 |
+
"title": "💬 Commentaires de validation",
|
| 107 |
+
"description": "Ajoutez vos remarques ou corrections supplémentaires",
|
| 108 |
+
"required": false,
|
| 109 |
+
"settings": {
|
| 110 |
+
"type": "text",
|
| 111 |
+
"use_markdown": false
|
| 112 |
+
},
|
| 113 |
+
"dataset_id": "b66d9570-3f70-4f37-ba79-c713e1049976",
|
| 114 |
+
"inserted_at": "2025-12-17T10:22:00.288017",
|
| 115 |
+
"updated_at": "2025-12-17T10:22:00.288017"
|
| 116 |
+
}
|
| 117 |
+
],
|
| 118 |
+
"metadata": [],
|
| 119 |
+
"vectors": []
|
| 120 |
+
}
|
.argilla/version.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"argilla": "2.8.0"
|
| 3 |
+
}
|
README.md
CHANGED
|
@@ -1,49 +1,162 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
- name: status
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: inserted_at
|
| 9 |
-
dtype: timestamp[us]
|
| 10 |
-
- name: updated_at
|
| 11 |
-
dtype: timestamp[us]
|
| 12 |
-
- name: _server_id
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: audio
|
| 15 |
-
struct:
|
| 16 |
-
- name: value
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: transcription_originale
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: transcription_corrigee
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: filename
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: annotator_info
|
| 25 |
-
dtype: string
|
| 26 |
-
- name: validation_decision.responses
|
| 27 |
-
sequence: string
|
| 28 |
-
- name: validation_decision.responses.users
|
| 29 |
-
sequence: string
|
| 30 |
-
- name: validation_decision.responses.status
|
| 31 |
-
sequence: string
|
| 32 |
-
- name: validation_comments.responses
|
| 33 |
-
sequence: 'null'
|
| 34 |
-
- name: validation_comments.responses.users
|
| 35 |
-
sequence: string
|
| 36 |
-
- name: validation_comments.responses.status
|
| 37 |
-
sequence: string
|
| 38 |
-
splits:
|
| 39 |
-
- name: train
|
| 40 |
-
num_bytes: 2479859
|
| 41 |
-
num_examples: 1
|
| 42 |
-
download_size: 2493009
|
| 43 |
-
dataset_size: 2479859
|
| 44 |
-
configs:
|
| 45 |
-
- config_name: default
|
| 46 |
-
data_files:
|
| 47 |
-
- split: train
|
| 48 |
-
path: data/train-*
|
| 49 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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.com/argilla-io/argilla). As shown in the sections below, this dataset can be loaded into your Argilla server as explained in [Load with Argilla](#load-with-argilla), or used directly with the `datasets` library in [Load with `datasets`](#load-with-datasets).
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
## Using this dataset with Argilla
|
| 20 |
+
|
| 21 |
+
To load with Argilla, you'll just need to install Argilla as `pip install argilla --upgrade` and then use the following code:
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
import argilla as rg
|
| 25 |
+
|
| 26 |
+
ds = rg.Dataset.from_hub("HafssaRabah/TestAudio", settings="auto")
|
| 27 |
+
```
|
| 28 |
+
|
| 29 |
+
This will load the settings and records from the dataset repository and push them to you Argilla server for exploration and annotation.
|
| 30 |
+
|
| 31 |
+
## Using this dataset with `datasets`
|
| 32 |
+
|
| 33 |
+
To load the records of this dataset with `datasets`, you'll just need to install `datasets` as `pip install datasets --upgrade` and then use the following code:
|
| 34 |
+
|
| 35 |
+
```python
|
| 36 |
+
from datasets import load_dataset
|
| 37 |
+
|
| 38 |
+
ds = load_dataset("HafssaRabah/TestAudio")
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
This will only load the records of the dataset, but not the Argilla settings.
|
| 42 |
+
|
| 43 |
+
## Dataset Structure
|
| 44 |
+
|
| 45 |
+
This dataset repo contains:
|
| 46 |
+
|
| 47 |
+
* Dataset records in a format compatible with HuggingFace `datasets`. These records will be loaded automatically when using `rg.Dataset.from_hub` and can be loaded independently using the `datasets` library via `load_dataset`.
|
| 48 |
+
* The [annotation guidelines](#annotation-guidelines) that have been used for building and curating the dataset, if they've been defined in Argilla.
|
| 49 |
+
* A dataset configuration folder conforming to the Argilla dataset format in `.argilla`.
|
| 50 |
+
|
| 51 |
+
The dataset is created in Argilla with: **fields**, **questions**, **suggestions**, **metadata**, **vectors**, and **guidelines**.
|
| 52 |
+
|
| 53 |
+
### Fields
|
| 54 |
+
|
| 55 |
+
The **fields** are the features or text of a dataset's records. For example, the 'text' column of a text classification dataset of the 'prompt' column of an instruction following dataset.
|
| 56 |
+
|
| 57 |
+
| Field Name | Title | Type | Required |
|
| 58 |
+
| ---------- | ----- | ---- | -------- |
|
| 59 |
+
| audio | Audio | custom | True |
|
| 60 |
+
| transcription_originale | Transcription originale | text | True |
|
| 61 |
+
| transcription_corrigee | Transcription corrigée par l'annotateur | text | True |
|
| 62 |
+
| filename | Nom du fichier | text | False |
|
| 63 |
+
| annotator_info | Information annotateur | text | False |
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
### Questions
|
| 67 |
+
|
| 68 |
+
The **questions** are the questions that will be asked to the annotators. They can be of different types, such as rating, text, label_selection, multi_label_selection, or ranking.
|
| 69 |
+
|
| 70 |
+
| Question Name | Title | Type | Required | Description | Values/Labels |
|
| 71 |
+
| ------------- | ----- | ---- | -------- | ----------- | ------------- |
|
| 72 |
+
| validation_decision | ✅ Décision de validation | label_selection | True | Approuvez-vous la transcription corrigée? | ['approuvé', 'à réviser'] |
|
| 73 |
+
| validation_comments | 💬 Commentaires de validation | text | False | Ajoutez vos remarques ou corrections supplémentaires | N/A |
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
<!-- check length of metadata properties -->
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
### Data Splits
|
| 82 |
+
|
| 83 |
+
The dataset contains a single split, which is `train`.
|
| 84 |
+
|
| 85 |
+
## Dataset Creation
|
| 86 |
+
|
| 87 |
+
### Curation Rationale
|
| 88 |
+
|
| 89 |
+
[More Information Needed]
|
| 90 |
+
|
| 91 |
+
### Source Data
|
| 92 |
+
|
| 93 |
+
#### Initial Data Collection and Normalization
|
| 94 |
+
|
| 95 |
+
[More Information Needed]
|
| 96 |
+
|
| 97 |
+
#### Who are the source language producers?
|
| 98 |
+
|
| 99 |
+
[More Information Needed]
|
| 100 |
+
|
| 101 |
+
### Annotations
|
| 102 |
+
|
| 103 |
+
#### Annotation guidelines
|
| 104 |
+
|
| 105 |
+
# 🎯 Instructions de validation
|
| 106 |
+
|
| 107 |
+
## Étapes à suivre :
|
| 108 |
+
|
| 109 |
+
1. **🎧 Écoutez l'audio** : Vérifiez la qualité audio
|
| 110 |
+
2. **📝 Comparez les transcriptions** : Lisez l'originale ET la corrigée
|
| 111 |
+
3. **✅ Donnez votre décision** : Approuvé / À réviser
|
| 112 |
+
5. **💬 Commentez si nécessaire** : Ajoutez des remarques
|
| 113 |
+
|
| 114 |
+
## Critères de validation :
|
| 115 |
+
- ✅ **Approuvé** : La transcription corrigée est exacte et validée
|
| 116 |
+
- ⚠��� **À réviser** : Nécessite des modifications mineures
|
| 117 |
+
|
| 118 |
+
**Merci pour votre travail de validation ! 🙏**
|
| 119 |
+
|
| 120 |
+
#### Annotation process
|
| 121 |
+
|
| 122 |
+
[More Information Needed]
|
| 123 |
+
|
| 124 |
+
#### Who are the annotators?
|
| 125 |
+
|
| 126 |
+
[More Information Needed]
|
| 127 |
+
|
| 128 |
+
### Personal and Sensitive Information
|
| 129 |
+
|
| 130 |
+
[More Information Needed]
|
| 131 |
+
|
| 132 |
+
## Considerations for Using the Data
|
| 133 |
+
|
| 134 |
+
### Social Impact of Dataset
|
| 135 |
+
|
| 136 |
+
[More Information Needed]
|
| 137 |
+
|
| 138 |
+
### Discussion of Biases
|
| 139 |
+
|
| 140 |
+
[More Information Needed]
|
| 141 |
+
|
| 142 |
+
### Other Known Limitations
|
| 143 |
+
|
| 144 |
+
[More Information Needed]
|
| 145 |
+
|
| 146 |
+
## Additional Information
|
| 147 |
+
|
| 148 |
+
### Dataset Curators
|
| 149 |
+
|
| 150 |
+
[More Information Needed]
|
| 151 |
+
|
| 152 |
+
### Licensing Information
|
| 153 |
+
|
| 154 |
+
[More Information Needed]
|
| 155 |
+
|
| 156 |
+
### Citation Information
|
| 157 |
+
|
| 158 |
+
[More Information Needed]
|
| 159 |
+
|
| 160 |
+
### Contributions
|
| 161 |
+
|
| 162 |
+
[More Information Needed]
|