walidsobhie-code Claude Opus 4.6 commited on
Commit
f268fb6
·
1 Parent(s): 1c64613

docs: update README with training options and RTMP extraction

Browse files

- Add training options table (Colab, Kaggle, Local Mac, Cloud)
- Add RTMP tool extraction instructions
- Add Kaggle notebook reference

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. README.md +57 -0
README.md CHANGED
@@ -245,6 +245,15 @@ python scripts/merge_lora_adapters.py \
245
 
246
  ## 🛠️ Training & Fine-Tuning
247
 
 
 
 
 
 
 
 
 
 
248
  ### Quick Training (Colab)
249
 
250
  Use the provided notebook for quick prototyping:
@@ -281,6 +290,54 @@ For production training on GPUs:
281
 
282
  See each script for usage instructions.
283
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
284
  ---
285
 
286
  ## 🐳 Deployment
 
245
 
246
  ## 🛠️ Training & Fine-Tuning
247
 
248
+ ### Training Options
249
+
250
+ | Platform | Notebook | Description |
251
+ |----------|----------|-------------|
252
+ | **Google Colab** | `colab_train_stack29.ipynb` | Free T4 GPU, 3-5 hours |
253
+ | **Kaggle** | `kaggle_train_stack29.ipynb` | Free P100 GPU, 2-4 hours |
254
+ | **Local Mac** | `train_local.py` | MPS/Apple Silicon |
255
+ | **Cloud GPUs** | See below | RunPod, Vast.ai, etc |
256
+
257
  ### Quick Training (Colab)
258
 
259
  Use the provided notebook for quick prototyping:
 
290
 
291
  See each script for usage instructions.
292
 
293
+ ### Extracting Training Data from Your Codebase
294
+
295
+ Extract tool patterns from your codebase to train the model:
296
+
297
+ ```bash
298
+ # Extract tool patterns
299
+ python scripts/extract_rtmp_tools.py
300
+
301
+ # Create advanced examples
302
+ python scripts/extract_rtmp_tools_advanced.py
303
+ ```
304
+
305
+ This creates `data/rtmp-tools/` with tool usage patterns that can be combined with the main training data.
306
+
307
+ ### Kaggle Training
308
+
309
+ Free GPU training on Kaggle (P100 16GB VRAM):
310
+
311
+ ```bash
312
+ # Open in Kaggle
313
+ kaggle_train_stack29.ipynb
314
+ ```
315
+
316
+ ### Local Mac Training (MPS)
317
+
318
+ For Apple Silicon Macs without GPU cloud access:
319
+
320
+ ```bash
321
+ python train_local.py
322
+ ```
323
+
324
+ ### Extracting Tool Patterns from RTMP
325
+
326
+ Extract training data from your RTMP codebase to teach the model your custom tools:
327
+
328
+ ```bash
329
+ # Extract tool patterns
330
+ python scripts/extract_rtmp_tools.py
331
+ python scripts/extract_rtmp_tools_advanced.py
332
+
333
+ # Combined data includes 46+ tool patterns
334
+ data/rtmp-tools/combined_tools.jsonl
335
+ ```
336
+
337
+ The combined training data includes:
338
+ - 41,807 code completion examples
339
+ - 59 RTMP tool usage patterns (BashTool, FileReadTool, Task tools, etc.)
340
+
341
  ---
342
 
343
  ## 🐳 Deployment