prithivMLmods commited on
Commit
26647ee
·
verified ·
1 Parent(s): c6d4741

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -38
README.md CHANGED
@@ -29,44 +29,6 @@ tags:
29
 
30
  This script is designed to load, process, and combine multiple datasets into a single, standardized format suitable for training conversational AI models. The script uses the `datasets` library to load and manipulate the datasets, and the `chat_templates` library to standardize the conversation format.
31
 
32
- ## Features
33
-
34
- - **Dataset Loading**: Loads multiple datasets from the Hugging Face Hub.
35
- - **Conversation Formatting**: Adds a `conversations` column to each dataset, ensuring a consistent structure for user-assistant interactions.
36
- - **Dataset Combination**: Combines all datasets into a single dataset.
37
- - **Standardization**: Standardizes the combined dataset using the ShareGPT format.
38
- - **Tokenization**: Applies a chat template to format the prompts for training.
39
-
40
- ## Datasets Used
41
-
42
- 1. **PowerInfer/LONGCOT-Refine-500K**
43
- 2. **amphora/QwQ-LongCoT-130K**
44
- 3. **AI-MO/NuminaMath-CoT**
45
- 4. **prithivMLmods/Math-Solve**
46
- 5. **amphora/QwQ-LongCoT-130K-2**
47
- 6. **O1-OPEN/OpenO1-SFT**
48
- 7. **FreedomIntelligence/medical-o1-reasoning-SFT**
49
- 8. **ngxson/MiniThinky-dataset**
50
- 9. **prithivMLmods/Deepthink-Reasoning**
51
-
52
- ## Functions
53
-
54
- - **add_conversations_column**: Adds a `conversations` column for datasets with `prompt` and `response` fields.
55
- - **add_conversations_column_prompt_qwq**: Adds a `conversations` column for datasets with `problem` and `qwq` fields.
56
- - **add_conversations_column_prompt_solution**: Adds a `conversations` column for datasets with `problem` and `solution` fields.
57
- - **add_conversations_outputs**: Adds a `conversations` column for datasets with `problem` and `outputs` fields.
58
- - **add_conversations_outputs_open**: Adds a `conversations` column for datasets with `instruction` and `output` fields.
59
- - **add_conversations_outputs_med**: Adds a `conversations` column for datasets with `Question` and `Complex_CoT` fields.
60
-
61
- ## Usage
62
-
63
- 1. **Load Datasets**: The script loads each dataset individually.
64
- 2. **Map Conversation Columns**: Each dataset is mapped to add a `conversations` column using the appropriate function.
65
- 3. **Combine Datasets**: All datasets are combined into a single dataset.
66
- 4. **Standardize Dataset**: The combined dataset is standardized using the ShareGPT format.
67
- 5. **Apply Chat Template**: The chat template is applied to format the prompts for training.
68
- 6. **Print Output**: The first 50,000 examples are printed to verify the output.
69
-
70
  ## Example
71
 
72
  ```python
 
29
 
30
  This script is designed to load, process, and combine multiple datasets into a single, standardized format suitable for training conversational AI models. The script uses the `datasets` library to load and manipulate the datasets, and the `chat_templates` library to standardize the conversation format.
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  ## Example
33
 
34
  ```python