@synsci/cli-darwin-x64 1.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/bin/skills/accelerate/SKILL.md +332 -0
  2. package/bin/skills/accelerate/references/custom-plugins.md +453 -0
  3. package/bin/skills/accelerate/references/megatron-integration.md +489 -0
  4. package/bin/skills/accelerate/references/performance.md +525 -0
  5. package/bin/skills/audiocraft/SKILL.md +564 -0
  6. package/bin/skills/audiocraft/references/advanced-usage.md +666 -0
  7. package/bin/skills/audiocraft/references/troubleshooting.md +504 -0
  8. package/bin/skills/autogpt/SKILL.md +403 -0
  9. package/bin/skills/autogpt/references/advanced-usage.md +535 -0
  10. package/bin/skills/autogpt/references/troubleshooting.md +420 -0
  11. package/bin/skills/awq/SKILL.md +310 -0
  12. package/bin/skills/awq/references/advanced-usage.md +324 -0
  13. package/bin/skills/awq/references/troubleshooting.md +344 -0
  14. package/bin/skills/axolotl/SKILL.md +158 -0
  15. package/bin/skills/axolotl/references/api.md +5548 -0
  16. package/bin/skills/axolotl/references/dataset-formats.md +1029 -0
  17. package/bin/skills/axolotl/references/index.md +15 -0
  18. package/bin/skills/axolotl/references/other.md +3563 -0
  19. package/bin/skills/bigcode-evaluation-harness/SKILL.md +405 -0
  20. package/bin/skills/bigcode-evaluation-harness/references/benchmarks.md +393 -0
  21. package/bin/skills/bigcode-evaluation-harness/references/custom-tasks.md +424 -0
  22. package/bin/skills/bigcode-evaluation-harness/references/issues.md +394 -0
  23. package/bin/skills/bitsandbytes/SKILL.md +411 -0
  24. package/bin/skills/bitsandbytes/references/memory-optimization.md +521 -0
  25. package/bin/skills/bitsandbytes/references/qlora-training.md +521 -0
  26. package/bin/skills/bitsandbytes/references/quantization-formats.md +447 -0
  27. package/bin/skills/blip-2/SKILL.md +564 -0
  28. package/bin/skills/blip-2/references/advanced-usage.md +680 -0
  29. package/bin/skills/blip-2/references/troubleshooting.md +526 -0
  30. package/bin/skills/chroma/SKILL.md +406 -0
  31. package/bin/skills/chroma/references/integration.md +38 -0
  32. package/bin/skills/clip/SKILL.md +253 -0
  33. package/bin/skills/clip/references/applications.md +207 -0
  34. package/bin/skills/constitutional-ai/SKILL.md +290 -0
  35. package/bin/skills/crewai/SKILL.md +498 -0
  36. package/bin/skills/crewai/references/flows.md +438 -0
  37. package/bin/skills/crewai/references/tools.md +429 -0
  38. package/bin/skills/crewai/references/troubleshooting.md +480 -0
  39. package/bin/skills/deepspeed/SKILL.md +141 -0
  40. package/bin/skills/deepspeed/references/08.md +17 -0
  41. package/bin/skills/deepspeed/references/09.md +173 -0
  42. package/bin/skills/deepspeed/references/2020.md +378 -0
  43. package/bin/skills/deepspeed/references/2023.md +279 -0
  44. package/bin/skills/deepspeed/references/assets.md +179 -0
  45. package/bin/skills/deepspeed/references/index.md +35 -0
  46. package/bin/skills/deepspeed/references/mii.md +118 -0
  47. package/bin/skills/deepspeed/references/other.md +1191 -0
  48. package/bin/skills/deepspeed/references/tutorials.md +6554 -0
  49. package/bin/skills/dspy/SKILL.md +590 -0
  50. package/bin/skills/dspy/references/examples.md +663 -0
  51. package/bin/skills/dspy/references/modules.md +475 -0
  52. package/bin/skills/dspy/references/optimizers.md +566 -0
  53. package/bin/skills/faiss/SKILL.md +221 -0
  54. package/bin/skills/faiss/references/index_types.md +280 -0
  55. package/bin/skills/flash-attention/SKILL.md +367 -0
  56. package/bin/skills/flash-attention/references/benchmarks.md +215 -0
  57. package/bin/skills/flash-attention/references/transformers-integration.md +293 -0
  58. package/bin/skills/gguf/SKILL.md +427 -0
  59. package/bin/skills/gguf/references/advanced-usage.md +504 -0
  60. package/bin/skills/gguf/references/troubleshooting.md +442 -0
  61. package/bin/skills/gptq/SKILL.md +450 -0
  62. package/bin/skills/gptq/references/calibration.md +337 -0
  63. package/bin/skills/gptq/references/integration.md +129 -0
  64. package/bin/skills/gptq/references/troubleshooting.md +95 -0
  65. package/bin/skills/grpo-rl-training/README.md +97 -0
  66. package/bin/skills/grpo-rl-training/SKILL.md +572 -0
  67. package/bin/skills/grpo-rl-training/examples/reward_functions_library.py +393 -0
  68. package/bin/skills/grpo-rl-training/templates/basic_grpo_training.py +228 -0
  69. package/bin/skills/guidance/SKILL.md +572 -0
  70. package/bin/skills/guidance/references/backends.md +554 -0
  71. package/bin/skills/guidance/references/constraints.md +674 -0
  72. package/bin/skills/guidance/references/examples.md +767 -0
  73. package/bin/skills/hqq/SKILL.md +445 -0
  74. package/bin/skills/hqq/references/advanced-usage.md +528 -0
  75. package/bin/skills/hqq/references/troubleshooting.md +503 -0
  76. package/bin/skills/hugging-face-cli/SKILL.md +191 -0
  77. package/bin/skills/hugging-face-cli/references/commands.md +954 -0
  78. package/bin/skills/hugging-face-cli/references/examples.md +374 -0
  79. package/bin/skills/hugging-face-datasets/SKILL.md +547 -0
  80. package/bin/skills/hugging-face-datasets/examples/diverse_training_examples.json +239 -0
  81. package/bin/skills/hugging-face-datasets/examples/system_prompt_template.txt +196 -0
  82. package/bin/skills/hugging-face-datasets/examples/training_examples.json +176 -0
  83. package/bin/skills/hugging-face-datasets/scripts/dataset_manager.py +522 -0
  84. package/bin/skills/hugging-face-datasets/scripts/sql_manager.py +844 -0
  85. package/bin/skills/hugging-face-datasets/templates/chat.json +55 -0
  86. package/bin/skills/hugging-face-datasets/templates/classification.json +62 -0
  87. package/bin/skills/hugging-face-datasets/templates/completion.json +51 -0
  88. package/bin/skills/hugging-face-datasets/templates/custom.json +75 -0
  89. package/bin/skills/hugging-face-datasets/templates/qa.json +54 -0
  90. package/bin/skills/hugging-face-datasets/templates/tabular.json +81 -0
  91. package/bin/skills/hugging-face-evaluation/SKILL.md +656 -0
  92. package/bin/skills/hugging-face-evaluation/examples/USAGE_EXAMPLES.md +382 -0
  93. package/bin/skills/hugging-face-evaluation/examples/artificial_analysis_to_hub.py +141 -0
  94. package/bin/skills/hugging-face-evaluation/examples/example_readme_tables.md +135 -0
  95. package/bin/skills/hugging-face-evaluation/examples/metric_mapping.json +50 -0
  96. package/bin/skills/hugging-face-evaluation/requirements.txt +20 -0
  97. package/bin/skills/hugging-face-evaluation/scripts/evaluation_manager.py +1374 -0
  98. package/bin/skills/hugging-face-evaluation/scripts/inspect_eval_uv.py +104 -0
  99. package/bin/skills/hugging-face-evaluation/scripts/inspect_vllm_uv.py +317 -0
  100. package/bin/skills/hugging-face-evaluation/scripts/lighteval_vllm_uv.py +303 -0
  101. package/bin/skills/hugging-face-evaluation/scripts/run_eval_job.py +98 -0
  102. package/bin/skills/hugging-face-evaluation/scripts/run_vllm_eval_job.py +331 -0
  103. package/bin/skills/hugging-face-evaluation/scripts/test_extraction.py +206 -0
  104. package/bin/skills/hugging-face-jobs/SKILL.md +1041 -0
  105. package/bin/skills/hugging-face-jobs/index.html +216 -0
  106. package/bin/skills/hugging-face-jobs/references/hardware_guide.md +336 -0
  107. package/bin/skills/hugging-face-jobs/references/hub_saving.md +352 -0
  108. package/bin/skills/hugging-face-jobs/references/token_usage.md +546 -0
  109. package/bin/skills/hugging-face-jobs/references/troubleshooting.md +475 -0
  110. package/bin/skills/hugging-face-jobs/scripts/cot-self-instruct.py +718 -0
  111. package/bin/skills/hugging-face-jobs/scripts/finepdfs-stats.py +546 -0
  112. package/bin/skills/hugging-face-jobs/scripts/generate-responses.py +587 -0
  113. package/bin/skills/hugging-face-model-trainer/SKILL.md +711 -0
  114. package/bin/skills/hugging-face-model-trainer/references/gguf_conversion.md +296 -0
  115. package/bin/skills/hugging-face-model-trainer/references/hardware_guide.md +283 -0
  116. package/bin/skills/hugging-face-model-trainer/references/hub_saving.md +364 -0
  117. package/bin/skills/hugging-face-model-trainer/references/reliability_principles.md +371 -0
  118. package/bin/skills/hugging-face-model-trainer/references/trackio_guide.md +189 -0
  119. package/bin/skills/hugging-face-model-trainer/references/training_methods.md +150 -0
  120. package/bin/skills/hugging-face-model-trainer/references/training_patterns.md +203 -0
  121. package/bin/skills/hugging-face-model-trainer/references/troubleshooting.md +282 -0
  122. package/bin/skills/hugging-face-model-trainer/scripts/convert_to_gguf.py +424 -0
  123. package/bin/skills/hugging-face-model-trainer/scripts/dataset_inspector.py +417 -0
  124. package/bin/skills/hugging-face-model-trainer/scripts/estimate_cost.py +150 -0
  125. package/bin/skills/hugging-face-model-trainer/scripts/train_dpo_example.py +106 -0
  126. package/bin/skills/hugging-face-model-trainer/scripts/train_grpo_example.py +89 -0
  127. package/bin/skills/hugging-face-model-trainer/scripts/train_sft_example.py +122 -0
  128. package/bin/skills/hugging-face-paper-publisher/SKILL.md +627 -0
  129. package/bin/skills/hugging-face-paper-publisher/examples/example_usage.md +327 -0
  130. package/bin/skills/hugging-face-paper-publisher/references/quick_reference.md +216 -0
  131. package/bin/skills/hugging-face-paper-publisher/scripts/paper_manager.py +508 -0
  132. package/bin/skills/hugging-face-paper-publisher/templates/arxiv.md +299 -0
  133. package/bin/skills/hugging-face-paper-publisher/templates/ml-report.md +358 -0
  134. package/bin/skills/hugging-face-paper-publisher/templates/modern.md +319 -0
  135. package/bin/skills/hugging-face-paper-publisher/templates/standard.md +201 -0
  136. package/bin/skills/hugging-face-tool-builder/SKILL.md +115 -0
  137. package/bin/skills/hugging-face-tool-builder/references/baseline_hf_api.py +57 -0
  138. package/bin/skills/hugging-face-tool-builder/references/baseline_hf_api.sh +40 -0
  139. package/bin/skills/hugging-face-tool-builder/references/baseline_hf_api.tsx +57 -0
  140. package/bin/skills/hugging-face-tool-builder/references/find_models_by_paper.sh +230 -0
  141. package/bin/skills/hugging-face-tool-builder/references/hf_enrich_models.sh +96 -0
  142. package/bin/skills/hugging-face-tool-builder/references/hf_model_card_frontmatter.sh +188 -0
  143. package/bin/skills/hugging-face-tool-builder/references/hf_model_papers_auth.sh +171 -0
  144. package/bin/skills/hugging-face-trackio/SKILL.md +65 -0
  145. package/bin/skills/hugging-face-trackio/references/logging_metrics.md +206 -0
  146. package/bin/skills/hugging-face-trackio/references/retrieving_metrics.md +223 -0
  147. package/bin/skills/huggingface-tokenizers/SKILL.md +516 -0
  148. package/bin/skills/huggingface-tokenizers/references/algorithms.md +653 -0
  149. package/bin/skills/huggingface-tokenizers/references/integration.md +637 -0
  150. package/bin/skills/huggingface-tokenizers/references/pipeline.md +723 -0
  151. package/bin/skills/huggingface-tokenizers/references/training.md +565 -0
  152. package/bin/skills/instructor/SKILL.md +740 -0
  153. package/bin/skills/instructor/references/examples.md +107 -0
  154. package/bin/skills/instructor/references/providers.md +70 -0
  155. package/bin/skills/instructor/references/validation.md +606 -0
  156. package/bin/skills/knowledge-distillation/SKILL.md +458 -0
  157. package/bin/skills/knowledge-distillation/references/minillm.md +334 -0
  158. package/bin/skills/lambda-labs/SKILL.md +545 -0
  159. package/bin/skills/lambda-labs/references/advanced-usage.md +611 -0
  160. package/bin/skills/lambda-labs/references/troubleshooting.md +530 -0
  161. package/bin/skills/langchain/SKILL.md +480 -0
  162. package/bin/skills/langchain/references/agents.md +499 -0
  163. package/bin/skills/langchain/references/integration.md +562 -0
  164. package/bin/skills/langchain/references/rag.md +600 -0
  165. package/bin/skills/langsmith/SKILL.md +422 -0
  166. package/bin/skills/langsmith/references/advanced-usage.md +548 -0
  167. package/bin/skills/langsmith/references/troubleshooting.md +537 -0
  168. package/bin/skills/litgpt/SKILL.md +469 -0
  169. package/bin/skills/litgpt/references/custom-models.md +568 -0
  170. package/bin/skills/litgpt/references/distributed-training.md +451 -0
  171. package/bin/skills/litgpt/references/supported-models.md +336 -0
  172. package/bin/skills/litgpt/references/training-recipes.md +619 -0
  173. package/bin/skills/llama-cpp/SKILL.md +258 -0
  174. package/bin/skills/llama-cpp/references/optimization.md +89 -0
  175. package/bin/skills/llama-cpp/references/quantization.md +213 -0
  176. package/bin/skills/llama-cpp/references/server.md +125 -0
  177. package/bin/skills/llama-factory/SKILL.md +80 -0
  178. package/bin/skills/llama-factory/references/_images.md +23 -0
  179. package/bin/skills/llama-factory/references/advanced.md +1055 -0
  180. package/bin/skills/llama-factory/references/getting_started.md +349 -0
  181. package/bin/skills/llama-factory/references/index.md +19 -0
  182. package/bin/skills/llama-factory/references/other.md +31 -0
  183. package/bin/skills/llamaguard/SKILL.md +337 -0
  184. package/bin/skills/llamaindex/SKILL.md +569 -0
  185. package/bin/skills/llamaindex/references/agents.md +83 -0
  186. package/bin/skills/llamaindex/references/data_connectors.md +108 -0
  187. package/bin/skills/llamaindex/references/query_engines.md +406 -0
  188. package/bin/skills/llava/SKILL.md +304 -0
  189. package/bin/skills/llava/references/training.md +197 -0
  190. package/bin/skills/lm-evaluation-harness/SKILL.md +490 -0
  191. package/bin/skills/lm-evaluation-harness/references/api-evaluation.md +490 -0
  192. package/bin/skills/lm-evaluation-harness/references/benchmark-guide.md +488 -0
  193. package/bin/skills/lm-evaluation-harness/references/custom-tasks.md +602 -0
  194. package/bin/skills/lm-evaluation-harness/references/distributed-eval.md +519 -0
  195. package/bin/skills/long-context/SKILL.md +536 -0
  196. package/bin/skills/long-context/references/extension_methods.md +468 -0
  197. package/bin/skills/long-context/references/fine_tuning.md +611 -0
  198. package/bin/skills/long-context/references/rope.md +402 -0
  199. package/bin/skills/mamba/SKILL.md +260 -0
  200. package/bin/skills/mamba/references/architecture-details.md +206 -0
  201. package/bin/skills/mamba/references/benchmarks.md +255 -0
  202. package/bin/skills/mamba/references/training-guide.md +388 -0
  203. package/bin/skills/megatron-core/SKILL.md +366 -0
  204. package/bin/skills/megatron-core/references/benchmarks.md +249 -0
  205. package/bin/skills/megatron-core/references/parallelism-guide.md +404 -0
  206. package/bin/skills/megatron-core/references/production-examples.md +473 -0
  207. package/bin/skills/megatron-core/references/training-recipes.md +547 -0
  208. package/bin/skills/miles/SKILL.md +315 -0
  209. package/bin/skills/miles/references/api-reference.md +141 -0
  210. package/bin/skills/miles/references/troubleshooting.md +352 -0
  211. package/bin/skills/mlflow/SKILL.md +704 -0
  212. package/bin/skills/mlflow/references/deployment.md +744 -0
  213. package/bin/skills/mlflow/references/model-registry.md +770 -0
  214. package/bin/skills/mlflow/references/tracking.md +680 -0
  215. package/bin/skills/modal/SKILL.md +341 -0
  216. package/bin/skills/modal/references/advanced-usage.md +503 -0
  217. package/bin/skills/modal/references/troubleshooting.md +494 -0
  218. package/bin/skills/model-merging/SKILL.md +539 -0
  219. package/bin/skills/model-merging/references/evaluation.md +462 -0
  220. package/bin/skills/model-merging/references/examples.md +428 -0
  221. package/bin/skills/model-merging/references/methods.md +352 -0
  222. package/bin/skills/model-pruning/SKILL.md +495 -0
  223. package/bin/skills/model-pruning/references/wanda.md +347 -0
  224. package/bin/skills/moe-training/SKILL.md +526 -0
  225. package/bin/skills/moe-training/references/architectures.md +432 -0
  226. package/bin/skills/moe-training/references/inference.md +348 -0
  227. package/bin/skills/moe-training/references/training.md +425 -0
  228. package/bin/skills/nanogpt/SKILL.md +290 -0
  229. package/bin/skills/nanogpt/references/architecture.md +382 -0
  230. package/bin/skills/nanogpt/references/data.md +476 -0
  231. package/bin/skills/nanogpt/references/training.md +564 -0
  232. package/bin/skills/nemo-curator/SKILL.md +383 -0
  233. package/bin/skills/nemo-curator/references/deduplication.md +87 -0
  234. package/bin/skills/nemo-curator/references/filtering.md +102 -0
  235. package/bin/skills/nemo-evaluator/SKILL.md +494 -0
  236. package/bin/skills/nemo-evaluator/references/adapter-system.md +340 -0
  237. package/bin/skills/nemo-evaluator/references/configuration.md +447 -0
  238. package/bin/skills/nemo-evaluator/references/custom-benchmarks.md +315 -0
  239. package/bin/skills/nemo-evaluator/references/execution-backends.md +361 -0
  240. package/bin/skills/nemo-guardrails/SKILL.md +297 -0
  241. package/bin/skills/nnsight/SKILL.md +436 -0
  242. package/bin/skills/nnsight/references/README.md +78 -0
  243. package/bin/skills/nnsight/references/api.md +344 -0
  244. package/bin/skills/nnsight/references/tutorials.md +300 -0
  245. package/bin/skills/openrlhf/SKILL.md +249 -0
  246. package/bin/skills/openrlhf/references/algorithm-comparison.md +404 -0
  247. package/bin/skills/openrlhf/references/custom-rewards.md +530 -0
  248. package/bin/skills/openrlhf/references/hybrid-engine.md +287 -0
  249. package/bin/skills/openrlhf/references/multi-node-training.md +454 -0
  250. package/bin/skills/outlines/SKILL.md +652 -0
  251. package/bin/skills/outlines/references/backends.md +615 -0
  252. package/bin/skills/outlines/references/examples.md +773 -0
  253. package/bin/skills/outlines/references/json_generation.md +652 -0
  254. package/bin/skills/peft/SKILL.md +431 -0
  255. package/bin/skills/peft/references/advanced-usage.md +514 -0
  256. package/bin/skills/peft/references/troubleshooting.md +480 -0
  257. package/bin/skills/phoenix/SKILL.md +475 -0
  258. package/bin/skills/phoenix/references/advanced-usage.md +619 -0
  259. package/bin/skills/phoenix/references/troubleshooting.md +538 -0
  260. package/bin/skills/pinecone/SKILL.md +358 -0
  261. package/bin/skills/pinecone/references/deployment.md +181 -0
  262. package/bin/skills/pytorch-fsdp/SKILL.md +126 -0
  263. package/bin/skills/pytorch-fsdp/references/index.md +7 -0
  264. package/bin/skills/pytorch-fsdp/references/other.md +4249 -0
  265. package/bin/skills/pytorch-lightning/SKILL.md +346 -0
  266. package/bin/skills/pytorch-lightning/references/callbacks.md +436 -0
  267. package/bin/skills/pytorch-lightning/references/distributed.md +490 -0
  268. package/bin/skills/pytorch-lightning/references/hyperparameter-tuning.md +556 -0
  269. package/bin/skills/pyvene/SKILL.md +473 -0
  270. package/bin/skills/pyvene/references/README.md +73 -0
  271. package/bin/skills/pyvene/references/api.md +383 -0
  272. package/bin/skills/pyvene/references/tutorials.md +376 -0
  273. package/bin/skills/qdrant/SKILL.md +493 -0
  274. package/bin/skills/qdrant/references/advanced-usage.md +648 -0
  275. package/bin/skills/qdrant/references/troubleshooting.md +631 -0
  276. package/bin/skills/ray-data/SKILL.md +326 -0
  277. package/bin/skills/ray-data/references/integration.md +82 -0
  278. package/bin/skills/ray-data/references/transformations.md +83 -0
  279. package/bin/skills/ray-train/SKILL.md +406 -0
  280. package/bin/skills/ray-train/references/multi-node.md +628 -0
  281. package/bin/skills/rwkv/SKILL.md +260 -0
  282. package/bin/skills/rwkv/references/architecture-details.md +344 -0
  283. package/bin/skills/rwkv/references/rwkv7.md +386 -0
  284. package/bin/skills/rwkv/references/state-management.md +369 -0
  285. package/bin/skills/saelens/SKILL.md +386 -0
  286. package/bin/skills/saelens/references/README.md +70 -0
  287. package/bin/skills/saelens/references/api.md +333 -0
  288. package/bin/skills/saelens/references/tutorials.md +318 -0
  289. package/bin/skills/segment-anything/SKILL.md +500 -0
  290. package/bin/skills/segment-anything/references/advanced-usage.md +589 -0
  291. package/bin/skills/segment-anything/references/troubleshooting.md +484 -0
  292. package/bin/skills/sentence-transformers/SKILL.md +255 -0
  293. package/bin/skills/sentence-transformers/references/models.md +123 -0
  294. package/bin/skills/sentencepiece/SKILL.md +235 -0
  295. package/bin/skills/sentencepiece/references/algorithms.md +200 -0
  296. package/bin/skills/sentencepiece/references/training.md +304 -0
  297. package/bin/skills/sglang/SKILL.md +442 -0
  298. package/bin/skills/sglang/references/deployment.md +490 -0
  299. package/bin/skills/sglang/references/radix-attention.md +413 -0
  300. package/bin/skills/sglang/references/structured-generation.md +541 -0
  301. package/bin/skills/simpo/SKILL.md +219 -0
  302. package/bin/skills/simpo/references/datasets.md +478 -0
  303. package/bin/skills/simpo/references/hyperparameters.md +452 -0
  304. package/bin/skills/simpo/references/loss-functions.md +350 -0
  305. package/bin/skills/skypilot/SKILL.md +509 -0
  306. package/bin/skills/skypilot/references/advanced-usage.md +491 -0
  307. package/bin/skills/skypilot/references/troubleshooting.md +570 -0
  308. package/bin/skills/slime/SKILL.md +464 -0
  309. package/bin/skills/slime/references/api-reference.md +392 -0
  310. package/bin/skills/slime/references/troubleshooting.md +386 -0
  311. package/bin/skills/speculative-decoding/SKILL.md +467 -0
  312. package/bin/skills/speculative-decoding/references/lookahead.md +309 -0
  313. package/bin/skills/speculative-decoding/references/medusa.md +350 -0
  314. package/bin/skills/stable-diffusion/SKILL.md +519 -0
  315. package/bin/skills/stable-diffusion/references/advanced-usage.md +716 -0
  316. package/bin/skills/stable-diffusion/references/troubleshooting.md +555 -0
  317. package/bin/skills/tensorboard/SKILL.md +629 -0
  318. package/bin/skills/tensorboard/references/integrations.md +638 -0
  319. package/bin/skills/tensorboard/references/profiling.md +545 -0
  320. package/bin/skills/tensorboard/references/visualization.md +620 -0
  321. package/bin/skills/tensorrt-llm/SKILL.md +187 -0
  322. package/bin/skills/tensorrt-llm/references/multi-gpu.md +298 -0
  323. package/bin/skills/tensorrt-llm/references/optimization.md +242 -0
  324. package/bin/skills/tensorrt-llm/references/serving.md +470 -0
  325. package/bin/skills/tinker/SKILL.md +362 -0
  326. package/bin/skills/tinker/references/api-reference.md +168 -0
  327. package/bin/skills/tinker/references/getting-started.md +157 -0
  328. package/bin/skills/tinker/references/loss-functions.md +163 -0
  329. package/bin/skills/tinker/references/models-and-lora.md +139 -0
  330. package/bin/skills/tinker/references/recipes.md +280 -0
  331. package/bin/skills/tinker/references/reinforcement-learning.md +212 -0
  332. package/bin/skills/tinker/references/rendering.md +243 -0
  333. package/bin/skills/tinker/references/supervised-learning.md +232 -0
  334. package/bin/skills/tinker-training-cost/SKILL.md +187 -0
  335. package/bin/skills/tinker-training-cost/scripts/calculate_cost.py +123 -0
  336. package/bin/skills/torchforge/SKILL.md +433 -0
  337. package/bin/skills/torchforge/references/api-reference.md +327 -0
  338. package/bin/skills/torchforge/references/troubleshooting.md +409 -0
  339. package/bin/skills/torchtitan/SKILL.md +358 -0
  340. package/bin/skills/torchtitan/references/checkpoint.md +181 -0
  341. package/bin/skills/torchtitan/references/custom-models.md +258 -0
  342. package/bin/skills/torchtitan/references/float8.md +133 -0
  343. package/bin/skills/torchtitan/references/fsdp.md +126 -0
  344. package/bin/skills/transformer-lens/SKILL.md +346 -0
  345. package/bin/skills/transformer-lens/references/README.md +54 -0
  346. package/bin/skills/transformer-lens/references/api.md +362 -0
  347. package/bin/skills/transformer-lens/references/tutorials.md +339 -0
  348. package/bin/skills/trl-fine-tuning/SKILL.md +455 -0
  349. package/bin/skills/trl-fine-tuning/references/dpo-variants.md +227 -0
  350. package/bin/skills/trl-fine-tuning/references/online-rl.md +82 -0
  351. package/bin/skills/trl-fine-tuning/references/reward-modeling.md +122 -0
  352. package/bin/skills/trl-fine-tuning/references/sft-training.md +168 -0
  353. package/bin/skills/unsloth/SKILL.md +80 -0
  354. package/bin/skills/unsloth/references/index.md +7 -0
  355. package/bin/skills/unsloth/references/llms-full.md +16799 -0
  356. package/bin/skills/unsloth/references/llms-txt.md +12044 -0
  357. package/bin/skills/unsloth/references/llms.md +82 -0
  358. package/bin/skills/verl/SKILL.md +391 -0
  359. package/bin/skills/verl/references/api-reference.md +301 -0
  360. package/bin/skills/verl/references/troubleshooting.md +391 -0
  361. package/bin/skills/vllm/SKILL.md +364 -0
  362. package/bin/skills/vllm/references/optimization.md +226 -0
  363. package/bin/skills/vllm/references/quantization.md +284 -0
  364. package/bin/skills/vllm/references/server-deployment.md +255 -0
  365. package/bin/skills/vllm/references/troubleshooting.md +447 -0
  366. package/bin/skills/weights-and-biases/SKILL.md +590 -0
  367. package/bin/skills/weights-and-biases/references/artifacts.md +584 -0
  368. package/bin/skills/weights-and-biases/references/integrations.md +700 -0
  369. package/bin/skills/weights-and-biases/references/sweeps.md +847 -0
  370. package/bin/skills/whisper/SKILL.md +317 -0
  371. package/bin/skills/whisper/references/languages.md +189 -0
  372. package/bin/synsc +0 -0
  373. package/package.json +10 -0
