Updated README.md
Browse files
README.md
CHANGED
|
@@ -45,73 +45,126 @@ The BoDmagh dataset is a Supervised Fine-Tuning (SFT) dataset for the Darija lan
|
|
| 45 |
|
| 46 |
I update the dataset daily, so make sure to check the repository regularly.
|
| 47 |
|
| 48 |
-
## Time
|
| 49 |
|
| 50 |
-
Creating this dataset has been a labor of love. Iโve dedicated approximately **
|
| 51 |
|
| 52 |
## Content
|
| 53 |
|
| 54 |
### 1. Structure
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
Here are
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
```json
|
| 61 |
-
|
| 62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
{
|
| 64 |
"role": "user",
|
| 65 |
-
"content": "
|
| 66 |
},
|
| 67 |
{
|
| 68 |
"role": "assistant",
|
| 69 |
-
"content": "
|
| 70 |
},
|
| 71 |
{
|
| 72 |
"role": "user",
|
| 73 |
-
"content": "
|
| 74 |
},
|
| 75 |
{
|
| 76 |
"role": "assistant",
|
| 77 |
-
"content": "
|
| 78 |
},
|
| 79 |
{
|
| 80 |
"role": "user",
|
| 81 |
-
"content": "
|
| 82 |
},
|
| 83 |
{
|
| 84 |
"role": "assistant",
|
| 85 |
-
"content": "
|
| 86 |
},
|
| 87 |
{
|
| 88 |
"role": "user",
|
| 89 |
-
"content": "
|
| 90 |
},
|
| 91 |
{
|
| 92 |
"role": "assistant",
|
| 93 |
-
"content": "
|
| 94 |
}
|
| 95 |
],
|
| 96 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
{
|
| 98 |
"role": "user",
|
| 99 |
-
"content": "
|
| 100 |
},
|
| 101 |
{
|
| 102 |
"role": "assistant",
|
| 103 |
-
"content": "
|
| 104 |
},
|
| 105 |
{
|
| 106 |
"role": "user",
|
| 107 |
-
"content": "
|
| 108 |
},
|
| 109 |
{
|
| 110 |
"role": "assistant",
|
| 111 |
-
"content": "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
}
|
| 113 |
-
]
|
| 114 |
-
|
|
|
|
|
|
|
|
|
|
| 115 |
```
|
| 116 |
|
| 117 |
### 2. Assistant's name
|
|
@@ -164,6 +217,7 @@ As I mentioned, I'm manually creating this dataset to ensure high quality. If yo
|
|
| 164 |
|
| 165 |
You can contact me through:
|
| 166 |
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
|
|
|
|
|
| 45 |
|
| 46 |
I update the dataset daily, so make sure to check the repository regularly.
|
| 47 |
|
| 48 |
+
## Time spent
|
| 49 |
|
| 50 |
+
Creating this dataset has been a labor of love. Iโve dedicated approximately **14 hours and 40 minutes** so far, manually curating each entry to ensure high quality. I continue to add new entries daily, so this number will keep growing.
|
| 51 |
|
| 52 |
## Content
|
| 53 |
|
| 54 |
### 1. Structure
|
| 55 |
|
| 56 |
+
The dataset is a JSON file containing a list of objects. Each object represents a single conversation entry and includes several metadata fields along with the conversation itself.
|
| 57 |
|
| 58 |
+
Here are the main fields within each conversation object:
|
| 59 |
+
|
| 60 |
+
* **`id`**: A unique integer identifier for the conversation.
|
| 61 |
+
* **`conversation`**: A list of message objects representing the turns in the conversation. Each message object has:
|
| 62 |
+
* `role`: Either `user` or `assistant`.
|
| 63 |
+
* `content`: The text content of the message turn (plain text).
|
| 64 |
+
* **`token_count`**: The total number of tokens in the `conversation` field, calculated using the [darija tokenizer](https://github.com/ImadSaddik/DarijaTokenizers).
|
| 65 |
+
* **`turns_count`**: The total number of turns (messages) in the `conversation`.
|
| 66 |
+
* **`markdown_conversation`**: A list of message objects similar to `conversation`, but the `content` may include Markdown formatting (e.g., bolding, lists) where applicable.
|
| 67 |
+
* **`source`**: Indicates how the conversation was generated (e.g., "Manually generated").
|
| 68 |
+
* **`topic`**: A label indicating the primary topic of the conversation (e.g., "Science", "Travel", "Chit-chat/Games/Humor").
|
| 69 |
+
* **`safety_flags`**: A list of strings indicating any safety concerns identified in the conversation (e.g., `["harmful_content_request", "refusal"]`). An empty list `[]` means the conversation is considered safe.
|
| 70 |
+
|
| 71 |
+
*Note: The `system` message is not included, but you can add it if needed for your specific fine-tuning format.*
|
| 72 |
+
|
| 73 |
+
Here is an example of a single conversation object:
|
| 74 |
|
| 75 |
```json
|
| 76 |
+
{
|
| 77 |
+
"id": 74,
|
| 78 |
+
"conversation": [
|
| 79 |
+
{
|
| 80 |
+
"role": "user",
|
| 81 |
+
"content": "ุดุญุงู ุจุนูุฏุฉ ุนูููุง ุงูุดู
ุณุ"
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"role": "assistant",
|
| 85 |
+
"content": "ุงูุดู
ุณ ุจุนูุฏุฉ ุนูููุง ุจ 150 ู
ูููู ููููู
ุชุฑ ุชูุฑูุจุง."
|
| 86 |
+
},
|
| 87 |
{
|
| 88 |
"role": "user",
|
| 89 |
+
"content": "ูููู ูููู ุดุญุงู ุจุนูุฏุงุงุงุง."
|
| 90 |
},
|
| 91 |
{
|
| 92 |
"role": "assistant",
|
| 93 |
+
"content": "ูุงููู ุฑุงู ูุงุฏ ุงูููู ูุจูุฑ ุจุฒุงู ุตุนูุจ ุงููุงุญุฏ ูุชุฎูู ุงููุจูุฑูุฉ ุฏูุงูู."
|
| 94 |
},
|
| 95 |
{
|
| 96 |
"role": "user",
|
| 97 |
+
"content": "ุดูุงููุฉ ุณูุฉ ุถูุฆูุฉุ"
|
| 98 |
},
|
| 99 |
{
|
| 100 |
"role": "assistant",
|
| 101 |
+
"content": "ูู ุงูู
ุณุงูุฉ ุงููู ุงูุถู ููุถุฑุจูุง ูุนุงู
."
|
| 102 |
},
|
| 103 |
{
|
| 104 |
"role": "user",
|
| 105 |
+
"content": "ุดุญุงู ูููุง ู
ู ููููู
ุชุฑุ"
|
| 106 |
},
|
| 107 |
{
|
| 108 |
"role": "assistant",
|
| 109 |
+
"content": "ุณูุฉ ุถูุฆูุฉ ูููุง 9.461 ุชุฑููููู ููููู
ุชุฑ."
|
| 110 |
},
|
| 111 |
{
|
| 112 |
"role": "user",
|
| 113 |
+
"content": "ูุงููู ุงุชุง ุจุฒุงู ูุงุฏ ุงูููู."
|
| 114 |
},
|
| 115 |
{
|
| 116 |
"role": "assistant",
|
| 117 |
+
"content": "ุงูู ุนูุฏู ุดู ุณุคุงู ุฎูุฑ ุบูููุงูู."
|
| 118 |
}
|
| 119 |
],
|
| 120 |
+
"token_count": 97,
|
| 121 |
+
"turns_count": 10,
|
| 122 |
+
"markdown_conversation": [
|
| 123 |
+
{
|
| 124 |
+
"role": "user",
|
| 125 |
+
"content": "ุดุญุงู ุจุนูุฏุฉ ุนูููุง ุงูุดู
ุณุ"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"role": "assistant",
|
| 129 |
+
"content": "ุงูุดู
ุณ ุจุนูุฏุฉ ุนูููุง ุจ **150 ู
ูููู ููููู
ุชุฑ** ุชูุฑูุจุง."
|
| 130 |
+
},
|
| 131 |
{
|
| 132 |
"role": "user",
|
| 133 |
+
"content": "ูููู ูููู ุดุญุงู ุจุนูุฏุงุงุงุง."
|
| 134 |
},
|
| 135 |
{
|
| 136 |
"role": "assistant",
|
| 137 |
+
"content": "ูุงููู ุฑุงู ูุงุฏ ุงูููู ูุจูุฑ ุจุฒุงู ุตุนูุจ ุงููุงุญุฏ ูุชุฎูู ุงููุจูุฑูุฉ ุฏูุงูู."
|
| 138 |
},
|
| 139 |
{
|
| 140 |
"role": "user",
|
| 141 |
+
"content": "ุดูุงููุฉ ุณูุฉ ุถูุฆูุฉุ"
|
| 142 |
},
|
| 143 |
{
|
| 144 |
"role": "assistant",
|
| 145 |
+
"content": "ูู ุงูู
ุณุงูุฉ ุงููู ุงูุถู ููุถุฑุจูุง ูุนุงู
."
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"role": "user",
|
| 149 |
+
"content": "ุดุญุงู ูููุง ู
ู ููููู
ุชุฑุ"
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"role": "assistant",
|
| 153 |
+
"content": "ุณูุฉ ุถูุฆูุฉ ูููุง **9.461 ุชุฑููููู ููููู
ุชุฑ**."
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"role": "user",
|
| 157 |
+
"content": "ูุงููู ุงุชุง ุจุฒุงู ูุงุฏ ุงูููู."
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"role": "assistant",
|
| 161 |
+
"content": "ุงูู ุนูุฏู ุดู ุณุคุงู ุฎูุฑ ุบูููุงูู."
|
| 162 |
}
|
| 163 |
+
],
|
| 164 |
+
"source": "Manually generated",
|
| 165 |
+
"topic": "Science",
|
| 166 |
+
"safety_flags": []
|
| 167 |
+
}
|
| 168 |
```
|
| 169 |
|
| 170 |
### 2. Assistant's name
|
|
|
|
| 217 |
|
| 218 |
You can contact me through:
|
| 219 |
|
| 220 |
+
* **Discord:** Username: imad_saddik
|
| 221 |
+
* **LinkedIn:** [Connect with me](https://www.linkedin.com/in/imadsaddik/).
|
| 222 |
+
* **Email:** [simad3647@gmail.com](mailto:simad3647@gmail.com).
|
| 223 |
+
|