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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"id": "397d74dc-36fc-4470-996c-30184f83dcfe",
|
| 7 |
+
"metadata": {},
|
| 8 |
+
"outputs": [
|
| 9 |
+
{
|
| 10 |
+
"name": "stdout",
|
| 11 |
+
"output_type": "stream",
|
| 12 |
+
"text": [
|
| 13 |
+
"Total samples: 1930\n",
|
| 14 |
+
"Training samples: 1737 (90%)\n",
|
| 15 |
+
"Validation samples: 193 (10%)\n",
|
| 16 |
+
"Successfully created 'sft_train.jsonl' and 'sft_val.jsonl'.\n"
|
| 17 |
+
]
|
| 18 |
+
}
|
| 19 |
+
],
|
| 20 |
+
"source": [
|
| 21 |
+
"import json\n",
|
| 22 |
+
"import random\n",
|
| 23 |
+
"import os\n",
|
| 24 |
+
"\n",
|
| 25 |
+
"# --- Configuration ---\n",
|
| 26 |
+
"input_filename = \"Inputfrm.json\"\n",
|
| 27 |
+
"train_output_filename = \"sft_train.jsonl\"\n",
|
| 28 |
+
"val_output_filename = \"sft_val.jsonl\"\n",
|
| 29 |
+
"train_split_ratio = 0.9 # 80% for training, 20% for validation\n",
|
| 30 |
+
"\n",
|
| 31 |
+
"# --- Load data from input file ---\n",
|
| 32 |
+
"data = []\n",
|
| 33 |
+
"if not os.path.exists(input_filename):\n",
|
| 34 |
+
" print(f\"Error: Input file '{input_filename}' not found.\")\n",
|
| 35 |
+
" print(\"Please make sure 'Inputfrm.json' is in the same directory as the script, or provide its correct path.\")\n",
|
| 36 |
+
" # Exit gracefully if the input file is missing\n",
|
| 37 |
+
" exit(1)\n",
|
| 38 |
+
"\n",
|
| 39 |
+
"try:\n",
|
| 40 |
+
" with open(input_filename, 'r', encoding='utf-8') as f:\n",
|
| 41 |
+
" content = f.read()\n",
|
| 42 |
+
" if not content.strip():\n",
|
| 43 |
+
" print(f\"Warning: Input file '{input_filename}' is empty. No data to split.\")\n",
|
| 44 |
+
" # Create empty output files if input is empty\n",
|
| 45 |
+
" with open(train_output_filename, 'w', encoding='utf-8') as tf: pass\n",
|
| 46 |
+
" with open(val_output_filename, 'w', encoding='utf-8') as vf: pass\n",
|
| 47 |
+
" exit(0)\n",
|
| 48 |
+
" \n",
|
| 49 |
+
" # Assuming the input JSON file contains a list of objects\n",
|
| 50 |
+
" data = json.loads(content)\n",
|
| 51 |
+
" \n",
|
| 52 |
+
" # Basic check: if data is not a list, print a warning and try to proceed if possible\n",
|
| 53 |
+
" if not isinstance(data, list):\n",
|
| 54 |
+
" print(f\"Warning: The content of '{input_filename}' is not a JSON list.\")\n",
|
| 55 |
+
" print(\"Attempting to treat it as a single item or assuming it might be structured differently.\")\n",
|
| 56 |
+
" # If it's a single object, wrap it in a list for consistency\n",
|
| 57 |
+
" if isinstance(data, dict):\n",
|
| 58 |
+
" data = [data]\n",
|
| 59 |
+
" else:\n",
|
| 60 |
+
" print(\"Error: Data is not a list or a dictionary. Cannot proceed with splitting.\")\n",
|
| 61 |
+
" exit(1)\n",
|
| 62 |
+
"\n",
|
| 63 |
+
"except json.JSONDecodeError:\n",
|
| 64 |
+
" print(f\"Error: Could not decode JSON from '{input_filename}'. Please check the file format.\")\n",
|
| 65 |
+
" exit(1)\n",
|
| 66 |
+
"except Exception as e:\n",
|
| 67 |
+
" print(f\"An unexpected error occurred while reading the file: {e}\")\n",
|
| 68 |
+
" exit(1)\n",
|
| 69 |
+
"\n",
|
| 70 |
+
"if not data:\n",
|
| 71 |
+
" print(\"No data found in the input file after loading. Creating empty output files.\")\n",
|
| 72 |
+
" with open(train_output_filename, 'w', encoding='utf-8') as tf: pass\n",
|
| 73 |
+
" with open(val_output_filename, 'w', encoding='utf-8') as vf: pass\n",
|
| 74 |
+
" exit(0)\n",
|
| 75 |
+
"\n",
|
| 76 |
+
"# --- Shuffle the data ---\n",
|
| 77 |
+
"# Create a copy to shuffle to maintain original order if needed elsewhere\n",
|
| 78 |
+
"shuffled_data = list(data)\n",
|
| 79 |
+
"random.shuffle(shuffled_data)\n",
|
| 80 |
+
"\n",
|
| 81 |
+
"# --- Split the data ---\n",
|
| 82 |
+
"total_samples = len(shuffled_data)\n",
|
| 83 |
+
"num_train_samples = int(total_samples * train_split_ratio)\n",
|
| 84 |
+
"\n",
|
| 85 |
+
"train_data = shuffled_data[:num_train_samples]\n",
|
| 86 |
+
"val_data = shuffled_data[num_train_samples:]\n",
|
| 87 |
+
"\n",
|
| 88 |
+
"print(f\"Total samples: {total_samples}\")\n",
|
| 89 |
+
"print(f\"Training samples: {len(train_data)} ({train_split_ratio*100:.0f}%)\")\n",
|
| 90 |
+
"print(f\"Validation samples: {len(val_data)} ({ (1-train_split_ratio)*100:.0f}%)\")\n",
|
| 91 |
+
"\n",
|
| 92 |
+
"# --- Write to output files in JSON Lines format ---\n",
|
| 93 |
+
"try:\n",
|
| 94 |
+
" with open(train_output_filename, 'w', encoding='utf-8') as train_f:\n",
|
| 95 |
+
" for item in train_data:\n",
|
| 96 |
+
" # json.dumps converts a Python object into a JSON string\n",
|
| 97 |
+
" # writing each object as a separate line makes it JSON Lines format\n",
|
| 98 |
+
" json.dump(item, train_f)\n",
|
| 99 |
+
" train_f.write('\\n') # Add newline character for JSON Lines\n",
|
| 100 |
+
"\n",
|
| 101 |
+
" with open(val_output_filename, 'w', encoding='utf-8') as val_f:\n",
|
| 102 |
+
" for item in val_data:\n",
|
| 103 |
+
" json.dump(item, val_f)\n",
|
| 104 |
+
" val_f.write('\\n') # Add newline character for JSON Lines\n",
|
| 105 |
+
"\n",
|
| 106 |
+
" print(f\"Successfully created '{train_output_filename}' and '{val_output_filename}'.\")\n",
|
| 107 |
+
"\n",
|
| 108 |
+
"except Exception as e:\n",
|
| 109 |
+
" print(f\"An error occurred while writing to the output files: {e}\")\n",
|
| 110 |
+
" exit(1)"
|
| 111 |
+
]
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"cell_type": "code",
|
| 115 |
+
"execution_count": null,
|
| 116 |
+
"id": "14ba0cb7",
|
| 117 |
+
"metadata": {},
|
| 118 |
+
"outputs": [
|
| 119 |
+
{
|
| 120 |
+
"data": {
|
| 121 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 122 |
+
"model_id": "ca2c617d7dd9409185885673e184aec7",
|
| 123 |
+
"version_major": 2,
|
| 124 |
+
"version_minor": 0
|
| 125 |
+
},
|
| 126 |
+
"text/plain": [
|
| 127 |
+
"Downloading bytes: | 0.00B "
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
"metadata": {},
|
| 131 |
+
"output_type": "display_data"
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"data": {
|
| 135 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 136 |
+
"model_id": "e289c16527984d4a808157e2968b8100",
|
| 137 |
+
"version_major": 2,
|
| 138 |
+
"version_minor": 0
|
| 139 |
+
},
|
| 140 |
+
"text/plain": [
|
| 141 |
+
"Reconstructing (incomplete total...): | | 0.00B / 0.00B "
|
| 142 |
+
]
|
| 143 |
+
},
|
| 144 |
+
"metadata": {},
|
| 145 |
+
"output_type": "display_data"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"data": {
|
| 149 |
+
"application/vnd.jupyter.widget-view+json": {
|
| 150 |
+
"model_id": "44188eaa53e543789a27dce55aa04c82",
|
| 151 |
+
"version_major": 2,
|
| 152 |
+
"version_minor": 0
|
| 153 |
+
},
|
| 154 |
+
"text/plain": [
|
| 155 |
+
"Fetching 27 files: 0%| | 0/27 [00:00<?, ?it/s]"
|
| 156 |
+
]
|
| 157 |
+
},
|
| 158 |
+
"metadata": {},
|
| 159 |
+
"output_type": "display_data"
|
| 160 |
+
},
|
| 161 |
+
{
|
| 162 |
+
"name": "stderr",
|
| 163 |
+
"output_type": "stream",
|
| 164 |
+
"text": [
|
| 165 |
+
"Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.\n"
|
| 166 |
+
]
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"data": {
|
| 170 |
+
"text/plain": [
|
| 171 |
+
"'/teamspace/studios/this_studio/Nemotron3.5_Nano'"
|
| 172 |
+
]
|
| 173 |
+
},
|
| 174 |
+
"execution_count": 1,
|
| 175 |
+
"metadata": {},
|
| 176 |
+
"output_type": "execute_result"
|
| 177 |
+
}
|
| 178 |
+
],
|
| 179 |
+
"source": [
|
| 180 |
+
"from huggingface_hub import snapshot_download\n",
|
| 181 |
+
"snapshot_download(\n",
|
| 182 |
+
" repo_id=\"Akshay9028/NotWorking\",\n",
|
| 183 |
+
" local_dir=\"NotWorking\"\n",
|
| 184 |
+
")"
|
| 185 |
+
]
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"cell_type": "code",
|
| 189 |
+
"execution_count": 4,
|
| 190 |
+
"id": "e89e820a",
|
| 191 |
+
"metadata": {},
|
| 192 |
+
"outputs": [
|
| 193 |
+
{
|
| 194 |
+
"name": "stdout",
|
| 195 |
+
"output_type": "stream",
|
| 196 |
+
"text": [
|
| 197 |
+
"checkpoints/\n",
|
| 198 |
+
"checkpoints/sft/\n",
|
| 199 |
+
"checkpoints/sft/epoch_3_step_11/\n",
|
| 200 |
+
"checkpoints/sft/epoch_3_step_11/losses.json\n",
|
| 201 |
+
"checkpoints/sft/epoch_3_step_11/step_scheduler.pt\n",
|
| 202 |
+
"checkpoints/sft/epoch_3_step_11/optim/\n",
|
| 203 |
+
"checkpoints/sft/epoch_3_step_11/optim/.metadata\n",
|
| 204 |
+
"checkpoints/sft/epoch_3_step_11/optim/__0_0.distcp\n",
|
| 205 |
+
"checkpoints/sft/epoch_3_step_11/dataloader/\n",
|
| 206 |
+
"checkpoints/sft/epoch_3_step_11/dataloader/dataloader_dp_rank_0.pt\n",
|
| 207 |
+
"checkpoints/sft/epoch_3_step_11/model/\n",
|
| 208 |
+
"checkpoints/sft/epoch_3_step_11/model/adapter_config.json\n",
|
| 209 |
+
"checkpoints/sft/epoch_3_step_11/model/adapter_model.safetensors\n",
|
| 210 |
+
"checkpoints/sft/epoch_3_step_11/model/automodel_peft_config.json\n",
|
| 211 |
+
"checkpoints/sft/epoch_3_step_11/model/configuration_nemotron_h.py\n",
|
| 212 |
+
"checkpoints/sft/epoch_3_step_11/model/tokenizer_config.json\n",
|
| 213 |
+
"checkpoints/sft/epoch_3_step_11/model/tokenizer.json\n",
|
| 214 |
+
"checkpoints/sft/epoch_3_step_11/model/chat_template.jinja\n",
|
| 215 |
+
"checkpoints/sft/epoch_3_step_11/config.yaml\n",
|
| 216 |
+
"checkpoints/sft/epoch_3_step_11/rng/\n",
|
| 217 |
+
"checkpoints/sft/epoch_3_step_11/rng/rng_dp_rank_0.pt\n",
|
| 218 |
+
"checkpoints/sft/epoch_9_step_29/\n",
|
| 219 |
+
"checkpoints/sft/epoch_9_step_29/losses.json\n",
|
| 220 |
+
"checkpoints/sft/epoch_9_step_29/step_scheduler.pt\n",
|
| 221 |
+
"checkpoints/sft/epoch_9_step_29/optim/\n",
|
| 222 |
+
"checkpoints/sft/epoch_9_step_29/optim/.metadata\n",
|
| 223 |
+
"checkpoints/sft/epoch_9_step_29/optim/__0_0.distcp\n",
|
| 224 |
+
"checkpoints/sft/epoch_9_step_29/dataloader/\n",
|
| 225 |
+
"checkpoints/sft/epoch_9_step_29/dataloader/dataloader_dp_rank_0.pt\n",
|
| 226 |
+
"checkpoints/sft/epoch_9_step_29/model/\n",
|
| 227 |
+
"checkpoints/sft/epoch_9_step_29/model/adapter_config.json\n",
|
| 228 |
+
"checkpoints/sft/epoch_9_step_29/model/adapter_model.safetensors\n",
|
| 229 |
+
"checkpoints/sft/epoch_9_step_29/model/automodel_peft_config.json\n",
|
| 230 |
+
"checkpoints/sft/epoch_9_step_29/model/configuration_nemotron_h.py\n",
|
| 231 |
+
"checkpoints/sft/epoch_9_step_29/model/tokenizer_config.json\n",
|
| 232 |
+
"checkpoints/sft/epoch_9_step_29/model/tokenizer.json\n",
|
| 233 |
+
"checkpoints/sft/epoch_9_step_29/model/chat_template.jinja\n",
|
| 234 |
+
"checkpoints/sft/epoch_9_step_29/config.yaml\n",
|
| 235 |
+
"checkpoints/sft/epoch_9_step_29/rng/\n",
|
| 236 |
+
"checkpoints/sft/epoch_9_step_29/rng/rng_dp_rank_0.pt\n",
|
| 237 |
+
"checkpoints/sft/epoch_13_step_41/\n",
|
| 238 |
+
"checkpoints/sft/epoch_13_step_41/losses.json\n",
|
| 239 |
+
"checkpoints/sft/epoch_13_step_41/step_scheduler.pt\n",
|
| 240 |
+
"checkpoints/sft/epoch_13_step_41/optim/\n",
|
| 241 |
+
"checkpoints/sft/epoch_13_step_41/optim/.metadata\n",
|
| 242 |
+
"checkpoints/sft/epoch_13_step_41/optim/__0_0.distcp\n",
|
| 243 |
+
"checkpoints/sft/epoch_13_step_41/dataloader/\n",
|
| 244 |
+
"checkpoints/sft/epoch_13_step_41/dataloader/dataloader_dp_rank_0.pt\n",
|
| 245 |
+
"checkpoints/sft/epoch_13_step_41/model/\n",
|
| 246 |
+
"checkpoints/sft/epoch_13_step_41/model/adapter_config.json\n",
|
| 247 |
+
"checkpoints/sft/epoch_13_step_41/model/adapter_model.safetensors\n",
|
| 248 |
+
"checkpoints/sft/epoch_13_step_41/model/automodel_peft_config.json\n",
|
| 249 |
+
"checkpoints/sft/epoch_13_step_41/model/configuration_nemotron_h.py\n",
|
| 250 |
+
"checkpoints/sft/epoch_13_step_41/model/tokenizer_config.json\n",
|
| 251 |
+
"checkpoints/sft/epoch_13_step_41/model/tokenizer.json\n",
|
| 252 |
+
"checkpoints/sft/epoch_13_step_41/model/chat_template.jinja\n",
|
| 253 |
+
"checkpoints/sft/epoch_13_step_41/config.yaml\n",
|
| 254 |
+
"checkpoints/sft/epoch_13_step_41/rng/\n",
|
| 255 |
+
"checkpoints/sft/epoch_13_step_41/rng/rng_dp_rank_0.pt\n",
|
| 256 |
+
"checkpoints/sft/epoch_4_step_14/\n",
|
| 257 |
+
"checkpoints/sft/epoch_4_step_14/losses.json\n",
|
| 258 |
+
"checkpoints/sft/epoch_4_step_14/step_scheduler.pt\n",
|
| 259 |
+
"checkpoints/sft/epoch_4_step_14/optim/\n",
|
| 260 |
+
"checkpoints/sft/epoch_4_step_14/optim/.metadata\n",
|
| 261 |
+
"checkpoints/sft/epoch_4_step_14/optim/__0_0.distcp\n",
|
| 262 |
+
"checkpoints/sft/epoch_4_step_14/dataloader/\n",
|
| 263 |
+
"checkpoints/sft/epoch_4_step_14/dataloader/dataloader_dp_rank_0.pt\n",
|
| 264 |
+
"checkpoints/sft/epoch_4_step_14/model/\n",
|
| 265 |
+
"checkpoints/sft/epoch_4_step_14/model/adapter_config.json\n",
|
| 266 |
+
"checkpoints/sft/epoch_4_step_14/model/adapter_model.safetensors\n",
|
| 267 |
+
"checkpoints/sft/epoch_4_step_14/model/automodel_peft_config.json\n",
|
| 268 |
+
"checkpoints/sft/epoch_4_step_14/model/configuration_nemotron_h.py\n",
|
| 269 |
+
"checkpoints/sft/epoch_4_step_14/model/tokenizer_config.json\n",
|
| 270 |
+
"checkpoints/sft/epoch_4_step_14/model/tokenizer.json\n",
|
| 271 |
+
"checkpoints/sft/epoch_4_step_14/model/chat_template.jinja\n",
|
| 272 |
+
"checkpoints/sft/epoch_4_step_14/config.yaml\n",
|
| 273 |
+
"checkpoints/sft/epoch_4_step_14/rng/\n",
|
| 274 |
+
"checkpoints/sft/epoch_4_step_14/rng/rng_dp_rank_0.pt\n",
|
| 275 |
+
"checkpoints/sft/epoch_6_step_20/\n",
|
| 276 |
+
"checkpoints/sft/epoch_6_step_20/losses.json\n",
|
| 277 |
+
"checkpoints/sft/epoch_6_step_20/step_scheduler.pt\n",
|
| 278 |
+
"checkpoints/sft/epoch_6_step_20/optim/\n",
|
| 279 |
+
"checkpoints/sft/epoch_6_step_20/optim/.metadata\n",
|
| 280 |
+
"checkpoints/sft/epoch_6_step_20/optim/__0_0.distcp\n",
|
| 281 |
+
"checkpoints/sft/epoch_6_step_20/dataloader/\n",
|
| 282 |
+
"checkpoints/sft/epoch_6_step_20/dataloader/dataloader_dp_rank_0.pt\n",
|
| 283 |
+
"checkpoints/sft/epoch_6_step_20/model/\n",
|
| 284 |
+
"checkpoints/sft/epoch_6_step_20/model/adapter_config.json\n",
|
| 285 |
+
"checkpoints/sft/epoch_6_step_20/model/adapter_model.safetensors\n",
|
| 286 |
+
"checkpoints/sft/epoch_6_step_20/model/automodel_peft_config.json\n",
|
| 287 |
+
"checkpoints/sft/epoch_6_step_20/model/configuration_nemotron_h.py\n",
|
| 288 |
+
"checkpoints/sft/epoch_6_step_20/model/tokenizer_config.json\n",
|
| 289 |
+
"checkpoints/sft/epoch_6_step_20/model/tokenizer.json\n",
|
| 290 |
+
"checkpoints/sft/epoch_6_step_20/model/chat_template.jinja\n",
|
| 291 |
+
"checkpoints/sft/epoch_6_step_20/config.yaml\n",
|
| 292 |
+
"checkpoints/sft/epoch_6_step_20/rng/\n",
|
| 293 |
+
"checkpoints/sft/epoch_6_step_20/rng/rng_dp_rank_0.pt\n",
|
| 294 |
+
"checkpoints/sft/training.jsonl\n",
|
| 295 |
+
"checkpoints/sft/epoch_0_step_2/\n",
|
| 296 |
+
"checkpoints/sft/epoch_0_step_2/losses.json\n",
|
| 297 |
+
"checkpoints/sft/epoch_0_step_2/step_scheduler.pt\n",
|
| 298 |
+
"checkpoints/sft/epoch_0_step_2/optim/\n",
|
| 299 |
+
"checkpoints/sft/epoch_0_step_2/optim/.metadata\n",
|
| 300 |
+
"checkpoints/sft/epoch_0_step_2/optim/__0_0.distcp\n",
|
| 301 |
+
"checkpoints/sft/epoch_0_step_2/dataloader/\n",
|
| 302 |
+
"checkpoints/sft/epoch_0_step_2/dataloader/dataloader_dp_rank_0.pt\n",
|
| 303 |
+
"checkpoints/sft/epoch_0_step_2/model/\n",
|
| 304 |
+
"checkpoints/sft/epoch_0_step_2/model/adapter_config.json\n",
|
| 305 |
+
"checkpoints/sft/epoch_0_step_2/model/adapter_model.safetensors\n",
|
| 306 |
+
"checkpoints/sft/epoch_0_step_2/model/automodel_peft_config.json\n",
|
| 307 |
+
"checkpoints/sft/epoch_0_step_2/model/configuration_nemotron_h.py\n",
|
| 308 |
+
"checkpoints/sft/epoch_0_step_2/model/tokenizer_config.json\n",
|
| 309 |
+
"checkpoints/sft/epoch_0_step_2/model/tokenizer.json\n",
|
| 310 |
+
"checkpoints/sft/epoch_0_step_2/model/chat_template.jinja\n",
|
| 311 |
+
"checkpoints/sft/epoch_0_step_2/config.yaml\n",
|
| 312 |
+
"checkpoints/sft/epoch_0_step_2/rng/\n",
|
| 313 |
+
"checkpoints/sft/epoch_0_step_2/rng/rng_dp_rank_0.pt\n",
|
| 314 |
+
"checkpoints/sft/LOWEST_VAL\n",
|
| 315 |
+
"checkpoints/sft/epoch_5_step_17/\n",
|
| 316 |
+
"checkpoints/sft/epoch_5_step_17/losses.json\n",
|
| 317 |
+
"checkpoints/sft/epoch_5_step_17/step_scheduler.pt\n",
|
| 318 |
+
"checkpoints/sft/epoch_5_step_17/optim/\n",
|
| 319 |
+
"checkpoints/sft/epoch_5_step_17/optim/.metadata\n",
|
| 320 |
+
"checkpoints/sft/epoch_5_step_17/optim/__0_0.distcp\n",
|
| 321 |
+
"checkpoints/sft/epoch_5_step_17/dataloader/\n",
|
| 322 |
+
"checkpoints/sft/epoch_5_step_17/dataloader/dataloader_dp_rank_0.pt\n",
|
| 323 |
+
"checkpoints/sft/epoch_5_step_17/model/\n",
|
| 324 |
+
"checkpoints/sft/epoch_5_step_17/model/adapter_config.json\n",
|
| 325 |
+
"checkpoints/sft/epoch_5_step_17/model/adapter_model.safetensors\n",
|
| 326 |
+
"checkpoints/sft/epoch_5_step_17/model/automodel_peft_config.json\n",
|
| 327 |
+
"checkpoints/sft/epoch_5_step_17/model/configuration_nemotron_h.py\n",
|
| 328 |
+
"checkpoints/sft/epoch_5_step_17/model/tokenizer_config.json\n",
|
| 329 |
+
"checkpoints/sft/epoch_5_step_17/model/tokenizer.json\n",
|
| 330 |
+
"checkpoints/sft/epoch_5_step_17/model/chat_template.jinja\n",
|
| 331 |
+
"checkpoints/sft/epoch_5_step_17/config.yaml\n",
|
| 332 |
+
"checkpoints/sft/epoch_5_step_17/rng/\n",
|
| 333 |
+
"checkpoints/sft/epoch_5_step_17/rng/rng_dp_rank_0.pt\n",
|
| 334 |
+
"checkpoints/sft/epoch_1_step_5/\n",
|
| 335 |
+
"checkpoints/sft/epoch_1_step_5/losses.json\n",
|
| 336 |
+
"checkpoints/sft/epoch_1_step_5/step_scheduler.pt\n",
|
| 337 |
+
"checkpoints/sft/epoch_1_step_5/optim/\n",
|
| 338 |
+
"checkpoints/sft/epoch_1_step_5/optim/.metadata\n",
|
| 339 |
+
"checkpoints/sft/epoch_1_step_5/optim/__0_0.distcp\n",
|
| 340 |
+
"checkpoints/sft/epoch_1_step_5/dataloader/\n",
|
| 341 |
+
"checkpoints/sft/epoch_1_step_5/dataloader/dataloader_dp_rank_0.pt\n",
|
| 342 |
+
"checkpoints/sft/epoch_1_step_5/model/\n",
|
| 343 |
+
"checkpoints/sft/epoch_1_step_5/model/adapter_config.json\n",
|
| 344 |
+
"checkpoints/sft/epoch_1_step_5/model/adapter_model.safetensors\n",
|
| 345 |
+
"checkpoints/sft/epoch_1_step_5/model/automodel_peft_config.json\n",
|
| 346 |
+
"checkpoints/sft/epoch_1_step_5/model/configuration_nemotron_h.py\n",
|
| 347 |
+
"checkpoints/sft/epoch_1_step_5/model/tokenizer_config.json\n",
|
| 348 |
+
"checkpoints/sft/epoch_1_step_5/model/tokenizer.json\n",
|
| 349 |
+
"checkpoints/sft/epoch_1_step_5/model/chat_template.jinja\n",
|
| 350 |
+
"checkpoints/sft/epoch_1_step_5/config.yaml\n",
|
| 351 |
+
"checkpoints/sft/epoch_1_step_5/rng/\n",
|
| 352 |
+
"checkpoints/sft/epoch_1_step_5/rng/rng_dp_rank_0.pt\n",
|
| 353 |
+
"checkpoints/sft/epoch_8_step_26/\n",
|
| 354 |
+
"checkpoints/sft/epoch_8_step_26/losses.json\n",
|
| 355 |
+
"checkpoints/sft/epoch_8_step_26/step_scheduler.pt\n",
|
| 356 |
+
"checkpoints/sft/epoch_8_step_26/optim/\n",
|
| 357 |
+
"checkpoints/sft/epoch_8_step_26/optim/.metadata\n",
|
| 358 |
+
"checkpoints/sft/epoch_8_step_26/optim/__0_0.distcp\n",
|
| 359 |
+
"checkpoints/sft/epoch_8_step_26/dataloader/\n",
|
| 360 |
+
"checkpoints/sft/epoch_8_step_26/dataloader/dataloader_dp_rank_0.pt\n",
|
| 361 |
+
"checkpoints/sft/epoch_8_step_26/model/\n",
|
| 362 |
+
"checkpoints/sft/epoch_8_step_26/model/adapter_config.json\n",
|
| 363 |
+
"checkpoints/sft/epoch_8_step_26/model/adapter_model.safetensors\n",
|
| 364 |
+
"checkpoints/sft/epoch_8_step_26/model/automodel_peft_config.json\n",
|
| 365 |
+
"checkpoints/sft/epoch_8_step_26/model/configuration_nemotron_h.py\n",
|
| 366 |
+
"checkpoints/sft/epoch_8_step_26/model/tokenizer_config.json\n",
|
| 367 |
+
"checkpoints/sft/epoch_8_step_26/model/tokenizer.json\n",
|
| 368 |
+
"checkpoints/sft/epoch_8_step_26/model/chat_template.jinja\n",
|
| 369 |
+
"checkpoints/sft/epoch_8_step_26/config.yaml\n",
|
| 370 |
+
"checkpoints/sft/epoch_8_step_26/rng/\n",
|
| 371 |
+
"checkpoints/sft/epoch_8_step_26/rng/rng_dp_rank_0.pt\n",
|
| 372 |
+
"checkpoints/sft/validation.jsonl\n",
|
| 373 |
+
"checkpoints/sft/epoch_12_step_38/\n",
|
| 374 |
+
"checkpoints/sft/epoch_12_step_38/losses.json\n",
|
| 375 |
+
"checkpoints/sft/epoch_12_step_38/step_scheduler.pt\n",
|
| 376 |
+
"checkpoints/sft/epoch_12_step_38/optim/\n",
|
| 377 |
+
"checkpoints/sft/epoch_12_step_38/optim/.metadata\n",
|
| 378 |
+
"checkpoints/sft/epoch_12_step_38/optim/__0_0.distcp\n",
|
| 379 |
+
"checkpoints/sft/epoch_12_step_38/dataloader/\n",
|
| 380 |
+
"checkpoints/sft/epoch_12_step_38/dataloader/dataloader_dp_rank_0.pt\n",
|
| 381 |
+
"checkpoints/sft/epoch_12_step_38/model/\n",
|
| 382 |
+
"checkpoints/sft/epoch_12_step_38/model/adapter_config.json\n",
|
| 383 |
+
"checkpoints/sft/epoch_12_step_38/model/adapter_model.safetensors\n",
|
| 384 |
+
"checkpoints/sft/epoch_12_step_38/model/automodel_peft_config.json\n",
|
| 385 |
+
"checkpoints/sft/epoch_12_step_38/model/configuration_nemotron_h.py\n",
|
| 386 |
+
"checkpoints/sft/epoch_12_step_38/model/tokenizer_config.json\n",
|
| 387 |
+
"checkpoints/sft/epoch_12_step_38/model/tokenizer.json\n",
|
| 388 |
+
"checkpoints/sft/epoch_12_step_38/model/chat_template.jinja\n",
|
| 389 |
+
"checkpoints/sft/epoch_12_step_38/config.yaml\n",
|
| 390 |
+
"checkpoints/sft/epoch_12_step_38/rng/\n",
|
| 391 |
+
"checkpoints/sft/epoch_12_step_38/rng/rng_dp_rank_0.pt\n",
|
| 392 |
+
"checkpoints/sft/epoch_11_step_35/\n",
|
| 393 |
+
"checkpoints/sft/epoch_11_step_35/losses.json\n",
|
| 394 |
+
"checkpoints/sft/epoch_11_step_35/step_scheduler.pt\n",
|
| 395 |
+
"checkpoints/sft/epoch_11_step_35/optim/\n",
|
| 396 |
+
"checkpoints/sft/epoch_11_step_35/optim/.metadata\n",
|
| 397 |
+
"checkpoints/sft/epoch_11_step_35/optim/__0_0.distcp\n",
|
| 398 |
+
"checkpoints/sft/epoch_11_step_35/dataloader/\n",
|
| 399 |
+
"checkpoints/sft/epoch_11_step_35/dataloader/dataloader_dp_rank_0.pt\n",
|
| 400 |
+
"checkpoints/sft/epoch_11_step_35/model/\n",
|
| 401 |
+
"checkpoints/sft/epoch_11_step_35/model/adapter_config.json\n",
|
| 402 |
+
"checkpoints/sft/epoch_11_step_35/model/adapter_model.safetensors\n",
|
| 403 |
+
"checkpoints/sft/epoch_11_step_35/model/automodel_peft_config.json\n",
|
| 404 |
+
"checkpoints/sft/epoch_11_step_35/model/configuration_nemotron_h.py\n",
|
| 405 |
+
"checkpoints/sft/epoch_11_step_35/model/tokenizer_config.json\n",
|
| 406 |
+
"checkpoints/sft/epoch_11_step_35/model/tokenizer.json\n",
|
| 407 |
+
"checkpoints/sft/epoch_11_step_35/model/chat_template.jinja\n",
|
| 408 |
+
"checkpoints/sft/epoch_11_step_35/config.yaml\n",
|
| 409 |
+
"checkpoints/sft/epoch_11_step_35/rng/\n",
|
| 410 |
+
"checkpoints/sft/epoch_11_step_35/rng/rng_dp_rank_0.pt\n",
|
| 411 |
+
"checkpoints/sft/epoch_7_step_23/\n",
|
| 412 |
+
"checkpoints/sft/epoch_7_step_23/losses.json\n",
|
| 413 |
+
"checkpoints/sft/epoch_7_step_23/step_scheduler.pt\n",
|
| 414 |
+
"checkpoints/sft/epoch_7_step_23/optim/\n",
|
| 415 |
+
"checkpoints/sft/epoch_7_step_23/optim/.metadata\n",
|
| 416 |
+
"checkpoints/sft/epoch_7_step_23/optim/__0_0.distcp\n",
|
| 417 |
+
"checkpoints/sft/epoch_7_step_23/dataloader/\n",
|
| 418 |
+
"checkpoints/sft/epoch_7_step_23/dataloader/dataloader_dp_rank_0.pt\n",
|
| 419 |
+
"checkpoints/sft/epoch_7_step_23/model/\n",
|
| 420 |
+
"checkpoints/sft/epoch_7_step_23/model/adapter_config.json\n",
|
| 421 |
+
"checkpoints/sft/epoch_7_step_23/model/adapter_model.safetensors\n",
|
| 422 |
+
"checkpoints/sft/epoch_7_step_23/model/automodel_peft_config.json\n",
|
| 423 |
+
"checkpoints/sft/epoch_7_step_23/model/configuration_nemotron_h.py\n",
|
| 424 |
+
"checkpoints/sft/epoch_7_step_23/model/tokenizer_config.json\n",
|
| 425 |
+
"checkpoints/sft/epoch_7_step_23/model/tokenizer.json\n",
|
| 426 |
+
"checkpoints/sft/epoch_7_step_23/model/chat_template.jinja\n",
|
| 427 |
+
"checkpoints/sft/epoch_7_step_23/config.yaml\n",
|
| 428 |
+
"checkpoints/sft/epoch_7_step_23/rng/\n",
|
| 429 |
+
"checkpoints/sft/epoch_7_step_23/rng/rng_dp_rank_0.pt\n",
|
| 430 |
+
"checkpoints/sft/epoch_2_step_8/\n",
|
| 431 |
+
"checkpoints/sft/epoch_2_step_8/losses.json\n",
|
| 432 |
+
"checkpoints/sft/epoch_2_step_8/step_scheduler.pt\n",
|
| 433 |
+
"checkpoints/sft/epoch_2_step_8/optim/\n",
|
| 434 |
+
"checkpoints/sft/epoch_2_step_8/optim/.metadata\n",
|
| 435 |
+
"checkpoints/sft/epoch_2_step_8/optim/__0_0.distcp\n",
|
| 436 |
+
"checkpoints/sft/epoch_2_step_8/dataloader/\n",
|
| 437 |
+
"checkpoints/sft/epoch_2_step_8/dataloader/dataloader_dp_rank_0.pt\n",
|
| 438 |
+
"checkpoints/sft/epoch_2_step_8/model/\n",
|
| 439 |
+
"checkpoints/sft/epoch_2_step_8/model/adapter_config.json\n",
|
| 440 |
+
"checkpoints/sft/epoch_2_step_8/model/adapter_model.safetensors\n",
|
| 441 |
+
"checkpoints/sft/epoch_2_step_8/model/automodel_peft_config.json\n",
|
| 442 |
+
"checkpoints/sft/epoch_2_step_8/model/configuration_nemotron_h.py\n",
|
| 443 |
+
"checkpoints/sft/epoch_2_step_8/model/tokenizer_config.json\n",
|
| 444 |
+
"checkpoints/sft/epoch_2_step_8/model/tokenizer.json\n",
|
| 445 |
+
"checkpoints/sft/epoch_2_step_8/model/chat_template.jinja\n",
|
| 446 |
+
"checkpoints/sft/epoch_2_step_8/config.yaml\n",
|
| 447 |
+
"checkpoints/sft/epoch_2_step_8/rng/\n",
|
| 448 |
+
"checkpoints/sft/epoch_2_step_8/rng/rng_dp_rank_0.pt\n",
|
| 449 |
+
"checkpoints/sft/epoch_14_step_44/\n",
|
| 450 |
+
"checkpoints/sft/epoch_14_step_44/losses.json\n",
|
| 451 |
+
"checkpoints/sft/epoch_14_step_44/step_scheduler.pt\n",
|
| 452 |
+
"checkpoints/sft/epoch_14_step_44/optim/\n",
|
| 453 |
+
"checkpoints/sft/epoch_14_step_44/optim/.metadata\n",
|
| 454 |
+
"checkpoints/sft/epoch_14_step_44/optim/__0_0.distcp\n",
|
| 455 |
+
"checkpoints/sft/epoch_14_step_44/dataloader/\n",
|
| 456 |
+
"checkpoints/sft/epoch_14_step_44/dataloader/dataloader_dp_rank_0.pt\n",
|
| 457 |
+
"checkpoints/sft/epoch_14_step_44/model/\n",
|
| 458 |
+
"checkpoints/sft/epoch_14_step_44/model/adapter_config.json\n",
|
| 459 |
+
"checkpoints/sft/epoch_14_step_44/model/adapter_model.safetensors\n",
|
| 460 |
+
"checkpoints/sft/epoch_14_step_44/model/automodel_peft_config.json\n",
|
| 461 |
+
"checkpoints/sft/epoch_14_step_44/model/configuration_nemotron_h.py\n",
|
| 462 |
+
"checkpoints/sft/epoch_14_step_44/model/tokenizer_config.json\n",
|
| 463 |
+
"checkpoints/sft/epoch_14_step_44/model/tokenizer.json\n",
|
| 464 |
+
"checkpoints/sft/epoch_14_step_44/model/chat_template.jinja\n",
|
| 465 |
+
"checkpoints/sft/epoch_14_step_44/config.yaml\n",
|
| 466 |
+
"checkpoints/sft/epoch_14_step_44/rng/\n",
|
| 467 |
+
"checkpoints/sft/epoch_14_step_44/rng/rng_dp_rank_0.pt\n",
|
| 468 |
+
"checkpoints/sft/epoch_10_step_32/\n",
|
| 469 |
+
"checkpoints/sft/epoch_10_step_32/losses.json\n",
|
| 470 |
+
"checkpoints/sft/epoch_10_step_32/step_scheduler.pt\n",
|
| 471 |
+
"checkpoints/sft/epoch_10_step_32/optim/\n",
|
| 472 |
+
"checkpoints/sft/epoch_10_step_32/optim/.metadata\n",
|
| 473 |
+
"checkpoints/sft/epoch_10_step_32/optim/__0_0.distcp\n",
|
| 474 |
+
"checkpoints/sft/epoch_10_step_32/dataloader/\n",
|
| 475 |
+
"checkpoints/sft/epoch_10_step_32/dataloader/dataloader_dp_rank_0.pt\n",
|
| 476 |
+
"checkpoints/sft/epoch_10_step_32/model/\n",
|
| 477 |
+
"checkpoints/sft/epoch_10_step_32/model/adapter_config.json\n",
|
| 478 |
+
"checkpoints/sft/epoch_10_step_32/model/adapter_model.safetensors\n",
|
| 479 |
+
"checkpoints/sft/epoch_10_step_32/model/automodel_peft_config.json\n",
|
| 480 |
+
"checkpoints/sft/epoch_10_step_32/model/configuration_nemotron_h.py\n",
|
| 481 |
+
"checkpoints/sft/epoch_10_step_32/model/tokenizer_config.json\n",
|
| 482 |
+
"checkpoints/sft/epoch_10_step_32/model/tokenizer.json\n",
|
| 483 |
+
"checkpoints/sft/epoch_10_step_32/model/chat_template.jinja\n",
|
| 484 |
+
"checkpoints/sft/epoch_10_step_32/config.yaml\n",
|
| 485 |
+
"checkpoints/sft/epoch_10_step_32/rng/\n",
|
| 486 |
+
"checkpoints/sft/epoch_10_step_32/rng/rng_dp_rank_0.pt\n",
|
| 487 |
+
"checkpoints/sft/LATEST\n",
|
| 488 |
+
"checkpoints/cpt/\n",
|
| 489 |
+
"checkpoints/cpt/epoch_0_step_2749/\n",
|
| 490 |
+
"checkpoints/cpt/epoch_0_step_2749/losses.json\n",
|
| 491 |
+
"checkpoints/cpt/epoch_0_step_2749/step_scheduler.pt\n",
|
| 492 |
+
"checkpoints/cpt/epoch_0_step_2749/optim/\n",
|
| 493 |
+
"checkpoints/cpt/epoch_0_step_2749/optim/.metadata\n",
|
| 494 |
+
"checkpoints/cpt/epoch_0_step_2749/optim/__0_0.distcp\n",
|
| 495 |
+
"checkpoints/cpt/epoch_0_step_2749/dataloader/\n",
|
| 496 |
+
"checkpoints/cpt/epoch_0_step_2749/dataloader/dataloader_dp_rank_0.pt\n",
|
| 497 |
+
"checkpoints/cpt/epoch_0_step_2749/model/\n",
|
| 498 |
+
"checkpoints/cpt/epoch_0_step_2749/model/special_tokens_map.json\n",
|
| 499 |
+
"checkpoints/cpt/epoch_0_step_2749/model/adapter_config.json\n",
|
| 500 |
+
"checkpoints/cpt/epoch_0_step_2749/model/adapter_model.safetensors\n",
|
| 501 |
+
"checkpoints/cpt/epoch_0_step_2749/model/automodel_peft_config.json\n",
|
| 502 |
+
"checkpoints/cpt/epoch_0_step_2749/model/configuration_nemotron_h.py\n",
|
| 503 |
+
"checkpoints/cpt/epoch_0_step_2749/model/tokenizer_config.json\n",
|
| 504 |
+
"checkpoints/cpt/epoch_0_step_2749/model/tokenizer.json\n",
|
| 505 |
+
"checkpoints/cpt/epoch_0_step_2749/model/modeling_nemotron_h.py\n",
|
| 506 |
+
"checkpoints/cpt/epoch_0_step_2749/config.yaml\n",
|
| 507 |
+
"checkpoints/cpt/epoch_0_step_2749/rng/\n",
|
| 508 |
+
"checkpoints/cpt/epoch_0_step_2749/rng/rng_dp_rank_0.pt\n",
|
| 509 |
+
"checkpoints/cpt/epoch_0_step_749/\n",
|
| 510 |
+
"checkpoints/cpt/epoch_0_step_749/losses.json\n",
|
| 511 |
+
"checkpoints/cpt/epoch_0_step_749/step_scheduler.pt\n",
|
| 512 |
+
"checkpoints/cpt/epoch_0_step_749/optim/\n",
|
| 513 |
+
"checkpoints/cpt/epoch_0_step_749/optim/.metadata\n",
|
| 514 |
+
"checkpoints/cpt/epoch_0_step_749/optim/__0_0.distcp\n",
|
| 515 |
+
"checkpoints/cpt/epoch_0_step_749/dataloader/\n",
|
| 516 |
+
"checkpoints/cpt/epoch_0_step_749/dataloader/dataloader_dp_rank_0.pt\n",
|
| 517 |
+
"checkpoints/cpt/epoch_0_step_749/model/\n",
|
| 518 |
+
"checkpoints/cpt/epoch_0_step_749/model/special_tokens_map.json\n",
|
| 519 |
+
"checkpoints/cpt/epoch_0_step_749/model/adapter_config.json\n",
|
| 520 |
+
"checkpoints/cpt/epoch_0_step_749/model/adapter_model.safetensors\n",
|
| 521 |
+
"checkpoints/cpt/epoch_0_step_749/model/automodel_peft_config.json\n",
|
| 522 |
+
"checkpoints/cpt/epoch_0_step_749/model/configuration_nemotron_h.py\n",
|
| 523 |
+
"checkpoints/cpt/epoch_0_step_749/model/tokenizer_config.json\n",
|
| 524 |
+
"checkpoints/cpt/epoch_0_step_749/model/tokenizer.json\n",
|
| 525 |
+
"checkpoints/cpt/epoch_0_step_749/model/modeling_nemotron_h.py\n",
|
| 526 |
+
"checkpoints/cpt/epoch_0_step_749/config.yaml\n",
|
| 527 |
+
"checkpoints/cpt/epoch_0_step_749/rng/\n",
|
| 528 |
+
"checkpoints/cpt/epoch_0_step_749/rng/rng_dp_rank_0.pt\n",
|
| 529 |
+
"checkpoints/cpt/epoch_0_step_2249/\n",
|
| 530 |
+
"checkpoints/cpt/epoch_0_step_2249/losses.json\n",
|
| 531 |
+
"checkpoints/cpt/epoch_0_step_2249/step_scheduler.pt\n",
|
| 532 |
+
"checkpoints/cpt/epoch_0_step_2249/optim/\n",
|
| 533 |
+
"checkpoints/cpt/epoch_0_step_2249/optim/.metadata\n",
|
| 534 |
+
"checkpoints/cpt/epoch_0_step_2249/optim/__0_0.distcp\n",
|
| 535 |
+
"checkpoints/cpt/epoch_0_step_2249/dataloader/\n",
|
| 536 |
+
"checkpoints/cpt/epoch_0_step_2249/dataloader/dataloader_dp_rank_0.pt\n",
|
| 537 |
+
"checkpoints/cpt/epoch_0_step_2249/model/\n",
|
| 538 |
+
"checkpoints/cpt/epoch_0_step_2249/model/special_tokens_map.json\n",
|
| 539 |
+
"checkpoints/cpt/epoch_0_step_2249/model/adapter_config.json\n",
|
| 540 |
+
"checkpoints/cpt/epoch_0_step_2249/model/adapter_model.safetensors\n",
|
| 541 |
+
"checkpoints/cpt/epoch_0_step_2249/model/automodel_peft_config.json\n",
|
| 542 |
+
"checkpoints/cpt/epoch_0_step_2249/model/configuration_nemotron_h.py\n",
|
| 543 |
+
"checkpoints/cpt/epoch_0_step_2249/model/tokenizer_config.json\n",
|
| 544 |
+
"checkpoints/cpt/epoch_0_step_2249/model/tokenizer.json\n",
|
| 545 |
+
"checkpoints/cpt/epoch_0_step_2249/model/modeling_nemotron_h.py\n",
|
| 546 |
+
"checkpoints/cpt/epoch_0_step_2249/config.yaml\n",
|
| 547 |
+
"checkpoints/cpt/epoch_0_step_2249/rng/\n",
|
| 548 |
+
"checkpoints/cpt/epoch_0_step_2249/rng/rng_dp_rank_0.pt\n",
|
| 549 |
+
"checkpoints/cpt/epoch_0_step_2499/\n",
|
| 550 |
+
"checkpoints/cpt/epoch_0_step_2499/losses.json\n",
|
| 551 |
+
"checkpoints/cpt/epoch_0_step_2499/step_scheduler.pt\n",
|
| 552 |
+
"checkpoints/cpt/epoch_0_step_2499/optim/\n",
|
| 553 |
+
"checkpoints/cpt/epoch_0_step_2499/optim/.metadata\n",
|
| 554 |
+
"checkpoints/cpt/epoch_0_step_2499/optim/__0_0.distcp\n",
|
| 555 |
+
"checkpoints/cpt/epoch_0_step_2499/dataloader/\n",
|
| 556 |
+
"checkpoints/cpt/epoch_0_step_2499/dataloader/dataloader_dp_rank_0.pt\n",
|
| 557 |
+
"checkpoints/cpt/epoch_0_step_2499/model/\n",
|
| 558 |
+
"checkpoints/cpt/epoch_0_step_2499/model/special_tokens_map.json\n",
|
| 559 |
+
"checkpoints/cpt/epoch_0_step_2499/model/adapter_config.json\n",
|
| 560 |
+
"checkpoints/cpt/epoch_0_step_2499/model/adapter_model.safetensors\n",
|
| 561 |
+
"checkpoints/cpt/epoch_0_step_2499/model/automodel_peft_config.json\n",
|
| 562 |
+
"checkpoints/cpt/epoch_0_step_2499/model/configuration_nemotron_h.py\n",
|
| 563 |
+
"checkpoints/cpt/epoch_0_step_2499/model/tokenizer_config.json\n",
|
| 564 |
+
"checkpoints/cpt/epoch_0_step_2499/model/tokenizer.json\n",
|
| 565 |
+
"checkpoints/cpt/epoch_0_step_2499/model/modeling_nemotron_h.py\n",
|
| 566 |
+
"checkpoints/cpt/epoch_0_step_2499/config.yaml\n",
|
| 567 |
+
"checkpoints/cpt/epoch_0_step_2499/rng/\n",
|
| 568 |
+
"checkpoints/cpt/epoch_0_step_2499/rng/rng_dp_rank_0.pt\n",
|
| 569 |
+
"checkpoints/cpt/training.jsonl\n",
|
| 570 |
+
"checkpoints/cpt/epoch_0_step_4249/\n",
|
| 571 |
+
"checkpoints/cpt/epoch_0_step_4249/losses.json\n",
|
| 572 |
+
"checkpoints/cpt/epoch_0_step_4249/step_scheduler.pt\n",
|
| 573 |
+
"checkpoints/cpt/epoch_0_step_4249/optim/\n",
|
| 574 |
+
"checkpoints/cpt/epoch_0_step_4249/optim/.metadata\n",
|
| 575 |
+
"checkpoints/cpt/epoch_0_step_4249/optim/__0_0.distcp\n",
|
| 576 |
+
"checkpoints/cpt/epoch_0_step_4249/dataloader/\n",
|
| 577 |
+
"checkpoints/cpt/epoch_0_step_4249/dataloader/dataloader_dp_rank_0.pt\n",
|
| 578 |
+
"checkpoints/cpt/epoch_0_step_4249/model/\n",
|
| 579 |
+
"checkpoints/cpt/epoch_0_step_4249/model/special_tokens_map.json\n",
|
| 580 |
+
"checkpoints/cpt/epoch_0_step_4249/model/adapter_config.json\n",
|
| 581 |
+
"checkpoints/cpt/epoch_0_step_4249/model/adapter_model.safetensors\n",
|
| 582 |
+
"checkpoints/cpt/epoch_0_step_4249/model/automodel_peft_config.json\n",
|
| 583 |
+
"checkpoints/cpt/epoch_0_step_4249/model/configuration_nemotron_h.py\n",
|
| 584 |
+
"checkpoints/cpt/epoch_0_step_4249/model/tokenizer_config.json\n",
|
| 585 |
+
"checkpoints/cpt/epoch_0_step_4249/model/tokenizer.json\n",
|
| 586 |
+
"checkpoints/cpt/epoch_0_step_4249/model/modeling_nemotron_h.py\n",
|
| 587 |
+
"checkpoints/cpt/epoch_0_step_4249/config.yaml\n",
|
| 588 |
+
"checkpoints/cpt/epoch_0_step_4249/rng/\n",
|
| 589 |
+
"checkpoints/cpt/epoch_0_step_4249/rng/rng_dp_rank_0.pt\n",
|
| 590 |
+
"checkpoints/cpt/epoch_0_step_1249/\n",
|
| 591 |
+
"checkpoints/cpt/epoch_0_step_1249/losses.json\n",
|
| 592 |
+
"checkpoints/cpt/epoch_0_step_1249/step_scheduler.pt\n",
|
| 593 |
+
"checkpoints/cpt/epoch_0_step_1249/optim/\n",
|
| 594 |
+
"checkpoints/cpt/epoch_0_step_1249/optim/.metadata\n",
|
| 595 |
+
"checkpoints/cpt/epoch_0_step_1249/optim/__0_0.distcp\n",
|
| 596 |
+
"checkpoints/cpt/epoch_0_step_1249/dataloader/\n",
|
| 597 |
+
"checkpoints/cpt/epoch_0_step_1249/dataloader/dataloader_dp_rank_0.pt\n",
|
| 598 |
+
"checkpoints/cpt/epoch_0_step_1249/model/\n",
|
| 599 |
+
"checkpoints/cpt/epoch_0_step_1249/model/special_tokens_map.json\n",
|
| 600 |
+
"checkpoints/cpt/epoch_0_step_1249/model/adapter_config.json\n",
|
| 601 |
+
"checkpoints/cpt/epoch_0_step_1249/model/adapter_model.safetensors\n",
|
| 602 |
+
"checkpoints/cpt/epoch_0_step_1249/model/automodel_peft_config.json\n",
|
| 603 |
+
"checkpoints/cpt/epoch_0_step_1249/model/configuration_nemotron_h.py\n",
|
| 604 |
+
"checkpoints/cpt/epoch_0_step_1249/model/tokenizer_config.json\n",
|
| 605 |
+
"checkpoints/cpt/epoch_0_step_1249/model/tokenizer.json\n",
|
| 606 |
+
"checkpoints/cpt/epoch_0_step_1249/model/modeling_nemotron_h.py\n",
|
| 607 |
+
"checkpoints/cpt/epoch_0_step_1249/config.yaml\n",
|
| 608 |
+
"checkpoints/cpt/epoch_0_step_1249/rng/\n",
|
| 609 |
+
"checkpoints/cpt/epoch_0_step_1249/rng/rng_dp_rank_0.pt\n",
|
| 610 |
+
"checkpoints/cpt/epoch_0_step_499/\n",
|
| 611 |
+
"checkpoints/cpt/epoch_0_step_499/losses.json\n",
|
| 612 |
+
"checkpoints/cpt/epoch_0_step_499/step_scheduler.pt\n",
|
| 613 |
+
"checkpoints/cpt/epoch_0_step_499/optim/\n",
|
| 614 |
+
"checkpoints/cpt/epoch_0_step_499/optim/.metadata\n",
|
| 615 |
+
"checkpoints/cpt/epoch_0_step_499/optim/__0_0.distcp\n",
|
| 616 |
+
"checkpoints/cpt/epoch_0_step_499/dataloader/\n",
|
| 617 |
+
"checkpoints/cpt/epoch_0_step_499/dataloader/dataloader_dp_rank_0.pt\n",
|
| 618 |
+
"checkpoints/cpt/epoch_0_step_499/model/\n",
|
| 619 |
+
"checkpoints/cpt/epoch_0_step_499/model/special_tokens_map.json\n",
|
| 620 |
+
"checkpoints/cpt/epoch_0_step_499/model/adapter_config.json\n",
|
| 621 |
+
"checkpoints/cpt/epoch_0_step_499/model/adapter_model.safetensors\n",
|
| 622 |
+
"checkpoints/cpt/epoch_0_step_499/model/automodel_peft_config.json\n",
|
| 623 |
+
"checkpoints/cpt/epoch_0_step_499/model/configuration_nemotron_h.py\n",
|
| 624 |
+
"checkpoints/cpt/epoch_0_step_499/model/tokenizer_config.json\n",
|
| 625 |
+
"checkpoints/cpt/epoch_0_step_499/model/tokenizer.json\n",
|
| 626 |
+
"checkpoints/cpt/epoch_0_step_499/model/modeling_nemotron_h.py\n",
|
| 627 |
+
"checkpoints/cpt/epoch_0_step_499/config.yaml\n",
|
| 628 |
+
"checkpoints/cpt/epoch_0_step_499/rng/\n",
|
| 629 |
+
"checkpoints/cpt/epoch_0_step_499/rng/rng_dp_rank_0.pt\n",
|
| 630 |
+
"checkpoints/cpt/epoch_0_step_4749/\n",
|
| 631 |
+
"checkpoints/cpt/epoch_0_step_4749/losses.json\n",
|
| 632 |
+
"checkpoints/cpt/epoch_0_step_4749/step_scheduler.pt\n",
|
| 633 |
+
"checkpoints/cpt/epoch_0_step_4749/optim/\n",
|
| 634 |
+
"checkpoints/cpt/epoch_0_step_4749/optim/.metadata\n",
|
| 635 |
+
"checkpoints/cpt/epoch_0_step_4749/optim/__0_0.distcp\n",
|
| 636 |
+
"checkpoints/cpt/epoch_0_step_4749/dataloader/\n",
|
| 637 |
+
"checkpoints/cpt/epoch_0_step_4749/dataloader/dataloader_dp_rank_0.pt\n",
|
| 638 |
+
"checkpoints/cpt/epoch_0_step_4749/model/\n",
|
| 639 |
+
"checkpoints/cpt/epoch_0_step_4749/model/special_tokens_map.json\n",
|
| 640 |
+
"checkpoints/cpt/epoch_0_step_4749/model/adapter_config.json\n",
|
| 641 |
+
"checkpoints/cpt/epoch_0_step_4749/model/adapter_model.safetensors\n",
|
| 642 |
+
"checkpoints/cpt/epoch_0_step_4749/model/automodel_peft_config.json\n",
|
| 643 |
+
"checkpoints/cpt/epoch_0_step_4749/model/configuration_nemotron_h.py\n",
|
| 644 |
+
"checkpoints/cpt/epoch_0_step_4749/model/tokenizer_config.json\n",
|
| 645 |
+
"checkpoints/cpt/epoch_0_step_4749/model/tokenizer.json\n",
|
| 646 |
+
"checkpoints/cpt/epoch_0_step_4749/model/modeling_nemotron_h.py\n",
|
| 647 |
+
"checkpoints/cpt/epoch_0_step_4749/config.yaml\n",
|
| 648 |
+
"checkpoints/cpt/epoch_0_step_4749/rng/\n",
|
| 649 |
+
"checkpoints/cpt/epoch_0_step_4749/rng/rng_dp_rank_0.pt\n",
|
| 650 |
+
"checkpoints/cpt/LOWEST_VAL\n",
|
| 651 |
+
"checkpoints/cpt/epoch_0_step_1749/\n",
|
| 652 |
+
"checkpoints/cpt/epoch_0_step_1749/losses.json\n",
|
| 653 |
+
"checkpoints/cpt/epoch_0_step_1749/step_scheduler.pt\n",
|
| 654 |
+
"checkpoints/cpt/epoch_0_step_1749/optim/\n",
|
| 655 |
+
"checkpoints/cpt/epoch_0_step_1749/optim/.metadata\n",
|
| 656 |
+
"checkpoints/cpt/epoch_0_step_1749/optim/__0_0.distcp\n",
|
| 657 |
+
"checkpoints/cpt/epoch_0_step_1749/dataloader/\n",
|
| 658 |
+
"checkpoints/cpt/epoch_0_step_1749/dataloader/dataloader_dp_rank_0.pt\n",
|
| 659 |
+
"checkpoints/cpt/epoch_0_step_1749/model/\n",
|
| 660 |
+
"checkpoints/cpt/epoch_0_step_1749/model/special_tokens_map.json\n",
|
| 661 |
+
"checkpoints/cpt/epoch_0_step_1749/model/adapter_config.json\n",
|
| 662 |
+
"checkpoints/cpt/epoch_0_step_1749/model/adapter_model.safetensors\n",
|
| 663 |
+
"checkpoints/cpt/epoch_0_step_1749/model/automodel_peft_config.json\n",
|
| 664 |
+
"checkpoints/cpt/epoch_0_step_1749/model/configuration_nemotron_h.py\n",
|
| 665 |
+
"checkpoints/cpt/epoch_0_step_1749/model/tokenizer_config.json\n",
|
| 666 |
+
"checkpoints/cpt/epoch_0_step_1749/model/tokenizer.json\n",
|
| 667 |
+
"checkpoints/cpt/epoch_0_step_1749/model/modeling_nemotron_h.py\n",
|
| 668 |
+
"checkpoints/cpt/epoch_0_step_1749/config.yaml\n",
|
| 669 |
+
"checkpoints/cpt/epoch_0_step_1749/rng/\n",
|
| 670 |
+
"checkpoints/cpt/epoch_0_step_1749/rng/rng_dp_rank_0.pt\n",
|
| 671 |
+
"checkpoints/cpt/epoch_0_step_3749/\n",
|
| 672 |
+
"checkpoints/cpt/epoch_0_step_3749/losses.json\n",
|
| 673 |
+
"checkpoints/cpt/epoch_0_step_3749/step_scheduler.pt\n",
|
| 674 |
+
"checkpoints/cpt/epoch_0_step_3749/optim/\n",
|
| 675 |
+
"checkpoints/cpt/epoch_0_step_3749/optim/.metadata\n",
|
| 676 |
+
"checkpoints/cpt/epoch_0_step_3749/optim/__0_0.distcp\n",
|
| 677 |
+
"checkpoints/cpt/epoch_0_step_3749/dataloader/\n",
|
| 678 |
+
"checkpoints/cpt/epoch_0_step_3749/dataloader/dataloader_dp_rank_0.pt\n",
|
| 679 |
+
"checkpoints/cpt/epoch_0_step_3749/model/\n",
|
| 680 |
+
"checkpoints/cpt/epoch_0_step_3749/model/special_tokens_map.json\n",
|
| 681 |
+
"checkpoints/cpt/epoch_0_step_3749/model/adapter_config.json\n",
|
| 682 |
+
"checkpoints/cpt/epoch_0_step_3749/model/adapter_model.safetensors\n",
|
| 683 |
+
"checkpoints/cpt/epoch_0_step_3749/model/automodel_peft_config.json\n",
|
| 684 |
+
"checkpoints/cpt/epoch_0_step_3749/model/configuration_nemotron_h.py\n",
|
| 685 |
+
"checkpoints/cpt/epoch_0_step_3749/model/tokenizer_config.json\n",
|
| 686 |
+
"checkpoints/cpt/epoch_0_step_3749/model/tokenizer.json\n",
|
| 687 |
+
"checkpoints/cpt/epoch_0_step_3749/model/modeling_nemotron_h.py\n",
|
| 688 |
+
"checkpoints/cpt/epoch_0_step_3749/config.yaml\n",
|
| 689 |
+
"checkpoints/cpt/epoch_0_step_3749/rng/\n",
|
| 690 |
+
"checkpoints/cpt/epoch_0_step_3749/rng/rng_dp_rank_0.pt\n",
|
| 691 |
+
"checkpoints/cpt/epoch_0_step_3999/\n",
|
| 692 |
+
"checkpoints/cpt/epoch_0_step_3999/losses.json\n",
|
| 693 |
+
"checkpoints/cpt/epoch_0_step_3999/step_scheduler.pt\n",
|
| 694 |
+
"checkpoints/cpt/epoch_0_step_3999/optim/\n",
|
| 695 |
+
"checkpoints/cpt/epoch_0_step_3999/optim/.metadata\n",
|
| 696 |
+
"checkpoints/cpt/epoch_0_step_3999/optim/__0_0.distcp\n",
|
| 697 |
+
"checkpoints/cpt/epoch_0_step_3999/dataloader/\n",
|
| 698 |
+
"checkpoints/cpt/epoch_0_step_3999/dataloader/dataloader_dp_rank_0.pt\n",
|
| 699 |
+
"checkpoints/cpt/epoch_0_step_3999/model/\n",
|
| 700 |
+
"checkpoints/cpt/epoch_0_step_3999/model/special_tokens_map.json\n",
|
| 701 |
+
"checkpoints/cpt/epoch_0_step_3999/model/adapter_config.json\n",
|
| 702 |
+
"checkpoints/cpt/epoch_0_step_3999/model/adapter_model.safetensors\n",
|
| 703 |
+
"checkpoints/cpt/epoch_0_step_3999/model/automodel_peft_config.json\n",
|
| 704 |
+
"checkpoints/cpt/epoch_0_step_3999/model/configuration_nemotron_h.py\n",
|
| 705 |
+
"checkpoints/cpt/epoch_0_step_3999/model/tokenizer_config.json\n",
|
| 706 |
+
"checkpoints/cpt/epoch_0_step_3999/model/tokenizer.json\n",
|
| 707 |
+
"checkpoints/cpt/epoch_0_step_3999/model/modeling_nemotron_h.py\n",
|
| 708 |
+
"checkpoints/cpt/epoch_0_step_3999/config.yaml\n",
|
| 709 |
+
"checkpoints/cpt/epoch_0_step_3999/rng/\n",
|
| 710 |
+
"checkpoints/cpt/epoch_0_step_3999/rng/rng_dp_rank_0.pt\n",
|
| 711 |
+
"checkpoints/cpt/epoch_0_step_3249/\n",
|
| 712 |
+
"checkpoints/cpt/epoch_0_step_3249/losses.json\n",
|
| 713 |
+
"checkpoints/cpt/epoch_0_step_3249/step_scheduler.pt\n",
|
| 714 |
+
"checkpoints/cpt/epoch_0_step_3249/optim/\n",
|
| 715 |
+
"checkpoints/cpt/epoch_0_step_3249/optim/.metadata\n",
|
| 716 |
+
"checkpoints/cpt/epoch_0_step_3249/optim/__0_0.distcp\n",
|
| 717 |
+
"checkpoints/cpt/epoch_0_step_3249/dataloader/\n",
|
| 718 |
+
"checkpoints/cpt/epoch_0_step_3249/dataloader/dataloader_dp_rank_0.pt\n",
|
| 719 |
+
"checkpoints/cpt/epoch_0_step_3249/model/\n",
|
| 720 |
+
"checkpoints/cpt/epoch_0_step_3249/model/special_tokens_map.json\n",
|
| 721 |
+
"checkpoints/cpt/epoch_0_step_3249/model/adapter_config.json\n",
|
| 722 |
+
"checkpoints/cpt/epoch_0_step_3249/model/adapter_model.safetensors\n",
|
| 723 |
+
"checkpoints/cpt/epoch_0_step_3249/model/automodel_peft_config.json\n",
|
| 724 |
+
"checkpoints/cpt/epoch_0_step_3249/model/configuration_nemotron_h.py\n",
|
| 725 |
+
"checkpoints/cpt/epoch_0_step_3249/model/tokenizer_config.json\n",
|
| 726 |
+
"checkpoints/cpt/epoch_0_step_3249/model/tokenizer.json\n",
|
| 727 |
+
"checkpoints/cpt/epoch_0_step_3249/model/modeling_nemotron_h.py\n",
|
| 728 |
+
"checkpoints/cpt/epoch_0_step_3249/config.yaml\n",
|
| 729 |
+
"checkpoints/cpt/epoch_0_step_3249/rng/\n",
|
| 730 |
+
"checkpoints/cpt/epoch_0_step_3249/rng/rng_dp_rank_0.pt\n",
|
| 731 |
+
"checkpoints/cpt/epoch_0_step_249/\n",
|
| 732 |
+
"checkpoints/cpt/epoch_0_step_249/losses.json\n",
|
| 733 |
+
"checkpoints/cpt/epoch_0_step_249/step_scheduler.pt\n",
|
| 734 |
+
"checkpoints/cpt/epoch_0_step_249/optim/\n",
|
| 735 |
+
"checkpoints/cpt/epoch_0_step_249/optim/.metadata\n",
|
| 736 |
+
"checkpoints/cpt/epoch_0_step_249/optim/__0_0.distcp\n",
|
| 737 |
+
"checkpoints/cpt/epoch_0_step_249/dataloader/\n",
|
| 738 |
+
"checkpoints/cpt/epoch_0_step_249/dataloader/dataloader_dp_rank_0.pt\n",
|
| 739 |
+
"checkpoints/cpt/epoch_0_step_249/model/\n",
|
| 740 |
+
"checkpoints/cpt/epoch_0_step_249/model/special_tokens_map.json\n",
|
| 741 |
+
"checkpoints/cpt/epoch_0_step_249/model/adapter_config.json\n",
|
| 742 |
+
"checkpoints/cpt/epoch_0_step_249/model/adapter_model.safetensors\n",
|
| 743 |
+
"checkpoints/cpt/epoch_0_step_249/model/automodel_peft_config.json\n",
|
| 744 |
+
"checkpoints/cpt/epoch_0_step_249/model/configuration_nemotron_h.py\n",
|
| 745 |
+
"checkpoints/cpt/epoch_0_step_249/model/tokenizer_config.json\n",
|
| 746 |
+
"checkpoints/cpt/epoch_0_step_249/model/tokenizer.json\n",
|
| 747 |
+
"checkpoints/cpt/epoch_0_step_249/model/modeling_nemotron_h.py\n",
|
| 748 |
+
"checkpoints/cpt/epoch_0_step_249/config.yaml\n",
|
| 749 |
+
"checkpoints/cpt/epoch_0_step_249/rng/\n",
|
| 750 |
+
"checkpoints/cpt/epoch_0_step_249/rng/rng_dp_rank_0.pt\n",
|
| 751 |
+
"checkpoints/cpt/epoch_0_step_3499/\n",
|
| 752 |
+
"checkpoints/cpt/epoch_0_step_3499/losses.json\n",
|
| 753 |
+
"checkpoints/cpt/epoch_0_step_3499/step_scheduler.pt\n",
|
| 754 |
+
"checkpoints/cpt/epoch_0_step_3499/optim/\n",
|
| 755 |
+
"checkpoints/cpt/epoch_0_step_3499/optim/.metadata\n",
|
| 756 |
+
"checkpoints/cpt/epoch_0_step_3499/optim/__0_0.distcp\n",
|
| 757 |
+
"checkpoints/cpt/epoch_0_step_3499/dataloader/\n",
|
| 758 |
+
"checkpoints/cpt/epoch_0_step_3499/dataloader/dataloader_dp_rank_0.pt\n",
|
| 759 |
+
"checkpoints/cpt/epoch_0_step_3499/model/\n",
|
| 760 |
+
"checkpoints/cpt/epoch_0_step_3499/model/special_tokens_map.json\n",
|
| 761 |
+
"checkpoints/cpt/epoch_0_step_3499/model/adapter_config.json\n",
|
| 762 |
+
"checkpoints/cpt/epoch_0_step_3499/model/adapter_model.safetensors\n",
|
| 763 |
+
"checkpoints/cpt/epoch_0_step_3499/model/automodel_peft_config.json\n",
|
| 764 |
+
"checkpoints/cpt/epoch_0_step_3499/model/configuration_nemotron_h.py\n",
|
| 765 |
+
"checkpoints/cpt/epoch_0_step_3499/model/tokenizer_config.json\n",
|
| 766 |
+
"checkpoints/cpt/epoch_0_step_3499/model/tokenizer.json\n",
|
| 767 |
+
"checkpoints/cpt/epoch_0_step_3499/model/modeling_nemotron_h.py\n",
|
| 768 |
+
"checkpoints/cpt/epoch_0_step_3499/config.yaml\n",
|
| 769 |
+
"checkpoints/cpt/epoch_0_step_3499/rng/\n",
|
| 770 |
+
"checkpoints/cpt/epoch_0_step_3499/rng/rng_dp_rank_0.pt\n",
|
| 771 |
+
"checkpoints/cpt/epoch_0_step_2999/\n",
|
| 772 |
+
"checkpoints/cpt/epoch_0_step_2999/losses.json\n",
|
| 773 |
+
"checkpoints/cpt/epoch_0_step_2999/step_scheduler.pt\n",
|
| 774 |
+
"checkpoints/cpt/epoch_0_step_2999/optim/\n",
|
| 775 |
+
"checkpoints/cpt/epoch_0_step_2999/optim/.metadata\n",
|
| 776 |
+
"checkpoints/cpt/epoch_0_step_2999/optim/__0_0.distcp\n",
|
| 777 |
+
"checkpoints/cpt/epoch_0_step_2999/dataloader/\n",
|
| 778 |
+
"checkpoints/cpt/epoch_0_step_2999/dataloader/dataloader_dp_rank_0.pt\n",
|
| 779 |
+
"checkpoints/cpt/epoch_0_step_2999/model/\n",
|
| 780 |
+
"checkpoints/cpt/epoch_0_step_2999/model/special_tokens_map.json\n",
|
| 781 |
+
"checkpoints/cpt/epoch_0_step_2999/model/adapter_config.json\n",
|
| 782 |
+
"checkpoints/cpt/epoch_0_step_2999/model/adapter_model.safetensors\n",
|
| 783 |
+
"checkpoints/cpt/epoch_0_step_2999/model/automodel_peft_config.json\n",
|
| 784 |
+
"checkpoints/cpt/epoch_0_step_2999/model/configuration_nemotron_h.py\n",
|
| 785 |
+
"checkpoints/cpt/epoch_0_step_2999/model/tokenizer_config.json\n",
|
| 786 |
+
"checkpoints/cpt/epoch_0_step_2999/model/tokenizer.json\n",
|
| 787 |
+
"checkpoints/cpt/epoch_0_step_2999/model/modeling_nemotron_h.py\n",
|
| 788 |
+
"checkpoints/cpt/epoch_0_step_2999/config.yaml\n",
|
| 789 |
+
"checkpoints/cpt/epoch_0_step_2999/rng/\n",
|
| 790 |
+
"checkpoints/cpt/epoch_0_step_2999/rng/rng_dp_rank_0.pt\n",
|
| 791 |
+
"checkpoints/cpt/epoch_0_step_4999/\n",
|
| 792 |
+
"checkpoints/cpt/epoch_0_step_4999/losses.json\n",
|
| 793 |
+
"checkpoints/cpt/epoch_0_step_4999/step_scheduler.pt\n",
|
| 794 |
+
"checkpoints/cpt/epoch_0_step_4999/optim/\n",
|
| 795 |
+
"checkpoints/cpt/epoch_0_step_4999/optim/.metadata\n",
|
| 796 |
+
"checkpoints/cpt/epoch_0_step_4999/optim/__0_0.distcp\n",
|
| 797 |
+
"checkpoints/cpt/epoch_0_step_4999/dataloader/\n",
|
| 798 |
+
"checkpoints/cpt/epoch_0_step_4999/dataloader/dataloader_dp_rank_0.pt\n",
|
| 799 |
+
"checkpoints/cpt/epoch_0_step_4999/model/\n",
|
| 800 |
+
"checkpoints/cpt/epoch_0_step_4999/model/special_tokens_map.json\n",
|
| 801 |
+
"checkpoints/cpt/epoch_0_step_4999/model/adapter_config.json\n",
|
| 802 |
+
"checkpoints/cpt/epoch_0_step_4999/model/adapter_model.safetensors\n",
|
| 803 |
+
"checkpoints/cpt/epoch_0_step_4999/model/automodel_peft_config.json\n",
|
| 804 |
+
"checkpoints/cpt/epoch_0_step_4999/model/configuration_nemotron_h.py\n",
|
| 805 |
+
"checkpoints/cpt/epoch_0_step_4999/model/tokenizer_config.json\n",
|
| 806 |
+
"checkpoints/cpt/epoch_0_step_4999/model/tokenizer.json\n",
|
| 807 |
+
"checkpoints/cpt/epoch_0_step_4999/model/modeling_nemotron_h.py\n",
|
| 808 |
+
"checkpoints/cpt/epoch_0_step_4999/config.yaml\n",
|
| 809 |
+
"checkpoints/cpt/epoch_0_step_4999/rng/\n",
|
| 810 |
+
"checkpoints/cpt/epoch_0_step_4999/rng/rng_dp_rank_0.pt\n",
|
| 811 |
+
"checkpoints/cpt/validation.jsonl\n",
|
| 812 |
+
"checkpoints/cpt/epoch_0_step_1499/\n",
|
| 813 |
+
"checkpoints/cpt/epoch_0_step_1499/losses.json\n",
|
| 814 |
+
"checkpoints/cpt/epoch_0_step_1499/step_scheduler.pt\n",
|
| 815 |
+
"checkpoints/cpt/epoch_0_step_1499/optim/\n",
|
| 816 |
+
"checkpoints/cpt/epoch_0_step_1499/optim/.metadata\n",
|
| 817 |
+
"checkpoints/cpt/epoch_0_step_1499/optim/__0_0.distcp\n",
|
| 818 |
+
"checkpoints/cpt/epoch_0_step_1499/dataloader/\n",
|
| 819 |
+
"checkpoints/cpt/epoch_0_step_1499/dataloader/dataloader_dp_rank_0.pt\n",
|
| 820 |
+
"checkpoints/cpt/epoch_0_step_1499/model/\n",
|
| 821 |
+
"checkpoints/cpt/epoch_0_step_1499/model/special_tokens_map.json\n",
|
| 822 |
+
"checkpoints/cpt/epoch_0_step_1499/model/adapter_config.json\n",
|
| 823 |
+
"checkpoints/cpt/epoch_0_step_1499/model/adapter_model.safetensors\n",
|
| 824 |
+
"checkpoints/cpt/epoch_0_step_1499/model/automodel_peft_config.json\n",
|
| 825 |
+
"checkpoints/cpt/epoch_0_step_1499/model/configuration_nemotron_h.py\n",
|
| 826 |
+
"checkpoints/cpt/epoch_0_step_1499/model/tokenizer_config.json\n",
|
| 827 |
+
"checkpoints/cpt/epoch_0_step_1499/model/tokenizer.json\n",
|
| 828 |
+
"checkpoints/cpt/epoch_0_step_1499/model/modeling_nemotron_h.py\n",
|
| 829 |
+
"checkpoints/cpt/epoch_0_step_1499/config.yaml\n",
|
| 830 |
+
"checkpoints/cpt/epoch_0_step_1499/rng/\n",
|
| 831 |
+
"checkpoints/cpt/epoch_0_step_1499/rng/rng_dp_rank_0.pt\n",
|
| 832 |
+
"checkpoints/cpt/epoch_0_step_999/\n",
|
| 833 |
+
"checkpoints/cpt/epoch_0_step_999/losses.json\n",
|
| 834 |
+
"checkpoints/cpt/epoch_0_step_999/step_scheduler.pt\n",
|
| 835 |
+
"checkpoints/cpt/epoch_0_step_999/optim/\n",
|
| 836 |
+
"checkpoints/cpt/epoch_0_step_999/optim/.metadata\n",
|
| 837 |
+
"checkpoints/cpt/epoch_0_step_999/optim/__0_0.distcp\n",
|
| 838 |
+
"checkpoints/cpt/epoch_0_step_999/dataloader/\n",
|
| 839 |
+
"checkpoints/cpt/epoch_0_step_999/dataloader/dataloader_dp_rank_0.pt\n",
|
| 840 |
+
"checkpoints/cpt/epoch_0_step_999/model/\n",
|
| 841 |
+
"checkpoints/cpt/epoch_0_step_999/model/special_tokens_map.json\n",
|
| 842 |
+
"checkpoints/cpt/epoch_0_step_999/model/adapter_config.json\n",
|
| 843 |
+
"checkpoints/cpt/epoch_0_step_999/model/adapter_model.safetensors\n",
|
| 844 |
+
"checkpoints/cpt/epoch_0_step_999/model/automodel_peft_config.json\n",
|
| 845 |
+
"checkpoints/cpt/epoch_0_step_999/model/configuration_nemotron_h.py\n",
|
| 846 |
+
"checkpoints/cpt/epoch_0_step_999/model/tokenizer_config.json\n",
|
| 847 |
+
"checkpoints/cpt/epoch_0_step_999/model/tokenizer.json\n",
|
| 848 |
+
"checkpoints/cpt/epoch_0_step_999/model/modeling_nemotron_h.py\n",
|
| 849 |
+
"checkpoints/cpt/epoch_0_step_999/config.yaml\n",
|
| 850 |
+
"checkpoints/cpt/epoch_0_step_999/rng/\n",
|
| 851 |
+
"checkpoints/cpt/epoch_0_step_999/rng/rng_dp_rank_0.pt\n",
|
| 852 |
+
"checkpoints/cpt/epoch_0_step_1999/\n",
|
| 853 |
+
"checkpoints/cpt/epoch_0_step_1999/losses.json\n",
|
| 854 |
+
"checkpoints/cpt/epoch_0_step_1999/step_scheduler.pt\n",
|
| 855 |
+
"checkpoints/cpt/epoch_0_step_1999/optim/\n",
|
| 856 |
+
"checkpoints/cpt/epoch_0_step_1999/optim/.metadata\n",
|
| 857 |
+
"checkpoints/cpt/epoch_0_step_1999/optim/__0_0.distcp\n",
|
| 858 |
+
"checkpoints/cpt/epoch_0_step_1999/dataloader/\n",
|
| 859 |
+
"checkpoints/cpt/epoch_0_step_1999/dataloader/dataloader_dp_rank_0.pt\n",
|
| 860 |
+
"checkpoints/cpt/epoch_0_step_1999/model/\n",
|
| 861 |
+
"checkpoints/cpt/epoch_0_step_1999/model/special_tokens_map.json\n",
|
| 862 |
+
"checkpoints/cpt/epoch_0_step_1999/model/adapter_config.json\n",
|
| 863 |
+
"checkpoints/cpt/epoch_0_step_1999/model/adapter_model.safetensors\n",
|
| 864 |
+
"checkpoints/cpt/epoch_0_step_1999/model/automodel_peft_config.json\n",
|
| 865 |
+
"checkpoints/cpt/epoch_0_step_1999/model/configuration_nemotron_h.py\n",
|
| 866 |
+
"checkpoints/cpt/epoch_0_step_1999/model/tokenizer_config.json\n",
|
| 867 |
+
"checkpoints/cpt/epoch_0_step_1999/model/tokenizer.json\n",
|
| 868 |
+
"checkpoints/cpt/epoch_0_step_1999/model/modeling_nemotron_h.py\n",
|
| 869 |
+
"checkpoints/cpt/epoch_0_step_1999/config.yaml\n",
|
| 870 |
+
"checkpoints/cpt/epoch_0_step_1999/rng/\n",
|
| 871 |
+
"checkpoints/cpt/epoch_0_step_1999/rng/rng_dp_rank_0.pt\n",
|
| 872 |
+
"checkpoints/cpt/LATEST\n",
|
| 873 |
+
"checkpoints/cpt/epoch_0_step_4499/\n",
|
| 874 |
+
"checkpoints/cpt/epoch_0_step_4499/losses.json\n",
|
| 875 |
+
"checkpoints/cpt/epoch_0_step_4499/step_scheduler.pt\n",
|
| 876 |
+
"checkpoints/cpt/epoch_0_step_4499/optim/\n",
|
| 877 |
+
"checkpoints/cpt/epoch_0_step_4499/optim/.metadata\n",
|
| 878 |
+
"checkpoints/cpt/epoch_0_step_4499/optim/__0_0.distcp\n",
|
| 879 |
+
"checkpoints/cpt/epoch_0_step_4499/dataloader/\n",
|
| 880 |
+
"checkpoints/cpt/epoch_0_step_4499/dataloader/dataloader_dp_rank_0.pt\n",
|
| 881 |
+
"checkpoints/cpt/epoch_0_step_4499/model/\n",
|
| 882 |
+
"checkpoints/cpt/epoch_0_step_4499/model/special_tokens_map.json\n",
|
| 883 |
+
"checkpoints/cpt/epoch_0_step_4499/model/adapter_config.json\n",
|
| 884 |
+
"checkpoints/cpt/epoch_0_step_4499/model/adapter_model.safetensors\n",
|
| 885 |
+
"checkpoints/cpt/epoch_0_step_4499/model/automodel_peft_config.json\n",
|
| 886 |
+
"checkpoints/cpt/epoch_0_step_4499/model/configuration_nemotron_h.py\n",
|
| 887 |
+
"checkpoints/cpt/epoch_0_step_4499/model/tokenizer_config.json\n",
|
| 888 |
+
"checkpoints/cpt/epoch_0_step_4499/model/tokenizer.json\n",
|
| 889 |
+
"checkpoints/cpt/epoch_0_step_4499/model/modeling_nemotron_h.py\n",
|
| 890 |
+
"checkpoints/cpt/epoch_0_step_4499/config.yaml\n",
|
| 891 |
+
"checkpoints/cpt/epoch_0_step_4499/rng/\n",
|
| 892 |
+
"checkpoints/cpt/epoch_0_step_4499/rng/rng_dp_rank_0.pt\n"
|
| 893 |
+
]
|
| 894 |
+
}
|
| 895 |
+
],
|
| 896 |
+
"source": [
|
| 897 |
+
"!tar -xzvf /teamspace/studios/this_studio/KYC_US/checkpoints-cpt-sft.tar.gz -C /teamspace/studios/this_studio/KYC_US/\n"
|
| 898 |
+
]
|
| 899 |
+
},
|
| 900 |
+
{
|
| 901 |
+
"cell_type": "code",
|
| 902 |
+
"execution_count": null,
|
| 903 |
+
"id": "d30994c9",
|
| 904 |
+
"metadata": {},
|
| 905 |
+
"outputs": [],
|
| 906 |
+
"source": [
|
| 907 |
+
"python - <<'PY'\n",
|
| 908 |
+
"import os\n",
|
| 909 |
+
"import torch\n",
|
| 910 |
+
"from transformers import AutoModelForCausalLM, AutoTokenizer\n",
|
| 911 |
+
"from peft import PeftModel\n",
|
| 912 |
+
"from safetensors.torch import save_file\n",
|
| 913 |
+
"\n",
|
| 914 |
+
"BASE = \"/models/nemotron3-nano-base\"\n",
|
| 915 |
+
"ADAPTER = \"/checkpoints/cpt/epoch_0_step_4999/model\"\n",
|
| 916 |
+
"OUT = \"/models/nemotron3-nano-cpt-merged\"\n",
|
| 917 |
+
"\n",
|
| 918 |
+
"os.makedirs(OUT, exist_ok=True)\n",
|
| 919 |
+
"\n",
|
| 920 |
+
"tok = AutoTokenizer.from_pretrained(BASE, trust_remote_code=True)\n",
|
| 921 |
+
"model = AutoModelForCausalLM.from_pretrained(\n",
|
| 922 |
+
" BASE, dtype=torch.bfloat16, trust_remote_code=True, device_map=\"cpu\"\n",
|
| 923 |
+
")\n",
|
| 924 |
+
"model = PeftModel.from_pretrained(model, ADAPTER)\n",
|
| 925 |
+
"model = model.merge_and_unload()\n",
|
| 926 |
+
"\n",
|
| 927 |
+
"# Save model config and tokenizer using transformers\n",
|
| 928 |
+
"model.config.save_pretrained(OUT)\n",
|
| 929 |
+
"tok.save_pretrained(OUT)\n",
|
| 930 |
+
"\n",
|
| 931 |
+
"# Save weights directly via safetensors (bypasses transformers tied-weights check entirely)\n",
|
| 932 |
+
"save_file(model.state_dict(), os.path.join(OUT, \"model.safetensors\"))\n",
|
| 933 |
+
"\n",
|
| 934 |
+
"print(\"merged ->\", OUT)\n",
|
| 935 |
+
"PY\n",
|
| 936 |
+
"\n",
|
| 937 |
+
"\n",
|
| 938 |
+
"python - <<'PY'\n",
|
| 939 |
+
"import os\n",
|
| 940 |
+
"import glob\n",
|
| 941 |
+
"import shutil\n",
|
| 942 |
+
"import torch\n",
|
| 943 |
+
"from transformers import AutoModelForCausalLM, AutoTokenizer\n",
|
| 944 |
+
"from peft import PeftModel\n",
|
| 945 |
+
"from safetensors.torch import save_file\n",
|
| 946 |
+
"\n",
|
| 947 |
+
"ORIGINAL_BASE = \"/models/nemotron3-nano-base\"\n",
|
| 948 |
+
"CPT_MERGED = \"/models/nemotron3-nano-cpt-merged\"\n",
|
| 949 |
+
"ADAPTER = \"/checkpoints/sft/epoch_14_step_44/model\"\n",
|
| 950 |
+
"OUT = \"/models/nemotron3-nano-sft-final\"\n",
|
| 951 |
+
"\n",
|
| 952 |
+
"# 1. Copy original dynamic python modules to CPT merged directory if missing\n",
|
| 953 |
+
"for py_file in glob.glob(os.path.join(ORIGINAL_BASE, \"*.py\")):\n",
|
| 954 |
+
" shutil.copy(py_file, CPT_MERGED)\n",
|
| 955 |
+
"\n",
|
| 956 |
+
"os.makedirs(OUT, exist_ok=True)\n",
|
| 957 |
+
"\n",
|
| 958 |
+
"# 2. Load model and tokenizer\n",
|
| 959 |
+
"tok = AutoTokenizer.from_pretrained(CPT_MERGED, trust_remote_code=True)\n",
|
| 960 |
+
"model = AutoModelForCausalLM.from_pretrained(\n",
|
| 961 |
+
" CPT_MERGED, dtype=torch.bfloat16, trust_remote_code=True, device_map=\"cpu\"\n",
|
| 962 |
+
")\n",
|
| 963 |
+
"model = PeftModel.from_pretrained(model, ADAPTER)\n",
|
| 964 |
+
"model = model.merge_and_unload()\n",
|
| 965 |
+
"\n",
|
| 966 |
+
"# 3. Save configs, tokenizer, and safetensors\n",
|
| 967 |
+
"model.config.save_pretrained(OUT)\n",
|
| 968 |
+
"tok.save_pretrained(OUT)\n",
|
| 969 |
+
"save_file(model.state_dict(), os.path.join(OUT, \"model.safetensors\"))\n",
|
| 970 |
+
"\n",
|
| 971 |
+
"# 4. Copy custom dynamic module files to final output directory\n",
|
| 972 |
+
"for py_file in glob.glob(os.path.join(ORIGINAL_BASE, \"*.py\")):\n",
|
| 973 |
+
" shutil.copy(py_file, OUT)\n",
|
| 974 |
+
"\n",
|
| 975 |
+
"print(\"merged final SFT model ->\", OUT)\n",
|
| 976 |
+
"PY\n"
|
| 977 |
+
]
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"cell_type": "code",
|
| 981 |
+
"execution_count": 16,
|
| 982 |
+
"id": "9987388d",
|
| 983 |
+
"metadata": {},
|
| 984 |
+
"outputs": [
|
| 985 |
+
{
|
| 986 |
+
"name": "stdout",
|
| 987 |
+
"output_type": "stream",
|
| 988 |
+
"text": [
|
| 989 |
+
"Successfully logged out from all access tokens.\n"
|
| 990 |
+
]
|
| 991 |
+
}
|
| 992 |
+
],
|
| 993 |
+
"source": [
|
| 994 |
+
"# !hf auth login --token \n",
|
| 995 |
+
"!hf auth logout"
|
| 996 |
+
]
|
| 997 |
+
},
|
| 998 |
+
{
|
| 999 |
+
"cell_type": "code",
|
| 1000 |
+
"execution_count": 11,
|
| 1001 |
+
"id": "d8e37407",
|
| 1002 |
+
"metadata": {},
|
| 1003 |
+
"outputs": [
|
| 1004 |
+
{
|
| 1005 |
+
"name": "stderr",
|
| 1006 |
+
"output_type": "stream",
|
| 1007 |
+
"text": [
|
| 1008 |
+
"/home/zeus/miniconda3/envs/cloudspace/lib/python3.12/site-packages/huggingface_hub/hf_api.py:11691: UserWarning: Warnings while validating metadata in README.md:\n",
|
| 1009 |
+
"- empty or missing yaml metadata in repo card\n",
|
| 1010 |
+
" warnings.warn(f\"Warnings while validating metadata in README.md:\\n{message}\")\n"
|
| 1011 |
+
]
|
| 1012 |
+
},
|
| 1013 |
+
{
|
| 1014 |
+
"name": "stdout",
|
| 1015 |
+
"output_type": "stream",
|
| 1016 |
+
"text": [
|
| 1017 |
+
"Upload complete! Your model is at: https://huggingface.ai/AkshayPatil9028/Nemotron_3.5_Nano\n"
|
| 1018 |
+
]
|
| 1019 |
+
}
|
| 1020 |
+
],
|
| 1021 |
+
"source": [
|
| 1022 |
+
"from huggingface_hub import HfApi, create_repo, upload_folder\n",
|
| 1023 |
+
"\n",
|
| 1024 |
+
"# --- Configuration ---\n",
|
| 1025 |
+
"# Replace with your Hugging Face username, desired repo name, and local model path\n",
|
| 1026 |
+
"your_hf_username = \"AkshayPatil9028\" # <-- !!! REPLACE THIS !!!\n",
|
| 1027 |
+
"model_repo_name = \"Nemotron_3.5_Nano\" # <-- !!! REPLACE THIS !!!\n",
|
| 1028 |
+
"local_model_path = \"Nemotron3.5_Nano\" # <-- !!! REPLACE THIS !!!\n",
|
| 1029 |
+
"\n",
|
| 1030 |
+
"# --- Script Logic ---\n",
|
| 1031 |
+
"repo_id = f\"{your_hf_username}/{model_repo_name}\"\n",
|
| 1032 |
+
"api = HfApi()\n",
|
| 1033 |
+
"\n",
|
| 1034 |
+
"try:\n",
|
| 1035 |
+
" # Create repo if it doesn't exist\n",
|
| 1036 |
+
" try:\n",
|
| 1037 |
+
" api.repo_info(repo_id=repo_id)\n",
|
| 1038 |
+
" except Exception:\n",
|
| 1039 |
+
" create_repo(repo_id=repo_id, repo_type=\"model\", private=True) # Set private=True for private repo\n",
|
| 1040 |
+
"\n",
|
| 1041 |
+
" # Upload folder\n",
|
| 1042 |
+
" upload_folder(repo_id=repo_id, folder_path=local_model_path)\n",
|
| 1043 |
+
" print(f\"Upload complete! Your model is at: https://huggingface.ai/{repo_id}\")\n",
|
| 1044 |
+
"\n",
|
| 1045 |
+
"except Exception as e:\n",
|
| 1046 |
+
" print(f\"Error: {e}\\nEnsure you are logged in (run `huggingface-cli login` in terminal).\")"
|
| 1047 |
+
]
|
| 1048 |
+
},
|
| 1049 |
+
{
|
| 1050 |
+
"cell_type": "code",
|
| 1051 |
+
"execution_count": null,
|
| 1052 |
+
"id": "2a0096ff",
|
| 1053 |
+
"metadata": {},
|
| 1054 |
+
"outputs": [],
|
| 1055 |
+
"source": [
|
| 1056 |
+
"mkdir -p ~/data ~/models ~/checkpoints ~/hf_cache ~/workspace/configs\n"
|
| 1057 |
+
]
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"cell_type": "code",
|
| 1061 |
+
"execution_count": null,
|
| 1062 |
+
"id": "ff829493",
|
| 1063 |
+
"metadata": {},
|
| 1064 |
+
"outputs": [],
|
| 1065 |
+
"source": [
|
| 1066 |
+
"import torch\n",
|
| 1067 |
+
"from transformers import AutoModelForCausalLM, AutoTokenizer\n",
|
| 1068 |
+
"\n",
|
| 1069 |
+
"MODEL_PATH = \"/models/nemotron3-nano-cpt-merged\"\n",
|
| 1070 |
+
"\n",
|
| 1071 |
+
"tokenizer = AutoTokenizer.from_pretrained(MODEL_PATH, trust_remote_code=True)\n",
|
| 1072 |
+
"model = AutoModelForCausalLM.from_pretrained(\n",
|
| 1073 |
+
" MODEL_PATH,\n",
|
| 1074 |
+
" dtype=torch.bfloat16,\n",
|
| 1075 |
+
" device_map=\"cuda\" if torch.cuda.is_available() else \"cpu\",\n",
|
| 1076 |
+
" trust_remote_code=True,\n",
|
| 1077 |
+
")\n",
|
| 1078 |
+
"\n",
|
| 1079 |
+
"prompt = \"The key advantages of standardizing deep learning architectures are\"\n",
|
| 1080 |
+
"\n",
|
| 1081 |
+
"inputs = tokenizer(prompt, return_tensors=\"pt\").to(model.device)\n",
|
| 1082 |
+
"\n",
|
| 1083 |
+
"with torch.no_grad():\n",
|
| 1084 |
+
" outputs = model.generate(\n",
|
| 1085 |
+
" **inputs,\n",
|
| 1086 |
+
" max_new_tokens=150,\n",
|
| 1087 |
+
" temperature=0.7,\n",
|
| 1088 |
+
" top_p=0.9,\n",
|
| 1089 |
+
" do_sample=True,\n",
|
| 1090 |
+
" pad_token_id=tokenizer.eos_token_id,\n",
|
| 1091 |
+
" )\n",
|
| 1092 |
+
"\n",
|
| 1093 |
+
"response = tokenizer.decode(outputs[0], skip_special_tokens=True)\n",
|
| 1094 |
+
"print(\"=== CPT Output ===\")\n",
|
| 1095 |
+
"print(response)"
|
| 1096 |
+
]
|
| 1097 |
+
},
|
| 1098 |
+
{
|
| 1099 |
+
"cell_type": "code",
|
| 1100 |
+
"execution_count": null,
|
| 1101 |
+
"id": "a91978a7",
|
| 1102 |
+
"metadata": {},
|
| 1103 |
+
"outputs": [],
|
| 1104 |
+
"source": [
|
| 1105 |
+
"import torch\n",
|
| 1106 |
+
"from transformers import AutoModelForCausalLM, AutoTokenizer\n",
|
| 1107 |
+
"\n",
|
| 1108 |
+
"MODEL_PATH = \"/models/nemotron3-nano-sft-final\"\n",
|
| 1109 |
+
"\n",
|
| 1110 |
+
"tokenizer = AutoTokenizer.from_pretrained(MODEL_PATH, trust_remote_code=True)\n",
|
| 1111 |
+
"model = AutoModelForCausalLM.from_pretrained(\n",
|
| 1112 |
+
" MODEL_PATH,\n",
|
| 1113 |
+
" dtype=torch.bfloat16,\n",
|
| 1114 |
+
" device_map=\"cuda\" if torch.cuda.is_available() else \"cpu\",\n",
|
| 1115 |
+
" trust_remote_code=True,\n",
|
| 1116 |
+
")\n",
|
| 1117 |
+
"\n",
|
| 1118 |
+
"messages = [\n",
|
| 1119 |
+
" {\"role\": \"system\", \"content\": \"You are a helpful and precise AI assistant.\"},\n",
|
| 1120 |
+
" {\"role\": \"user\", \"content\": \"Explain why adapter merging is beneficial for LLM deployment.\"},\n",
|
| 1121 |
+
"]\n",
|
| 1122 |
+
"\n",
|
| 1123 |
+
"# Apply Nemotron chat template\n",
|
| 1124 |
+
"if hasattr(tokenizer, \"apply_chat_template\") and tokenizer.chat_template:\n",
|
| 1125 |
+
" prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)\n",
|
| 1126 |
+
"else:\n",
|
| 1127 |
+
" # Fallback chat formatting if template is absent\n",
|
| 1128 |
+
" prompt = f\"<|im_start|>system\\n{messages[0]['content']}<|im_end|>\\n<|im_start|>user\\n{messages[1]['content']}<|im_end|>\\n<|im_start|>assistant\\n\"\n",
|
| 1129 |
+
"\n",
|
| 1130 |
+
"inputs = tokenizer(prompt, return_tensors=\"pt\").to(model.device)\n",
|
| 1131 |
+
"\n",
|
| 1132 |
+
"with torch.no_grad():\n",
|
| 1133 |
+
" outputs = model.generate(\n",
|
| 1134 |
+
" **inputs,\n",
|
| 1135 |
+
" max_new_tokens=256,\n",
|
| 1136 |
+
" temperature=0.3,\n",
|
| 1137 |
+
" top_p=0.95,\n",
|
| 1138 |
+
" do_sample=True,\n",
|
| 1139 |
+
" pad_token_id=tokenizer.eos_token_id,\n",
|
| 1140 |
+
" )\n",
|
| 1141 |
+
"\n",
|
| 1142 |
+
"# Slice output to decode only generated tokens (excluding prompt)\n",
|
| 1143 |
+
"generated_tokens = outputs[0][inputs.input_ids.shape[-1] :]\n",
|
| 1144 |
+
"response = tokenizer.decode(generated_tokens, skip_special_tokens=True)\n",
|
| 1145 |
+
"\n",
|
| 1146 |
+
"print(\"=== SFT Output ===\")\n",
|
| 1147 |
+
"print(response)"
|
| 1148 |
+
]
|
| 1149 |
+
},
|
| 1150 |
+
{
|
| 1151 |
+
"cell_type": "code",
|
| 1152 |
+
"execution_count": null,
|
| 1153 |
+
"id": "4ba8edab",
|
| 1154 |
+
"metadata": {},
|
| 1155 |
+
"outputs": [],
|
| 1156 |
+
"source": [
|
| 1157 |
+
"from huggingface_hub import HfApi, create_repo, upload_file\n",
|
| 1158 |
+
"\n",
|
| 1159 |
+
"# --- Configuration ---\n",
|
| 1160 |
+
"# 1. Your Hugging Face username\n",
|
| 1161 |
+
"# Replace 'your-username' with your actual Hugging Face username.\n",
|
| 1162 |
+
"your_hf_username = \"Akshay9028\" # <-- !!! REPLACE THIS !!!\n",
|
| 1163 |
+
"\n",
|
| 1164 |
+
"# 2. The desired name for your model repository on Hugging Face.\n",
|
| 1165 |
+
"# This will be the name of the new repo on your Hugging Face account.\n",
|
| 1166 |
+
"# e.g., 'my-awesome-llm', 'my-image-classifier'\n",
|
| 1167 |
+
"model_repo_name = \"NotWorking\" # <-- !!! REPLACE THIS !!!\n",
|
| 1168 |
+
"\n",
|
| 1169 |
+
"# 3. The local path to the specific file you want to upload.\n",
|
| 1170 |
+
"# e.g., './my_model/config.json', './tokenizer.json'\n",
|
| 1171 |
+
"local_file_path = \"Untitled.ipynb\" # <-- !!! REPLACE THIS !!!\n",
|
| 1172 |
+
"\n",
|
| 1173 |
+
"# 4. The desired name/path for the file *within* the Hugging Face repository.\n",
|
| 1174 |
+
"# This can be just the filename, or a path like 'config/config.json'\n",
|
| 1175 |
+
"# if you want to organize it in a subfolder.\n",
|
| 1176 |
+
"# If omitted, it uses the base name of local_file_path.\n",
|
| 1177 |
+
"file_in_repo_name = \"Code.ipynb\" # <-- !!! REPLACE THIS if you want it named differently or in a subfolder !!!\n",
|
| 1178 |
+
"\n",
|
| 1179 |
+
"# --- Script Logic ---\n",
|
| 1180 |
+
"repo_id = f\"{your_hf_username}/{model_repo_name}\"\n",
|
| 1181 |
+
"api = HfApi()\n",
|
| 1182 |
+
"\n",
|
| 1183 |
+
"try:\n",
|
| 1184 |
+
" # Check if the repository exists. If not, create it.\n",
|
| 1185 |
+
" try:\n",
|
| 1186 |
+
" api.repo_info(repo_id=repo_id)\n",
|
| 1187 |
+
" except Exception:\n",
|
| 1188 |
+
" print(f\"Repository '{repo_id}' not found. Creating new repository...\")\n",
|
| 1189 |
+
" create_repo(repo_id=repo_id, repo_type=\"model\", private=False) # Set private=True for private repo\n",
|
| 1190 |
+
" print(f\"Repository '{repo_id}' created successfully.\")\n",
|
| 1191 |
+
"\n",
|
| 1192 |
+
" # Upload the specific file\n",
|
| 1193 |
+
" print(f\"Uploading '{local_file_path}' to '{repo_id}' as '{file_in_repo_name}'...\")\n",
|
| 1194 |
+
" upload_file(\n",
|
| 1195 |
+
" repo_id=repo_id,\n",
|
| 1196 |
+
" path_or_fileobj=local_file_path,\n",
|
| 1197 |
+
" path_in_repo=file_in_repo_name,\n",
|
| 1198 |
+
" # Optional: add commit_message and revision if needed\n",
|
| 1199 |
+
" # commit_message=\"Add config file\",\n",
|
| 1200 |
+
" # revision=\"main\",\n",
|
| 1201 |
+
" )\n",
|
| 1202 |
+
" print(f\"\\nUpload complete! Your file is at: https://huggingface.ai/{repo_id}/blob/main/{file_in_repo_name}\")\n",
|
| 1203 |
+
"\n",
|
| 1204 |
+
"except Exception as e:\n",
|
| 1205 |
+
" print(f\"Error: {e}\\nEnsure you are logged in. Run `huggingface-cli login` in your terminal.\")"
|
| 1206 |
+
]
|
| 1207 |
+
}
|
| 1208 |
+
],
|
| 1209 |
+
"metadata": {
|
| 1210 |
+
"kernelspec": {
|
| 1211 |
+
"display_name": "cloudspace",
|
| 1212 |
+
"language": "python",
|
| 1213 |
+
"name": "python3"
|
| 1214 |
+
},
|
| 1215 |
+
"language_info": {
|
| 1216 |
+
"codemirror_mode": {
|
| 1217 |
+
"name": "ipython",
|
| 1218 |
+
"version": 3
|
| 1219 |
+
},
|
| 1220 |
+
"file_extension": ".py",
|
| 1221 |
+
"mimetype": "text/x-python",
|
| 1222 |
+
"name": "python",
|
| 1223 |
+
"nbconvert_exporter": "python",
|
| 1224 |
+
"pygments_lexer": "ipython3",
|
| 1225 |
+
"version": "3.12.11"
|
| 1226 |
+
}
|
| 1227 |
+
},
|
| 1228 |
+
"nbformat": 4,
|
| 1229 |
+
"nbformat_minor": 5
|
| 1230 |
+
}
|