@@ -0,0 +1,171 @@
1
+ #!/usr/bin/env bash
2
+
3
+ # Hugging Face Model Papers Tool with Authentication
4
+ # Fetches papers referenced by Hugging Face models using HF_TOKEN if available
5
+
6
+ set -euo pipefail
7
+
8
+ # Help function
9
+ show_help() {
10
+ cat << EOF
11
+ Hugging Face Model Papers Tool with Authentication
12
+
13
+ This tool fetches papers referenced by Hugging Face models.
14
+ Supports authentication via HF_TOKEN environment variable.
15
+
16
+ Usage:
17
+ $0 [OPTIONS]
18
+
19
+ Options:
20
+ MODEL_ID Specific model to analyze (e.g., microsoft/DialoGPT-medium)
21
+ --trending [N] Show papers for top N trending models (default: 5)
22
+ --help Show this help message
23
+
24
+ Environment Variables:
25
+ HF_TOKEN Hugging Face API token (optional, for private models)
26
+
27
+ Examples:
28
+ # Get papers for a specific model
29
+ $0 microsoft/DialoGPT-medium
30
+
31
+ # Get papers with authentication
32
+ HF_TOKEN=your_token_here $0 your-private-model
33
+
34
+ # Get papers for top 3 trending models
35
+ $0 --trending 3
36
+
37
+ EOF
38
+ }
39
+
40
+ # Function to make authenticated API calls
41
+ hf_api_call() {
42
+ local url="$1"
43
+ local headers=()
44
+
45
+ # Add authentication header if HF_TOKEN is set
46
+ if [[ -n "${HF_TOKEN:-}" ]]; then
47
+ headers+=(-H "Authorization: Bearer $HF_TOKEN")
48
+ fi
49
+
50
+ curl -s "${headers[@]}" "$url" 2>/dev/null || echo '{"error": "Network error"}'
51
+ }
52
+
53
+ # Function to extract papers from text
54
+ extract_papers() {
55
+ local text="$1"
56
+ local title="$2"
57
+
58
+ echo "$title"
59
+
60
+ # Find ArXiv URLs
61
+ local arxiv_urls=$(echo "$text" | grep -oE 'https?://arxiv\.org/[^[:space:]\])]+' | head -5)
62
+ if [[ -n "$arxiv_urls" ]]; then
63
+ echo "ArXiv Papers:"
64
+ echo "$arxiv_urls" | sed 's/^/ • /'
65
+ fi
66
+
67
+ # Find DOI URLs
68
+ local doi_urls=$(echo "$text" | grep -oE 'https?://doi\.org/[^[:space:]\])]+' | head -3)
69
+ if [[ -n "$doi_urls" ]]; then
70
+ echo "DOI Papers:"
71
+ echo "$doi_urls" | sed 's/^/ • /'
72
+ fi
73
+
74
+ # Find arxiv IDs in format YYYY.NNNNN
75
+ local arxiv_ids=$(echo "$text" | grep -oE 'arXiv:[0-9]{4}\.[0-9]{4,5}' | head -5)
76
+ if [[ -n "$arxiv_ids" ]]; then
77
+ echo "ArXiv IDs:"
78
+ echo "$arxiv_ids" | sed 's/^/ • /'
79
+ fi
80
+
81
+ # Check for paper mentions
82
+ if echo "$text" | grep -qi "paper\|publication\|citation"; then
83
+ local paper_mentions=$(echo "$text" | grep -i -A1 -B1 "paper\|publication" | head -6)
84
+ if [[ -n "$paper_mentions" ]]; then
85
+ echo "Paper mentions:"
86
+ echo "$paper_mentions" | sed 's/^/ /'
87
+ fi
88
+ fi
89
+
90
+ if [[ -z "$arxiv_urls" && -z "$doi_urls" && -z "$arxiv_ids" ]]; then
91
+ echo "No papers found in model card"
92
+ fi
93
+ }
94
+
95
+ # Function to get model papers
96
+ get_model_papers() {
97
+ local model_id="$1"
98
+
99
+ echo "=== $model_id ==="
100
+
101
+ # Get model info from API with authentication
102
+ local api_url="https://huggingface.co/api/models/$model_id"
103
+ local response=$(hf_api_call "$api_url")
104
+
105
+ if echo "$response" | grep -q '"error"'; then
106
+ echo "Error: Could not fetch model '$model_id'"
107
+ if [[ -z "${HF_TOKEN:-}" ]]; then
108
+ echo "Note: This might be a private model. Try setting HF_TOKEN environment variable."
109
+ fi
110
+ return 1
111
+ fi
112
+
113
+ # Parse basic info
114
+ local downloads=$(echo "$response" | jq -r '.downloads // 0')
115
+ local likes=$(echo "$response" | jq -r '.likes // 0')
116
+ echo "Downloads: $downloads | Likes: $likes"
117
+
118
+ # Get model card
119
+ local card_url="https://huggingface.co/$model_id/raw/main/README.md"
120
+ local card_content=$(curl -s "$card_url" 2>/dev/null || echo "")
121
+
122
+ if [[ -n "$card_content" ]]; then
123
+ extract_papers "$card_content" "Papers from model card:"
124
+ else
125
+ echo "Could not fetch model card"
126
+ fi
127
+
128
+ # Check tags for arxiv references
129
+ local arxiv_tag=$(echo "$response" | jq -r '.tags[]' 2>/dev/null | grep arxiv || true)
130
+ if [[ -n "$arxiv_tag" ]]; then
131
+ echo "ArXiv from tags: $arxiv_tag"
132
+ fi
133
+
134
+ echo
135
+ }
136
+
137
+ # Function to get trending models
138
+ get_trending_models() {
139
+ local limit="${1:-5}"
140
+
141
+ echo "Fetching top $limit trending models..."
142
+
143
+ local trending_url="https://huggingface.co/api/trending?type=model&limit=$limit"
144
+ local response=$(hf_api_call "$trending_url")
145
+
146
+ echo "$response" | jq -r '.recentlyTrending[] | .repoData.id' | head -"$limit" | while read -r model_id; do
147
+ if [[ -n "$model_id" ]]; then
148
+ get_model_papers "$model_id"
149
+ fi
150
+ done
151
+ }
152
+
153
+ # Main
154
+ if [[ $# -eq 0 ]]; then
155
+ echo "Error: No arguments provided"
156
+ show_help
157
+ exit 1
158
+ fi
159
+
160
+ if [[ "$1" == "--help" ]]; then
161
+ show_help
162
+ exit 0
163
+ elif [[ "$1" == "--trending" ]]; then
164
+ if [[ -n "${2:-}" ]] && [[ "$2" =~ ^[0-9]+$ ]]; then
165
+ get_trending_models "$2"
166
+ else
167
+ get_trending_models 5
168
+ fi
169
+ else
170
+ get_model_papers "$1"
171
+ fi
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: hugging-face-trackio
3
+ description: Track and visualize ML training experiments with Trackio. Use when logging metrics during training (Python API) or retrieving/analyzing logged metrics (CLI). Supports real-time dashboard visualization, HF Space syncing, and JSON output for automation.
4
+ version: 1.0.0
5
+ author: Synthetic Sciences
6
+ license: MIT
7
+ tags: [Hugging Face, Experiment Tracking, Logging, Metrics]
8
+ dependencies: [huggingface-hub, transformers]
9
+ ---
10
+
11
+ # Trackio - Experiment Tracking for ML Training
12
+
13
+ Trackio is an experiment tracking library for logging and visualizing ML training metrics. It syncs to Hugging Face Spaces for real-time monitoring dashboards.
14
+
15
+ ## Two Interfaces
16
+
17
+ | Task | Interface | Reference |
18
+ |------|-----------|-----------|
19
+ | **Logging metrics** during training | Python API | [references/logging_metrics.md](references/logging_metrics.md) |
20
+ | **Retrieving metrics** after/during training | CLI | [references/retrieving_metrics.md](references/retrieving_metrics.md) |
21
+
22
+ ## When to Use Each
23
+
24
+ ### Python API → Logging
25
+
26
+ Use `import trackio` in your training scripts to log metrics:
27
+
28
+ - Initialize tracking with `trackio.init()`
29
+ - Log metrics with `trackio.log()` or use TRL's `report_to="trackio"`
30
+ - Finalize with `trackio.finish()`
31
+
32
+ **Key concept**: For remote/cloud training, pass `space_id` — metrics sync to a Space dashboard so they persist after the instance terminates.
33
+
34
+ → See [references/logging_metrics.md](references/logging_metrics.md) for setup, TRL integration, and configuration options.
35
+
36
+ ### CLI → Retrieving
37
+
38
+ Use the `trackio` command to query logged metrics:
39
+
40
+ - `trackio list projects/runs/metrics` — discover what's available
41
+ - `trackio get project/run/metric` — retrieve summaries and values
42
+ - `trackio show` — launch the dashboard
43
+ - `trackio sync` — sync to HF Space
44
+
45
+ **Key concept**: Add `--json` for programmatic output suitable for automation and LLM agents.
46
+
47
+ → See [references/retrieving_metrics.md](references/retrieving_metrics.md) for all commands, workflows, and JSON output formats.
48
+
49
+ ## Minimal Logging Setup
50
+
51
+ ```python
52
+ import trackio
53
+
54
+ trackio.init(project="my-project", space_id="username/trackio")
55
+ trackio.log({"loss": 0.1, "accuracy": 0.9})
56
+ trackio.log({"loss": 0.09, "accuracy": 0.91})
57
+ trackio.finish()
58
+ ```
59
+
60
+ ### Minimal Retrieval
61
+
62
+ ```bash
63
+ trackio list projects --json
64
+ trackio get metric --project my-project --run my-run --metric loss --json
65
+ ```
@@ -0,0 +1,206 @@
1
+ # Logging Metrics with Trackio
2
+
3
+ **Trackio** is a lightweight, free experiment tracking library from Hugging Face. It provides a wandb-compatible API for logging metrics with local-first design.
4
+
5
+ - **GitHub**: [gradio-app/trackio](https://github.com/gradio-app/trackio)
6
+ - **Docs**: [huggingface.co/docs/trackio](https://huggingface.co/docs/trackio/index)
7
+
8
+ ## Installation
9
+
10
+ ```bash
11
+ pip install trackio
12
+ # or
13
+ uv pip install trackio
14
+ ```
15
+
16
+ ## Core API
17
+
18
+ ### Basic Usage
19
+
20
+ ```python
21
+ import trackio
22
+
23
+ # Initialize a run
24
+ trackio.init(
25
+ project="my-project",
26
+ config={"learning_rate": 0.001, "epochs": 10}
27
+ )
28
+
29
+ # Log metrics during training
30
+ for epoch in range(10):
31
+ loss = train_epoch()
32
+ trackio.log({"loss": loss, "epoch": epoch})
33
+
34
+ # Finalize the run
35
+ trackio.finish()
36
+ ```
37
+
38
+ ### Key Functions
39
+
40
+ | Function | Purpose |
41
+ |----------|---------|
42
+ | `trackio.init(...)` | Start a new tracking run |
43
+ | `trackio.log(dict)` | Log metrics (called repeatedly during training) |
44
+ | `trackio.finish()` | Finalize run and ensure all metrics are saved |
45
+ | `trackio.show()` | Launch the local dashboard |
46
+ | `trackio.sync(...)` | Sync local project to HF Space |
47
+
48
+ ## trackio.init() Parameters
49
+
50
+ ```python
51
+ trackio.init(
52
+ project="my-project", # Project name (groups runs together)
53
+ name="run-name", # Optional: name for this specific run
54
+ config={...}, # Hyperparameters and config to log
55
+ space_id="username/trackio", # Optional: sync to HF Space for remote dashboard
56
+ group="experiment-group", # Optional: group related runs
57
+ )
58
+ ```
59
+
60
+ ## Local vs Remote Dashboard
61
+
62
+ ### Local (Default)
63
+
64
+ By default, trackio stores metrics in a local SQLite database and runs the dashboard locally:
65
+
66
+ ```python
67
+ trackio.init(project="my-project")
68
+ # ... training ...
69
+ trackio.finish()
70
+
71
+ # Launch local dashboard
72
+ trackio.show()
73
+ ```
74
+
75
+ Or from terminal:
76
+ ```bash
77
+ trackio show --project my-project
78
+ ```
79
+
80
+ ### Remote (HF Space)
81
+
82
+ Pass `space_id` to sync metrics to a Hugging Face Space for persistent, shareable dashboards:
83
+
84
+ ```python
85
+ trackio.init(
86
+ project="my-project",
87
+ space_id="username/trackio" # Auto-creates Space if it doesn't exist
88
+ )
89
+ ```
90
+
91
+ ⚠️ **For remote training** (cloud GPUs, HF Jobs, etc.): Always use `space_id` since local storage is lost when the instance terminates.
92
+
93
+ ### Sync Local to Remote
94
+
95
+ Sync existing local projects to a Space:
96
+
97
+ ```python
98
+ trackio.sync(project="my-project", space_id="username/my-experiments")
99
+ ```
100
+
101
+ ## wandb Compatibility
102
+
103
+ Trackio is API-compatible with wandb. Drop-in replacement:
104
+
105
+ ```python
106
+ import trackio as wandb
107
+
108
+ wandb.init(project="my-project")
109
+ wandb.log({"loss": 0.5})
110
+ wandb.finish()
111
+ ```
112
+
113
+ ## TRL Integration
114
+
115
+ When using TRL trainers, set `report_to="trackio"` for automatic metric logging:
116
+
117
+ ```python
118
+ from trl import SFTConfig, SFTTrainer
119
+ import trackio
120
+
121
+ trackio.init(
122
+ project="sft-training",
123
+ space_id="username/trackio",
124
+ config={"model": "Qwen/Qwen2.5-0.5B", "dataset": "trl-lib/Capybara"}
125
+ )
126
+
127
+ config = SFTConfig(
128
+ output_dir="./output",
129
+ report_to="trackio", # Automatic metric logging
130
+ # ... other config
131
+ )
132
+
133
+ trainer = SFTTrainer(model=model, args=config, ...)
134
+ trainer.train()
135
+ trackio.finish()
136
+ ```
137
+
138
+ ## What Gets Logged
139
+
140
+ With TRL/Transformers integration, trackio automatically captures:
141
+ - Training loss
142
+ - Learning rate
143
+ - Eval metrics
144
+ - Training throughput
145
+
146
+ For manual logging, log any numeric metrics:
147
+
148
+ ```python
149
+ trackio.log({
150
+ "train_loss": 0.5,
151
+ "train_accuracy": 0.85,
152
+ "val_loss": 0.4,
153
+ "val_accuracy": 0.88,
154
+ "epoch": 1
155
+ })
156
+ ```
157
+
158
+ ## Grouping Runs
159
+
160
+ Use `group` to organize related experiments in the dashboard sidebar:
161
+
162
+ ```python
163
+ # Group by experiment type
164
+ trackio.init(project="my-project", name="baseline-v1", group="baseline")
165
+ trackio.init(project="my-project", name="augmented-v1", group="augmented")
166
+
167
+ # Group by hyperparameter
168
+ trackio.init(project="hyperparam-sweep", name="lr-0.001", group="lr_0.001")
169
+ trackio.init(project="hyperparam-sweep", name="lr-0.01", group="lr_0.01")
170
+ ```
171
+
172
+ ## Configuration Best Practices
173
+
174
+ Keep config minimal — only log what's useful for comparing runs:
175
+
176
+ ```python
177
+ trackio.init(
178
+ project="qwen-sft-capybara",
179
+ name="baseline-lr2e5",
180
+ config={
181
+ "model": "Qwen/Qwen2.5-0.5B",
182
+ "dataset": "trl-lib/Capybara",
183
+ "learning_rate": 2e-5,
184
+ "num_epochs": 3,
185
+ "batch_size": 8,
186
+ }
187
+ )
188
+ ```
189
+
190
+ ## Embedding Dashboards
191
+
192
+ Embed Space dashboards in websites with query parameters:
193
+
194
+ ```html
195
+ <iframe
196
+ src="https://username-trackio.hf.space/?project=my-project&metrics=train_loss,val_loss&sidebar=hidden"
197
+ style="width:1600px; height:500px; border:0;">
198
+ </iframe>
199
+ ```
200
+
201
+ Query parameters:
202
+ - `project`: Filter to specific project
203
+ - `metrics`: Comma-separated metric names to show
204
+ - `sidebar`: `hidden` or `collapsed`
205
+ - `smoothing`: 0-20 (smoothing slider value)
206
+ - `xmin`, `xmax`: X-axis limits
@@ -0,0 +1,223 @@
1
+ # Retrieving Metrics with Trackio CLI
2
+
3
+ The `trackio` CLI provides direct terminal access to query Trackio experiment tracking data locally without needing to start the MCP server.
4
+
5
+ ## Quick Command Reference
6
+
7
+ | Task | Command |
8
+ |------|---------|
9
+ | List projects | `trackio list projects` |
10
+ | List runs | `trackio list runs --project <name>` |
11
+ | List metrics | `trackio list metrics --project <name> --run <name>` |
12
+ | List system metrics | `trackio list system-metrics --project <name> --run <name>` |
13
+ | Get project summary | `trackio get project --project <name>` |
14
+ | Get run summary | `trackio get run --project <name> --run <name>` |
15
+ | Get metric values | `trackio get metric --project <name> --run <name> --metric <name>` |
16
+ | Get system metrics | `trackio get system-metric --project <name> --run <name>` |
17
+ | Show dashboard | `trackio show [--project <name>]` |
18
+ | Sync to Space | `trackio sync --project <name> --space-id <space_id>` |
19
+
20
+ ## Core Commands
21
+
22
+ ### List Commands
23
+
24
+ ```bash
25
+ trackio list projects # List all projects
26
+ trackio list projects --json # JSON output
27
+
28
+ trackio list runs --project <name> # List runs in project
29
+ trackio list runs --project <name> --json # JSON output
30
+
31
+ trackio list metrics --project <name> --run <name> # List metrics for run
32
+ trackio list metrics --project <name> --run <name> --json
33
+
34
+ trackio list system-metrics --project <name> --run <name> # List system metrics
35
+ trackio list system-metrics --project <name> --run <name> --json
36
+ ```
37
+
38
+ ### Get Commands
39
+
40
+ ```bash
41
+ trackio get project --project <name> # Project summary
42
+ trackio get project --project <name> --json # JSON output
43
+
44
+ trackio get run --project <name> --run <name> # Run summary
45
+ trackio get run --project <name> --run <name> --json
46
+
47
+ trackio get metric --project <name> --run <name> --metric <name> # Metric values
48
+ trackio get metric --project <name> --run <name> --metric <name> --json
49
+
50
+ trackio get system-metric --project <name> --run <name> # All system metrics
51
+ trackio get system-metric --project <name> --run <name> --metric <name> # Specific metric
52
+ trackio get system-metric --project <name> --run <name> --json
53
+ ```
54
+
55
+ ### Dashboard Commands
56
+
57
+ ```bash
58
+ trackio show # Launch dashboard
59
+ trackio show --project <name> # Load specific project
60
+ trackio show --theme <theme> # Custom theme
61
+ trackio show --mcp-server # Enable MCP server
62
+ trackio show --color-palette "#FF0000,#00FF00" # Custom colors
63
+ ```
64
+
65
+ ### Sync Commands
66
+
67
+ ```bash
68
+ trackio sync --project <name> --space-id <space_id> # Sync to HF Space
69
+ trackio sync --project <name> --space-id <space_id> --private # Private space
70
+ trackio sync --project <name> --space-id <space_id> --force # Overwrite
71
+ ```
72
+
73
+ ## Output Formats
74
+
75
+ All `list` and `get` commands support two output formats:
76
+
77
+ - **Human-readable** (default): Formatted text for terminal viewing
78
+ - **JSON** (with `--json` flag): Structured JSON for programmatic use
79
+
80
+ ## Common Patterns
81
+
82
+ ### Discover Projects and Runs
83
+
84
+ ```bash
85
+ # List all available projects
86
+ trackio list projects
87
+
88
+ # List runs in a project
89
+ trackio list runs --project my-project
90
+
91
+ # Get project overview
92
+ trackio get project --project my-project --json
93
+ ```
94
+
95
+ ### Inspect Run Details
96
+
97
+ ```bash
98
+ # Get run summary with all metrics
99
+ trackio get run --project my-project --run my-run --json
100
+
101
+ # List available metrics
102
+ trackio list metrics --project my-project --run my-run
103
+
104
+ # Get specific metric values
105
+ trackio get metric --project my-project --run my-run --metric loss --json
106
+ ```
107
+
108
+ ### Query System Metrics
109
+
110
+ ```bash
111
+ # List system metrics (GPU, etc.)
112
+ trackio list system-metrics --project my-project --run my-run
113
+
114
+ # Get all system metric data
115
+ trackio get system-metric --project my-project --run my-run --json
116
+
117
+ # Get specific system metric
118
+ trackio get system-metric --project my-project --run my-run --metric gpu_utilization --json
119
+ ```
120
+
121
+ ### Automation Scripts
122
+
123
+ ```bash
124
+ # Extract latest metric value
125
+ LATEST_LOSS=$(trackio get metric --project my-project --run my-run --metric loss --json | jq -r '.values[-1].value')
126
+
127
+ # Export run summary to file
128
+ trackio get run --project my-project --run my-run --json > run_summary.json
129
+
130
+ # Filter runs with jq
131
+ trackio list runs --project my-project --json | jq '.runs[] | select(startswith("train"))'
132
+ ```
133
+
134
+ ### LLM Agent Workflow
135
+
136
+ ```bash
137
+ # 1. Discover available projects
138
+ trackio list projects --json
139
+
140
+ # 2. Explore project structure
141
+ trackio get project --project my-project --json
142
+
143
+ # 3. Inspect specific run
144
+ trackio get run --project my-project --run my-run --json
145
+
146
+ # 4. Query metric values
147
+ trackio get metric --project my-project --run my-run --metric accuracy --json
148
+ ```
149
+
150
+ ## Error Handling
151
+
152
+ Commands validate inputs and return clear errors:
153
+
154
+ - Missing project: `Error: Project '<name>' not found.`
155
+ - Missing run: `Error: Run '<name>' not found in project '<project>'.`
156
+ - Missing metric: `Error: Metric '<name>' not found in run '<run>' of project '<project>'.`
157
+
158
+ All errors exit with non-zero status code and write to stderr.
159
+
160
+ ## Key Options
161
+
162
+ - `--project`: Project name (required for most commands)
163
+ - `--run`: Run name (required for run-specific commands)
164
+ - `--metric`: Metric name (required for metric-specific commands)
165
+ - `--json`: Output in JSON format instead of human-readable
166
+ - `--theme`: Dashboard theme (for `show` command)
167
+ - `--mcp-server`: Enable MCP server mode (for `show` command)
168
+ - `--color-palette`: Comma-separated hex colors (for `show` command)
169
+ - `--private`: Create private Space (for `sync` command)
170
+ - `--force`: Overwrite existing database (for `sync` command)
171
+
172
+ ## JSON Output Structure
173
+
174
+ ### List Projects
175
+ ```json
176
+ {"projects": ["project1", "project2"]}
177
+ ```
178
+
179
+ ### List Runs
180
+ ```json
181
+ {"project": "my-project", "runs": ["run1", "run2"]}
182
+ ```
183
+
184
+ ### Project Summary
185
+ ```json
186
+ {
187
+ "project": "my-project",
188
+ "num_runs": 3,
189
+ "runs": ["run1", "run2", "run3"],
190
+ "last_activity": 100
191
+ }
192
+ ```
193
+
194
+ ### Run Summary
195
+ ```json
196
+ {
197
+ "project": "my-project",
198
+ "run": "my-run",
199
+ "num_logs": 50,
200
+ "metrics": ["loss", "accuracy"],
201
+ "config": {"learning_rate": 0.001},
202
+ "last_step": 49
203
+ }
204
+ ```
205
+
206
+ ### Metric Values
207
+ ```json
208
+ {
209
+ "project": "my-project",
210
+ "run": "my-run",
211
+ "metric": "loss",
212
+ "values": [
213
+ {"step": 0, "timestamp": "2024-01-01T00:00:00", "value": 0.5},
214
+ {"step": 1, "timestamp": "2024-01-01T00:01:00", "value": 0.4}
215
+ ]
216
+ }
217
+ ```
218
+
219
+ ## References
220
+
221
+ - **Complete CLI documentation**: See [docs/source/cli_commands.md](docs/source/cli_commands.md)
222
+ - **API and MCP Server**: See [docs/source/api_mcp_server.md](docs/source/api_mcp_server.md)
223
+