34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
# TIP Selflearning Workflow
|
|
|
|
TIP now has two separate learning lanes:
|
|
|
|
- `TIP_LLM`: research, crawler planning, vendor/market intelligence and data preparation.
|
|
- `Blog_LLM`: FO_BlogLLM/founder content and practical technical blog generation.
|
|
|
|
Commands:
|
|
|
|
```bash
|
|
npm run learning-pool:build
|
|
npm run learning-pool:publish-hf
|
|
```
|
|
|
|
Dashboard/API:
|
|
|
|
- `GET /api/selflearning/status`
|
|
- `POST /api/selflearning/build`
|
|
- `POST /api/selflearning/publish-hf`
|
|
- `POST /api/selflearning/train` with `{ "lane": "tip_llm"|"blog_llm", "provider": "runpod"|"local" }`
|
|
|
|
Secrets are read from environment variables or macOS Keychain, never from committed files:
|
|
|
|
- RunPod: `RUNPOD_API_KEY` / `TIP_RUNPOD_API_KEY`, Keychain `magatama.runpod.api` / `tip.runpod.api`
|
|
- Hugging Face: `HF_TOKEN` / `HUGGINGFACE_TOKEN`, Keychain `magatama.huggingface.token` / `tip.huggingface.token`
|
|
- Endpoint: `TIP_RUNPOD_ENDPOINT_ID` or `RUNPOD_ENDPOINT_ID`
|
|
|
|
Default private Hugging Face datasets:
|
|
|
|
- `renefichtmueller/tip-llm-sft`
|
|
- `renefichtmueller/blog-llm-sft`
|
|
|
|
Local training is enabled by setting `TIP_LOCAL_TRAIN_COMMAND`; the API appends the lane name automatically.
|