diff --git a/units/en/unit1/4.md b/units/en/unit1/4.md index 2a10da17..25c72d4c 100644 --- a/units/en/unit1/4.md +++ b/units/en/unit1/4.md @@ -983,22 +983,16 @@ print(gsm8k_formatted[0]["text"]) Output ```python output -=== PROCESSING GSM8K DATASET === - -README.md:  - 7.94k/? [00:00<00:00, 572kB/s] -main/train-00000-of-00001.parquet: 100% - 2.31M/2.31M [00:01<00:00, 42.6kB/s] -main/test-00000-of-00001.parquet: 100% - 419k/419k [00:00<00:00, 813kB/s] -Generating train split: 100% - 7473/7473 [00:00<00:00, 321312.49 examples/s] -Generating test split: 100% - 1319/1319 [00:00<00:00, 97120.71 examples/s] -Original GSM8K example: {'question': 'Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?', 'answer': 'Natalia sold 48/2 = <<48/2=24>>24 clips in May.\nNatalia sold 48+24 = <<48+24=72>>72 clips altogether in April and May.\n#### 72'} -Map: 100% - 100/100 [00:00<00:00, 4792.50 examples/s] -Processed example: {'messages': [{'content': 'You are a math tutor. Solve problems step by step.', 'role': 'system'}, {'content': 'Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May?', 'role': 'user'}, {'content': 'Natalia sold 48/2 = <<48/2=24>>24 clips in May.\nNatalia sold 48+24 = <<48+24=72>>72 clips altogether in April and May.\n#### 72', 'role': 'assistant'}]} +=== FORMATTED TRAINING DATA === + +<|system|> +You are a math tutor. Solve problems step by step. +<|user|> +Natalia sold clips to 48 of her friends in April, and then she sold half as many clips in May. How many clips did Natalia sell altogether in April and May? +Natalia sold 48/2 = <<48/2=24>>24 clips in May. +<|assistant|> +Natalia sold 48+24 = <<48+24=72>>72 clips altogether in April and May. +#### 72 ``` @@ -1352,4 +1346,4 @@ These skills form the foundation for building sophisticated instruction-tuned mo - [SmolLM3 Model Card](https://huggingface.co/HuggingFaceTB/SmolLM3-3B) - Model details - [SmolTalk2 Dataset](https://huggingface.co/datasets/HuggingFaceTB/smoltalk2) - Training data - [Hugging Face Hub](https://huggingface.co/models) - Share your models -- [Discord Community](https://discord.gg/UrrTSsSyjb) - Get help and discuss \ No newline at end of file +- [Discord Community](https://discord.gg/UrrTSsSyjb) - Get help and discuss