ImadSaddik commited on
Commit
59461ed
ยท
verified ยท
1 Parent(s): 2eb21b3

Updated README.md

Browse files
Files changed (1) hide show
  1. README.md +78 -24
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 Spent
49
 
50
- Creating this dataset has been a labor of love. Iโ€™ve dedicated approximately **5 hours and 48 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
- Each item in the JSON file is a list. The list contains multiple objects, where each object represents a turn in the conversation. The turns are marked as either `user` or `assistant`. The `system` message is not included, but you can add it at the start of the list if needed.
57
 
58
- Here are 2 examples:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "ุจู„ุงู† ูƒุงูŠู† ุจุฒุงู ุฏูŠุงู„ ุงู„ุจู„ุงูŠุต ุงู„ู„ูŠ ุชู‚ุฏ ุชู…ุดูŠ ู„ูŠู‡ู… ูุงู„ู…ุบุฑุจุŒ ุงู†ุง ูƒู†ู‚ุชุฑุญ ุนู„ูŠูƒ ู‡ุฏูˆ:\n\n- ุดูุดุงูˆู†: ู‡ุฏูŠ ู…ุฏูŠู†ุฉ ูุงู„ุฌุจู„ุŒ ุงู„ุฏูŠูˆุฑ ุฏูŠุงู„ู‡ุง ุฒุฑู‚ูŠู† ุงูˆ ุงู„ุฌูˆ ูุงู„ู…ุฏูŠู†ุฉ ูƒูŠุฌูŠุจ ุงู„ุฑุงุญุฉ.\n- ุงู„ุตูˆูŠุฑุฉ: ู‡ุงุฏ ุงู„ู…ุฏูŠู†ุฉ ููŠู‡ุง ุงู„ุจุญุฑ ุงู„ุง ููŠูƒ ู…ูŠุนูˆู…. ุงู„ุจุญุฑ ุฏูŠุงู„ู‡ุง ุฒูˆูŠู† ุงูˆ ููŠู‡ุง ุงู„ู…ุฏูŠู†ุฉ ุงู„ู‚ุฏูŠู…ุฉ.\n- ุงู„ุฏุงุฎู„ุฉ: ุงู„ุฏุงุฎู„ุฉ ู‡ูŠ ู…ุฏูŠู†ุฉ ูุงู„ุตุญุฑุง ุฏูŠุงู„ ุงู„ู…ุบุฑุจุŒ ุญุชุงู‡ูŠุง ููŠู‡ุง ุงู„ุจุญุฑ. ุงู„ู†ุงุณ ูƒูŠุฌูŠูˆ ู„ูŠู‡ ู…ู† ุงู„ุนุงู„ู… ูƒุงู…ู„ ุจุงุด ูŠู„ุนุจูˆุง ุงู„ุณุจูˆุฑ.\n- ู…ุฑุงูƒุด: ู‡ุงุฏ ุงู„ู…ุฏูŠู†ุฉ ุนุฒูŠุฒุฉ ุนู„ู‰ ุงู„ุณูŠุงุญ ู„ูƒูŠุฌูŠูˆ ู…ู† ุจุฑุง. ููŠู‡ุง ุฌุงู…ุน ุงู„ูู†ุงุŒ ุงู„ู…ุฏูŠู†ุฉ ุงู„ู‚ุฏูŠู…ุฉ ูˆู„ูƒู† ูุงู„ุตูŠู ุฏุงูŠุฑุฉ ุจุญุงู„ ุงู„ูุฑุงู†.\n- ุดู„ุงู„ุงุช ุฃูˆุฒูˆุฏ: ู‡ุงุฏ ุงู„ุดู„ุงู„ุงุช ูƒุงูŠู†ูŠู† ูุงู„ุฌุจู„ ุฏุงู„ุฃุทู„ุณุŒ ู‡ุงุฏูˆุง ุงุดู‡ุฑ ุงู„ุดู„ุงู„ุงุช ูุงู„ู…ุบุฑุจ ุณูŠุฑ ุชู…ู†ุถุฑ ููŠู‡ูˆู… ู…ุนุง ุฑุงุณูƒ ุฑุงู‡ ุงูŠุนุฌุจูˆูƒ.\n\nูƒุงูŠู† ุจุฒุงู ุฏูŠุงู„ ุงู„ุจู„ุงูŠุณ ุงุฎุฑูŠู† ูุงู„ู…ุบุฑุจ ูˆู„ูƒู† ุบูˆู„ูŠ ุจุนุฏุง ูˆุงุด ู‡ุฏูˆุง ุนุฌุจูˆูƒ."
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": "ุงู„ุตุฑุงุญุฉ ุตุนูŠุจ ุชู„ู‚ู‰ ุฑู‚ู… ูˆุงุญุฏ ูˆู„ูƒู† ุนู„ู‰ ุญุณุงุจ ู…ุชุนู„ู…ุช ูƒุงูŠู† ุดูŠ 247 ู…ุฏูŠู†ุฉ."
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
- - **Discord** - Username: imad_saddik
168
- - **LinkedIn** โ€“ [Connect with me](https://www.linkedin.com/in/imadsaddik/).
169
- - **Email** โ€“ [simad3647@gmail.com](mailto:simad3647@gmail.com).
 
 
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
+