@synsci/cli-darwin-x64 1.1.70 → 1.1.72
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.
- package/bin/skills/citation-management/SKILL.md +1109 -0
- package/bin/skills/citation-management/assets/bibtex_template.bib +264 -0
- package/bin/skills/citation-management/assets/citation_checklist.md +386 -0
- package/bin/skills/citation-management/references/bibtex_formatting.md +908 -0
- package/bin/skills/citation-management/references/citation_validation.md +794 -0
- package/bin/skills/citation-management/references/google_scholar_search.md +725 -0
- package/bin/skills/citation-management/references/metadata_extraction.md +870 -0
- package/bin/skills/citation-management/references/pubmed_search.md +839 -0
- package/bin/skills/citation-management/scripts/doi_to_bibtex.py +182 -0
- package/bin/skills/citation-management/scripts/extract_metadata.py +570 -0
- package/bin/skills/citation-management/scripts/format_bibtex.py +349 -0
- package/bin/skills/citation-management/scripts/search_google_scholar.py +251 -0
- package/bin/skills/citation-management/scripts/search_pubmed.py +348 -0
- package/bin/skills/citation-management/scripts/validate_citations.py +494 -0
- package/bin/skills/clinical-decision-support/README.md +129 -0
- package/bin/skills/clinical-decision-support/SKILL.md +506 -0
- package/bin/skills/clinical-decision-support/assets/biomarker_report_template.tex +380 -0
- package/bin/skills/clinical-decision-support/assets/clinical_pathway_template.tex +222 -0
- package/bin/skills/clinical-decision-support/assets/cohort_analysis_template.tex +359 -0
- package/bin/skills/clinical-decision-support/assets/color_schemes.tex +149 -0
- package/bin/skills/clinical-decision-support/assets/example_gbm_cohort.md +208 -0
- package/bin/skills/clinical-decision-support/assets/recommendation_strength_guide.md +328 -0
- package/bin/skills/clinical-decision-support/assets/treatment_recommendation_template.tex +529 -0
- package/bin/skills/clinical-decision-support/references/biomarker_classification.md +719 -0
- package/bin/skills/clinical-decision-support/references/clinical_decision_algorithms.md +604 -0
- package/bin/skills/clinical-decision-support/references/evidence_synthesis.md +840 -0
- package/bin/skills/clinical-decision-support/references/outcome_analysis.md +640 -0
- package/bin/skills/clinical-decision-support/references/patient_cohort_analysis.md +427 -0
- package/bin/skills/clinical-decision-support/references/treatment_recommendations.md +521 -0
- package/bin/skills/clinical-decision-support/scripts/biomarker_classifier.py +383 -0
- package/bin/skills/clinical-decision-support/scripts/build_decision_tree.py +417 -0
- package/bin/skills/clinical-decision-support/scripts/create_cohort_tables.py +509 -0
- package/bin/skills/clinical-decision-support/scripts/generate_survival_analysis.py +441 -0
- package/bin/skills/clinical-decision-support/scripts/validate_cds_document.py +326 -0
- package/bin/skills/clinical-reports/IMPLEMENTATION_SUMMARY.md +641 -0
- package/bin/skills/clinical-reports/README.md +236 -0
- package/bin/skills/clinical-reports/SKILL.md +1127 -0
- package/bin/skills/clinical-reports/assets/case_report_template.md +352 -0
- package/bin/skills/clinical-reports/assets/clinical_trial_csr_template.md +353 -0
- package/bin/skills/clinical-reports/assets/clinical_trial_sae_template.md +359 -0
- package/bin/skills/clinical-reports/assets/consult_note_template.md +305 -0
- package/bin/skills/clinical-reports/assets/discharge_summary_template.md +453 -0
- package/bin/skills/clinical-reports/assets/hipaa_compliance_checklist.md +395 -0
- package/bin/skills/clinical-reports/assets/history_physical_template.md +305 -0
- package/bin/skills/clinical-reports/assets/lab_report_template.md +309 -0
- package/bin/skills/clinical-reports/assets/pathology_report_template.md +249 -0
- package/bin/skills/clinical-reports/assets/quality_checklist.md +338 -0
- package/bin/skills/clinical-reports/assets/radiology_report_template.md +318 -0
- package/bin/skills/clinical-reports/assets/soap_note_template.md +253 -0
- package/bin/skills/clinical-reports/references/case_report_guidelines.md +570 -0
- package/bin/skills/clinical-reports/references/clinical_trial_reporting.md +693 -0
- package/bin/skills/clinical-reports/references/data_presentation.md +530 -0
- package/bin/skills/clinical-reports/references/diagnostic_reports_standards.md +629 -0
- package/bin/skills/clinical-reports/references/medical_terminology.md +588 -0
- package/bin/skills/clinical-reports/references/patient_documentation.md +744 -0
- package/bin/skills/clinical-reports/references/peer_review_standards.md +585 -0
- package/bin/skills/clinical-reports/references/regulatory_compliance.md +577 -0
- package/bin/skills/clinical-reports/scripts/check_deidentification.py +332 -0
- package/bin/skills/clinical-reports/scripts/compliance_checker.py +78 -0
- package/bin/skills/clinical-reports/scripts/extract_clinical_data.py +97 -0
- package/bin/skills/clinical-reports/scripts/format_adverse_events.py +97 -0
- package/bin/skills/clinical-reports/scripts/generate_report_template.py +149 -0
- package/bin/skills/clinical-reports/scripts/terminology_validator.py +126 -0
- package/bin/skills/clinical-reports/scripts/validate_case_report.py +323 -0
- package/bin/skills/clinical-reports/scripts/validate_trial_report.py +88 -0
- package/bin/skills/fireworks-ai/SKILL.md +665 -0
- package/bin/skills/generate-image/SKILL.md +178 -0
- package/bin/skills/generate-image/scripts/generate_image.py +254 -0
- package/bin/skills/groq/SKILL.md +347 -0
- package/bin/skills/hypothesis-generation/SKILL.md +293 -0
- package/bin/skills/hypothesis-generation/assets/FORMATTING_GUIDE.md +672 -0
- package/bin/skills/hypothesis-generation/assets/hypothesis_generation.sty +307 -0
- package/bin/skills/hypothesis-generation/assets/hypothesis_report_template.tex +572 -0
- package/bin/skills/hypothesis-generation/references/experimental_design_patterns.md +329 -0
- package/bin/skills/hypothesis-generation/references/hypothesis_quality_criteria.md +198 -0
- package/bin/skills/hypothesis-generation/references/literature_search_strategies.md +622 -0
- package/bin/skills/latex-posters/README.md +417 -0
- package/bin/skills/latex-posters/SKILL.md +1602 -0
- package/bin/skills/latex-posters/assets/baposter_template.tex +257 -0
- package/bin/skills/latex-posters/assets/beamerposter_template.tex +244 -0
- package/bin/skills/latex-posters/assets/poster_quality_checklist.md +358 -0
- package/bin/skills/latex-posters/assets/tikzposter_template.tex +251 -0
- package/bin/skills/latex-posters/references/latex_poster_packages.md +745 -0
- package/bin/skills/latex-posters/references/poster_content_guide.md +748 -0
- package/bin/skills/latex-posters/references/poster_design_principles.md +806 -0
- package/bin/skills/latex-posters/references/poster_layout_design.md +900 -0
- package/bin/skills/latex-posters/scripts/review_poster.sh +214 -0
- package/bin/skills/literature-review/SKILL.md +641 -0
- package/bin/skills/literature-review/assets/review_template.md +412 -0
- package/bin/skills/literature-review/references/citation_styles.md +166 -0
- package/bin/skills/literature-review/references/database_strategies.md +455 -0
- package/bin/skills/literature-review/scripts/generate_pdf.py +184 -0
- package/bin/skills/literature-review/scripts/search_databases.py +310 -0
- package/bin/skills/literature-review/scripts/verify_citations.py +218 -0
- package/bin/skills/market-research-reports/SKILL.md +904 -0
- package/bin/skills/market-research-reports/assets/FORMATTING_GUIDE.md +428 -0
- package/bin/skills/market-research-reports/assets/market_report_template.tex +1380 -0
- package/bin/skills/market-research-reports/assets/market_research.sty +564 -0
- package/bin/skills/market-research-reports/references/data_analysis_patterns.md +548 -0
- package/bin/skills/market-research-reports/references/report_structure_guide.md +999 -0
- package/bin/skills/market-research-reports/references/visual_generation_guide.md +1077 -0
- package/bin/skills/market-research-reports/scripts/generate_market_visuals.py +472 -0
- package/bin/skills/markitdown/INSTALLATION_GUIDE.md +318 -0
- package/bin/skills/markitdown/LICENSE.txt +22 -0
- package/bin/skills/markitdown/OPENROUTER_INTEGRATION.md +359 -0
- package/bin/skills/markitdown/QUICK_REFERENCE.md +309 -0
- package/bin/skills/markitdown/README.md +184 -0
- package/bin/skills/markitdown/SKILL.md +486 -0
- package/bin/skills/markitdown/SKILL_SUMMARY.md +307 -0
- package/bin/skills/markitdown/assets/example_usage.md +463 -0
- package/bin/skills/markitdown/references/api_reference.md +399 -0
- package/bin/skills/markitdown/references/file_formats.md +542 -0
- package/bin/skills/markitdown/scripts/batch_convert.py +195 -0
- package/bin/skills/markitdown/scripts/convert_literature.py +262 -0
- package/bin/skills/markitdown/scripts/convert_with_ai.py +224 -0
- package/bin/skills/ml-paper-writing/SKILL.md +937 -0
- package/bin/skills/ml-paper-writing/references/checklists.md +361 -0
- package/bin/skills/ml-paper-writing/references/citation-workflow.md +562 -0
- package/bin/skills/ml-paper-writing/references/reviewer-guidelines.md +367 -0
- package/bin/skills/ml-paper-writing/references/sources.md +159 -0
- package/bin/skills/ml-paper-writing/references/writing-guide.md +476 -0
- package/bin/skills/ml-paper-writing/templates/README.md +251 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/README.md +534 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-supp.tex +144 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-template.tex +952 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.bib +111 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.bst +1493 -0
- package/bin/skills/ml-paper-writing/templates/aaai2026/aaai2026.sty +315 -0
- package/bin/skills/ml-paper-writing/templates/acl/README.md +50 -0
- package/bin/skills/ml-paper-writing/templates/acl/acl.sty +312 -0
- package/bin/skills/ml-paper-writing/templates/acl/acl_latex.tex +377 -0
- package/bin/skills/ml-paper-writing/templates/acl/acl_lualatex.tex +101 -0
- package/bin/skills/ml-paper-writing/templates/acl/acl_natbib.bst +1940 -0
- package/bin/skills/ml-paper-writing/templates/acl/anthology.bib.txt +26 -0
- package/bin/skills/ml-paper-writing/templates/acl/custom.bib +70 -0
- package/bin/skills/ml-paper-writing/templates/acl/formatting.md +326 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/README.md +3 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bib +11 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bst +1440 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.pdf +0 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.sty +218 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/colm2025_conference.tex +305 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/fancyhdr.sty +485 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/math_commands.tex +508 -0
- package/bin/skills/ml-paper-writing/templates/colm2025/natbib.sty +1246 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/fancyhdr.sty +485 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bib +24 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bst +1440 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.pdf +0 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.sty +246 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.tex +414 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/math_commands.tex +508 -0
- package/bin/skills/ml-paper-writing/templates/iclr2026/natbib.sty +1246 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/algorithm.sty +79 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/algorithmic.sty +201 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.bib +75 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.pdf +0 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/example_paper.tex +662 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/fancyhdr.sty +864 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/icml2026.bst +1443 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/icml2026.sty +767 -0
- package/bin/skills/ml-paper-writing/templates/icml2026/icml_numpapers.pdf +0 -0
- package/bin/skills/ml-paper-writing/templates/neurips2025/Makefile +36 -0
- package/bin/skills/ml-paper-writing/templates/neurips2025/extra_pkgs.tex +53 -0
- package/bin/skills/ml-paper-writing/templates/neurips2025/main.tex +38 -0
- package/bin/skills/ml-paper-writing/templates/neurips2025/neurips.sty +382 -0
- package/bin/skills/paper-2-web/SKILL.md +491 -0
- package/bin/skills/paper-2-web/references/installation.md +141 -0
- package/bin/skills/paper-2-web/references/paper2poster.md +346 -0
- package/bin/skills/paper-2-web/references/paper2video.md +305 -0
- package/bin/skills/paper-2-web/references/paper2web.md +187 -0
- package/bin/skills/paper-2-web/references/usage_examples.md +436 -0
- package/bin/skills/peer-review/SKILL.md +702 -0
- package/bin/skills/peer-review/references/calibration_guidelines.md +196 -0
- package/bin/skills/peer-review/references/common_issues.md +552 -0
- package/bin/skills/peer-review/references/paper_mechanics.md +269 -0
- package/bin/skills/peer-review/references/reporting_standards.md +290 -0
- package/bin/skills/peer-review/references/scoring_rubric.md +239 -0
- package/bin/skills/pptx-posters/SKILL.md +410 -0
- package/bin/skills/pptx-posters/assets/poster_html_template.html +257 -0
- package/bin/skills/pptx-posters/assets/poster_quality_checklist.md +358 -0
- package/bin/skills/pptx-posters/references/poster_content_guide.md +748 -0
- package/bin/skills/pptx-posters/references/poster_design_principles.md +806 -0
- package/bin/skills/pptx-posters/references/poster_layout_design.md +900 -0
- package/bin/skills/research-grants/README.md +285 -0
- package/bin/skills/research-grants/SKILL.md +938 -0
- package/bin/skills/research-grants/assets/budget_justification_template.md +453 -0
- package/bin/skills/research-grants/assets/nih_specific_aims_template.md +166 -0
- package/bin/skills/research-grants/assets/nsf_project_summary_template.md +92 -0
- package/bin/skills/research-grants/references/broader_impacts.md +392 -0
- package/bin/skills/research-grants/references/darpa_guidelines.md +636 -0
- package/bin/skills/research-grants/references/doe_guidelines.md +586 -0
- package/bin/skills/research-grants/references/nih_guidelines.md +851 -0
- package/bin/skills/research-grants/references/nsf_guidelines.md +570 -0
- package/bin/skills/research-grants/references/specific_aims_guide.md +458 -0
- package/bin/skills/research-lookup/README.md +156 -0
- package/bin/skills/research-lookup/SKILL.md +606 -0
- package/bin/skills/research-lookup/examples.py +174 -0
- package/bin/skills/research-lookup/lookup.py +187 -0
- package/bin/skills/research-lookup/research_lookup.py +483 -0
- package/bin/skills/research-lookup/scripts/research_lookup.py +483 -0
- package/bin/skills/scholar-evaluation/SKILL.md +289 -0
- package/bin/skills/scholar-evaluation/references/evaluation_framework.md +663 -0
- package/bin/skills/scholar-evaluation/scripts/calculate_scores.py +366 -0
- package/bin/skills/scientific-critical-thinking/SKILL.md +566 -0
- package/bin/skills/scientific-critical-thinking/references/common_biases.md +364 -0
- package/bin/skills/scientific-critical-thinking/references/evidence_hierarchy.md +484 -0
- package/bin/skills/scientific-critical-thinking/references/experimental_design.md +496 -0
- package/bin/skills/scientific-critical-thinking/references/logical_fallacies.md +478 -0
- package/bin/skills/scientific-critical-thinking/references/scientific_method.md +169 -0
- package/bin/skills/scientific-critical-thinking/references/statistical_pitfalls.md +506 -0
- package/bin/skills/scientific-schematics/QUICK_REFERENCE.md +207 -0
- package/bin/skills/scientific-schematics/README.md +327 -0
- package/bin/skills/scientific-schematics/SKILL.md +615 -0
- package/bin/skills/scientific-schematics/example_usage.sh +89 -0
- package/bin/skills/scientific-schematics/references/best_practices.md +559 -0
- package/bin/skills/scientific-schematics/scripts/generate_schematic.py +135 -0
- package/bin/skills/scientific-schematics/scripts/generate_schematic_ai.py +807 -0
- package/bin/skills/scientific-schematics/test_ai_generation.py +243 -0
- package/bin/skills/scientific-slides/SKILL.md +942 -0
- package/bin/skills/scientific-slides/assets/timing_guidelines.md +597 -0
- package/bin/skills/scientific-slides/references/data_visualization_slides.md +708 -0
- package/bin/skills/scientific-slides/references/presentation_structure.md +642 -0
- package/bin/skills/scientific-slides/references/slide_design_principles.md +849 -0
- package/bin/skills/scientific-slides/references/talk_types_guide.md +687 -0
- package/bin/skills/scientific-slides/references/visual_review_workflow.md +775 -0
- package/bin/skills/scientific-slides/scripts/generate_slide_image.py +143 -0
- package/bin/skills/scientific-slides/scripts/generate_slide_image_ai.py +748 -0
- package/bin/skills/scientific-slides/scripts/pdf_to_images.py +201 -0
- package/bin/skills/scientific-slides/scripts/slides_to_pdf.py +220 -0
- package/bin/skills/scientific-slides/scripts/validate_presentation.py +367 -0
- package/bin/skills/scientific-writing/SKILL.md +714 -0
- package/bin/skills/scientific-writing/assets/REPORT_FORMATTING_GUIDE.md +574 -0
- package/bin/skills/scientific-writing/assets/scientific_report.sty +606 -0
- package/bin/skills/scientific-writing/assets/scientific_report_template.tex +449 -0
- package/bin/skills/scientific-writing/references/citation_styles.md +720 -0
- package/bin/skills/scientific-writing/references/figures_tables.md +806 -0
- package/bin/skills/scientific-writing/references/imrad_structure.md +686 -0
- package/bin/skills/scientific-writing/references/professional_report_formatting.md +664 -0
- package/bin/skills/scientific-writing/references/reporting_guidelines.md +748 -0
- package/bin/skills/scientific-writing/references/writing_principles.md +824 -0
- package/bin/skills/tinker/SKILL.md +2 -3
- package/bin/skills/together-ai/SKILL.md +722 -0
- package/bin/skills/treatment-plans/README.md +488 -0
- package/bin/skills/treatment-plans/SKILL.md +1579 -0
- package/bin/skills/treatment-plans/assets/STYLING_QUICK_REFERENCE.md +185 -0
- package/bin/skills/treatment-plans/assets/chronic_disease_management_plan.tex +665 -0
- package/bin/skills/treatment-plans/assets/general_medical_treatment_plan.tex +547 -0
- package/bin/skills/treatment-plans/assets/medical_treatment_plan.sty +222 -0
- package/bin/skills/treatment-plans/assets/mental_health_treatment_plan.tex +774 -0
- package/bin/skills/treatment-plans/assets/one_page_treatment_plan.tex +193 -0
- package/bin/skills/treatment-plans/assets/pain_management_plan.tex +799 -0
- package/bin/skills/treatment-plans/assets/perioperative_care_plan.tex +753 -0
- package/bin/skills/treatment-plans/assets/quality_checklist.md +471 -0
- package/bin/skills/treatment-plans/assets/rehabilitation_treatment_plan.tex +756 -0
- package/bin/skills/treatment-plans/references/goal_setting_frameworks.md +411 -0
- package/bin/skills/treatment-plans/references/intervention_guidelines.md +507 -0
- package/bin/skills/treatment-plans/references/regulatory_compliance.md +476 -0
- package/bin/skills/treatment-plans/references/specialty_specific_guidelines.md +655 -0
- package/bin/skills/treatment-plans/references/treatment_plan_standards.md +485 -0
- package/bin/skills/treatment-plans/scripts/check_completeness.py +322 -0
- package/bin/skills/treatment-plans/scripts/generate_template.py +233 -0
- package/bin/skills/treatment-plans/scripts/timeline_generator.py +385 -0
- package/bin/skills/treatment-plans/scripts/validate_treatment_plan.py +369 -0
- package/bin/skills/unsloth/SKILL.md +565 -47
- package/bin/skills/unsloth/docs/advanced-rl.md +222 -0
- package/bin/skills/unsloth/docs/chat-templates.md +141 -0
- package/bin/skills/unsloth/docs/datasets.md +489 -0
- package/bin/skills/unsloth/docs/docker-extended.md +99 -0
- package/bin/skills/unsloth/docs/dynamic-ggufs-2.0.md +116 -0
- package/bin/skills/unsloth/docs/dynamic-ggufs-aider.md +118 -0
- package/bin/skills/unsloth/docs/faq.md +91 -0
- package/bin/skills/unsloth/docs/fp16-vs-bf16.md +61 -0
- package/bin/skills/unsloth/docs/fp8-rl.md +224 -0
- package/bin/skills/unsloth/docs/glm-4.7-flash.md +997 -0
- package/bin/skills/unsloth/docs/inference-deployment-overview.md +17 -0
- package/bin/skills/unsloth/docs/inference.md +27 -0
- package/bin/skills/unsloth/docs/installation-docker.md +155 -0
- package/bin/skills/unsloth/docs/installation-pip.md +148 -0
- package/bin/skills/unsloth/docs/kernels-packing.md +190 -0
- package/bin/skills/unsloth/docs/kimi-k2.5.md +634 -0
- package/bin/skills/unsloth/docs/lm-studio.md +235 -0
- package/bin/skills/unsloth/docs/lora-hot-swapping.md +75 -0
- package/bin/skills/unsloth/docs/lora-hyperparameters.md +363 -0
- package/bin/skills/unsloth/docs/memory-efficient-rl.md +267 -0
- package/bin/skills/unsloth/docs/model-selection.md +70 -0
- package/bin/skills/unsloth/docs/models.md +532 -0
- package/bin/skills/unsloth/docs/multi-gpu-ddp.md +90 -0
- package/bin/skills/unsloth/docs/notebooks.md +223 -0
- package/bin/skills/unsloth/docs/overview.md +110 -0
- package/bin/skills/unsloth/docs/qwen3-coder-next-extended.md +900 -0
- package/bin/skills/unsloth/docs/qwen3-coder-next.md +900 -0
- package/bin/skills/unsloth/docs/requirements.md +45 -0
- package/bin/skills/unsloth/docs/reward-hacking.md +25 -0
- package/bin/skills/unsloth/docs/saving-to-gguf.md +138 -0
- package/bin/skills/unsloth/docs/saving-to-ollama.md +46 -0
- package/bin/skills/unsloth/docs/sglang-guide.md +278 -0
- package/bin/skills/unsloth/docs/speculative-decoding.md +70 -0
- package/bin/skills/unsloth/docs/tool-calling.md +334 -0
- package/bin/skills/unsloth/docs/troubleshooting-faq.md +204 -0
- package/bin/skills/unsloth/docs/troubleshooting-inference.md +26 -0
- package/bin/skills/unsloth/docs/tts-fine-tuning.md +149 -0
- package/bin/skills/unsloth/docs/tutorial-grpo.md +273 -0
- package/bin/skills/unsloth/docs/tutorial-llama3-ollama.md +356 -0
- package/bin/skills/unsloth/docs/vision-fine-tuning.md +135 -0
- package/bin/skills/unsloth/docs/vision-rl.md +170 -0
- package/bin/skills/unsloth/docs/vllm-engine-arguments.md +43 -0
- package/bin/skills/unsloth/docs/vllm-guide.md +98 -0
- package/bin/skills/venue-templates/SKILL.md +686 -0
- package/bin/skills/venue-templates/assets/examples/cell_summary_example.md +247 -0
- package/bin/skills/venue-templates/assets/examples/medical_structured_abstract.md +313 -0
- package/bin/skills/venue-templates/assets/examples/nature_abstract_examples.md +213 -0
- package/bin/skills/venue-templates/assets/examples/neurips_introduction_example.md +245 -0
- package/bin/skills/venue-templates/assets/grants/nih_specific_aims.tex +235 -0
- package/bin/skills/venue-templates/assets/grants/nsf_proposal_template.tex +375 -0
- package/bin/skills/venue-templates/assets/journals/nature_article.tex +171 -0
- package/bin/skills/venue-templates/assets/journals/neurips_article.tex +283 -0
- package/bin/skills/venue-templates/assets/journals/plos_one.tex +317 -0
- package/bin/skills/venue-templates/assets/posters/beamerposter_academic.tex +311 -0
- package/bin/skills/venue-templates/references/cell_press_style.md +483 -0
- package/bin/skills/venue-templates/references/conferences_formatting.md +564 -0
- package/bin/skills/venue-templates/references/cs_conference_style.md +463 -0
- package/bin/skills/venue-templates/references/grants_requirements.md +787 -0
- package/bin/skills/venue-templates/references/journals_formatting.md +486 -0
- package/bin/skills/venue-templates/references/medical_journal_styles.md +535 -0
- package/bin/skills/venue-templates/references/ml_conference_style.md +556 -0
- package/bin/skills/venue-templates/references/nature_science_style.md +405 -0
- package/bin/skills/venue-templates/references/posters_guidelines.md +628 -0
- package/bin/skills/venue-templates/references/reviewer_expectations.md +417 -0
- package/bin/skills/venue-templates/references/venue_writing_styles.md +321 -0
- package/bin/skills/venue-templates/scripts/customize_template.py +195 -0
- package/bin/skills/venue-templates/scripts/query_template.py +266 -0
- package/bin/skills/venue-templates/scripts/validate_format.py +250 -0
- package/bin/synsc +0 -0
- package/package.json +1 -1
- package/bin/skills/unsloth/references/index.md +0 -7
- package/bin/skills/unsloth/references/llms-full.md +0 -16799
- package/bin/skills/unsloth/references/llms-txt.md +0 -12044
- package/bin/skills/unsloth/references/llms.md +0 -82
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
# Deploying models to LM Studio
|
|
2
|
+
|
|
3
|
+
You can run and deploy your fine-tuned LLM directly in LM Studio. [LM Studio](https://lmstudio.ai/) enables easy running and deployment of **GGUF** models (llama.cpp format).
|
|
4
|
+
|
|
5
|
+
You can use our [LM Studio notebook](https://colab.research.google.com/github/unslothai/notebooks/blob/main/nb/FunctionGemma_(270M)-LMStudio.ipynb) or follow the instructions below:
|
|
6
|
+
|
|
7
|
+
1. **Export your Unsloth fine-tuned model to `.gguf`**
|
|
8
|
+
2. **Import / download the GGUF into LM Studio**
|
|
9
|
+
3. **Load it in Chat** (or run it behind an OpenAI-compatible local API)
|
|
10
|
+
|
|
11
|
+
### 1) Export to GGUF (from Unsloth)
|
|
12
|
+
|
|
13
|
+
If you already exported a `.gguf`, skip to **Importing into LM Studio**.
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
# Save locally (creates GGUF artifacts in the folder)
|
|
17
|
+
model.save_pretrained_gguf("my_model_gguf", tokenizer, quantization_method = "q4_k_m")
|
|
18
|
+
# model.save_pretrained_gguf("my_model_gguf", tokenizer, quantization_method = "q8_0")
|
|
19
|
+
# model.save_pretrained_gguf("my_model_gguf", tokenizer, quantization_method = "f16")
|
|
20
|
+
|
|
21
|
+
# Or push GGUF to the Hugging Face Hub
|
|
22
|
+
model.push_to_hub_gguf("hf_username/my_model_gguf", tokenizer, quantization_method = "q4_k_m")
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
> `q4_k_m` is usually the default for local runs.
|
|
26
|
+
> `q8_0` is the optimum for near full precision quality.
|
|
27
|
+
> `f16` is largest / slowest, but original unquantized precision.
|
|
28
|
+
|
|
29
|
+
### 2) Import the GGUF into LM Studio
|
|
30
|
+
|
|
31
|
+
#### CLI Import (lms import)
|
|
32
|
+
|
|
33
|
+
LM Studio provides a CLI called `lms` that can import a local `.gguf` into LM Studio's models folder.
|
|
34
|
+
|
|
35
|
+
**Import a GGUF file:**
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
lms import /path/to/model.gguf
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**Keep the original file (copy instead of move):**
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
lms import /path/to/model.gguf --copy
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
**Keep the model where it is (symlink):**
|
|
48
|
+
|
|
49
|
+
This is helpful for large models stored on a dedicated drive.
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
lms import /path/to/model.gguf --symbolic-link
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**Skip prompts and choose the target namespace yourself:**
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
lms import /path/to/model.gguf --user-repo my-user/my-finetuned-models
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Dry-run (shows what will happen):**
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
lms import /path/to/model.gguf --dry-run
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
After importing, the model should appear in LM Studio under **My Models**.
|
|
68
|
+
|
|
69
|
+
#### From Hugging Face
|
|
70
|
+
|
|
71
|
+
If you pushed your GGUF repo to Hugging Face, you can download it directly from within LM Studio.
|
|
72
|
+
|
|
73
|
+
**Option A: Use LM Studio's in-app downloader**
|
|
74
|
+
|
|
75
|
+
1. Open LM Studio
|
|
76
|
+
2. Go to the **Discover** tab
|
|
77
|
+
3. Search for `hf_username/repo_name` (or paste the Hugging Face URL)
|
|
78
|
+
4. Download the quant you want (e.g. `Q4_K_M`)
|
|
79
|
+
|
|
80
|
+
**Option B: Use the CLI downloader**
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# Download from HF by repo name
|
|
84
|
+
lms get hf_username/my_model_gguf
|
|
85
|
+
|
|
86
|
+
# Pick a quantization with @
|
|
87
|
+
lms get hf_username/my_model_gguf@Q4_K_M
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### Manual Import (folder structure)
|
|
91
|
+
|
|
92
|
+
If you don't want to use the CLI, you can place the `.gguf` file into LM Studio's expected model directory structure.
|
|
93
|
+
|
|
94
|
+
LM Studio expects models to look like this:
|
|
95
|
+
|
|
96
|
+
```
|
|
97
|
+
~/.lmstudio/models/
|
|
98
|
+
└── publisher/
|
|
99
|
+
└── model/
|
|
100
|
+
└── model-file.gguf
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Example:
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
~/.lmstudio/models/
|
|
107
|
+
└── my-name/
|
|
108
|
+
└── my-finetune/
|
|
109
|
+
└── my-finetune-Q4_K_M.gguf
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Then open LM Studio and check **My Models**.
|
|
113
|
+
|
|
114
|
+
### 3) Load and chat in LM Studio
|
|
115
|
+
|
|
116
|
+
1. Open LM Studio -> **Chat**
|
|
117
|
+
2. Open the **model loader**
|
|
118
|
+
3. Select your imported model
|
|
119
|
+
4. (Optional) adjust load settings (GPU offload, context length, etc.)
|
|
120
|
+
5. Chat normally in the UI
|
|
121
|
+
|
|
122
|
+
### 4) Serve your fine-tuned model as a local API (OpenAI-compatible)
|
|
123
|
+
|
|
124
|
+
LM Studio can serve your loaded model behind an OpenAI-compatible API (handy for apps like Open WebUI, custom agents, scripts, etc.).
|
|
125
|
+
|
|
126
|
+
#### GUI (Developer tab)
|
|
127
|
+
|
|
128
|
+
1. Load your model in LM Studio
|
|
129
|
+
2. Go to the **Developer** tab
|
|
130
|
+
3. Start the local server
|
|
131
|
+
4. Use the shown base URL (default is typically `http://localhost:1234`)
|
|
132
|
+
|
|
133
|
+
#### CLI (lms load + lms server start)
|
|
134
|
+
|
|
135
|
+
**1) List available models:**
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
lms ls
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**2) Load your model (optional flags):**
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
lms load <model-identifier> --gpu=auto --context-length=8192
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Notes:
|
|
148
|
+
* `--gpu=1.0` means "try to offload 100% to GPU"
|
|
149
|
+
* You can set a stable identifier:
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
lms load <model-identifier> --identifier="my-finetuned-model"
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**3) Start the server:**
|
|
156
|
+
|
|
157
|
+
```bash
|
|
158
|
+
lms server start --port 1234
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
**Quick test: list models**
|
|
162
|
+
|
|
163
|
+
```bash
|
|
164
|
+
curl http://localhost:1234/v1/models
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
**Python example (OpenAI SDK):**
|
|
168
|
+
|
|
169
|
+
```python
|
|
170
|
+
from openai import OpenAI
|
|
171
|
+
|
|
172
|
+
client = OpenAI(
|
|
173
|
+
base_url="http://localhost:1234/v1",
|
|
174
|
+
api_key="lm-studio", # LM Studio may not require a real key; this is a common placeholder
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
resp = client.chat.completions.create(
|
|
178
|
+
model="model-identifier-from-lm-studio",
|
|
179
|
+
messages=[
|
|
180
|
+
{"role": "system", "content": "You are a helpful assistant."},
|
|
181
|
+
{"role": "user", "content": "Hello! What did I fine-tune you to do?"},
|
|
182
|
+
],
|
|
183
|
+
temperature=0.7,
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
print(resp.choices[0].message.content)
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
**cURL example (chat completions):**
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
curl http://localhost:1234/v1/chat/completions \
|
|
193
|
+
-H "Content-Type: application/json" \
|
|
194
|
+
-d '{
|
|
195
|
+
"model": "model-identifier-from-lm-studio",
|
|
196
|
+
"messages": [
|
|
197
|
+
{"role": "user", "content": "Say this is a test!"}
|
|
198
|
+
],
|
|
199
|
+
"temperature": 0.7
|
|
200
|
+
}'
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
> **Debugging tip:** If you're troubleshooting formatting/templates, you can inspect the raw prompt LM Studio sends to the model by running: `lms log stream`
|
|
204
|
+
|
|
205
|
+
### Troubleshooting
|
|
206
|
+
|
|
207
|
+
#### Model runs in Unsloth, but LM Studio output is gibberish / repeats
|
|
208
|
+
|
|
209
|
+
This is almost always a **prompt template / chat template mismatch**.
|
|
210
|
+
|
|
211
|
+
LM Studio will **auto-detect** the prompt template from the GGUF metadata when possible, but custom or incorrectly-tagged models may need a manual override.
|
|
212
|
+
|
|
213
|
+
**Fix:**
|
|
214
|
+
|
|
215
|
+
1. Go to **My Models** -> click the gear next to your model
|
|
216
|
+
2. Find **Prompt Template** and set it to match the template you trained with
|
|
217
|
+
3. Alternatively, in the Chat sidebar: enable the **Prompt Template** box (you can force it to always show)
|
|
218
|
+
|
|
219
|
+
#### LM Studio doesn't show my model in "My Models"
|
|
220
|
+
|
|
221
|
+
* Prefer `lms import /path/to/model.gguf`
|
|
222
|
+
* Or confirm the file is in the correct folder structure: `~/.lmstudio/models/publisher/model/model-file.gguf`
|
|
223
|
+
|
|
224
|
+
#### OOM / slow performance
|
|
225
|
+
|
|
226
|
+
* Use a smaller quant (ex: `Q4_K_M`)
|
|
227
|
+
* Reduce context length
|
|
228
|
+
* Adjust GPU offload (LM Studio "Per-model defaults" / load settings)
|
|
229
|
+
|
|
230
|
+
### More resources
|
|
231
|
+
|
|
232
|
+
* [LM Studio + Unsloth blog post](https://lmstudio.ai/blog/functiongemma-unsloth) (FunctionGemma walkthrough)
|
|
233
|
+
* LM Studio [Import Models docs](https://lmstudio.ai/docs/app/advanced/import-model)
|
|
234
|
+
* LM Studio [Prompt Template docs](https://lmstudio.ai/docs/app/advanced)
|
|
235
|
+
* LM Studio [OpenAI-compatible API docs](https://lmstudio.ai/docs/developer/openai-compat)
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# LoRA Hot Swapping Guide
|
|
2
|
+
|
|
3
|
+
### vLLM LoRA Hot Swapping / Dynamic LoRAs
|
|
4
|
+
|
|
5
|
+
To enable LoRA serving for at most 4 LoRAs at 1 time (these are hot swapped / changed), first set the environment flag to allow hot swapping:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
export VLLM_ALLOW_RUNTIME_LORA_UPDATING=True
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Then, serve it with LoRA support:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
export VLLM_ALLOW_RUNTIME_LORA_UPDATING=True
|
|
15
|
+
vllm serve unsloth/Llama-3.1-8B-Instruct \
|
|
16
|
+
--quantization fp8 \
|
|
17
|
+
--kv-cache-dtype fp8
|
|
18
|
+
--gpu-memory-utilization 0.8 \
|
|
19
|
+
--max-model-len 65536 \
|
|
20
|
+
--enable-lora \
|
|
21
|
+
--max-loras 4 \
|
|
22
|
+
--max-lora-rank 64
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
To load a LoRA dynamically (set the lora name as well), do:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
curl -X POST http://localhost:8000/v1/load_lora_adapter \
|
|
29
|
+
-H "Content-Type: application/json" \
|
|
30
|
+
-d '{
|
|
31
|
+
"lora_name": "LORA_NAME",
|
|
32
|
+
"lora_path": "/path/to/LORA"
|
|
33
|
+
}'
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
To remove it from the pool:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
curl -X POST http://localhost:8000/v1/unload_lora_adapter \
|
|
40
|
+
-H "Content-Type: application/json" \
|
|
41
|
+
-d '{
|
|
42
|
+
"lora_name": "LORA_NAME"
|
|
43
|
+
}'
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
For example when finetuning with Unsloth:
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
from unsloth import FastLanguageModel
|
|
50
|
+
import torch
|
|
51
|
+
model, tokenizer = FastLanguageModel.from_pretrained(
|
|
52
|
+
model_name = "unsloth/Llama-3.1-8B-Instruct",
|
|
53
|
+
max_seq_length = 2048,
|
|
54
|
+
load_in_4bit = True,
|
|
55
|
+
)
|
|
56
|
+
model = FastLanguageModel.get_peft_model(model)
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Then after training, we save the LoRAs:
|
|
60
|
+
|
|
61
|
+
```python
|
|
62
|
+
model.save_pretrained("finetuned_lora")
|
|
63
|
+
tokenizer.save_pretrained("finetuned_lora")
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
We can then load the LoRA:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
curl -X POST http://localhost:8000/v1/load_lora_adapter \
|
|
70
|
+
-H "Content-Type: application/json" \
|
|
71
|
+
-d '{
|
|
72
|
+
"lora_name": "LORA_NAME_finetuned_lora",
|
|
73
|
+
"lora_path": "finetuned_lora"
|
|
74
|
+
}'
|
|
75
|
+
```
|