You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--sys-msg true\ # Control system message inclusion (default: true)
131
134
--hf-repo username/dataset-name \
132
135
--hf-token your-token \
133
136
--hf-tags tag1 --hf-tags tag2
@@ -185,6 +188,7 @@ engine = DataEngine(
185
188
model_name="ollama/llama3",
186
189
temperature=0.9,
187
190
max_retries=2,
191
+
sys_msg=True, # Include system message in dataset (default: true)
188
192
)
189
193
)
190
194
```
@@ -218,6 +222,7 @@ make all
218
222
219
223
### Prompt Output Examples
220
224
225
+
With sys_msg=true (default):
221
226
```json
222
227
{
223
228
"messages": [
@@ -237,6 +242,22 @@ make all
237
242
}
238
243
```
239
244
245
+
With sys_msg=false:
246
+
```json
247
+
{
248
+
"messages": [
249
+
{
250
+
"role": "user",
251
+
"content": "Create a descriptive passage about a character discovering their hidden talents."
252
+
},
253
+
{
254
+
"role": "assistant",
255
+
"content": "As she stared at the canvas, Emma's fingers hovered above the paintbrushes, as if hesitant to unleash the colors that had been locked within her. The strokes began with bold abandon, swirling blues and greens merging into a mesmerizing dance of light and shadow. With each passing moment, she felt herself becoming the art – her very essence seeping onto the canvas like watercolors in a spring storm. The world around her melted away, leaving only the vibrant symphony of color and creation."
256
+
}
257
+
]
258
+
}
259
+
```
260
+
240
261
## Model Compatibility
241
262
242
263
The library should work with most LLM models. It has been tested with the
0 commit comments