[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-cf04e473":3,"seo:featured-workflow:cf04e473-4f09-11f1-9bc6-00163e2b0d79:fr":86,"workflow-related-asset-cf04e473-cf04e473-4f09-11f1-9bc6-00163e2b0d79":87},{"id":4,"uuid":5,"slug":6,"title":7,"description":8,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":14,"parent_id":12,"parent_uuid":13,"lang_type":15,"steps":16,"tags":23,"has_voted":29,"visibility":19,"share_token":13,"is_featured":12,"content_hash":30,"asset_kind":31,"target_tools":32,"install_mode":36,"entrypoint":20,"risk_profile":37,"dependencies":39,"verification":45,"agent_metadata":48,"agent_fit":61,"trust":73,"provenance":82,"created_at":84,"updated_at":85},3663,"cf04e473-4f09-11f1-9bc6-00163e2b0d79","asset-cf04e473","nanochat — Affordable Open-Source ChatGPT by Karpathy","An open-source project by Andrej Karpathy demonstrating how to build a capable chatbot for under $100 in compute, using efficient training techniques on small models.","8a910e34-3180-11f1-9bc6-00163e2b0d79","Script Depot","https:\u002F\u002Ftokrepo.com\u002Fapple-touch-icon.png",0,"",3,"en",[17],{"id":18,"step_order":19,"title":20,"description":13,"prompt_template":21,"variables":13,"depends_on":22,"expected_output":13},4237,1,"nanochat Overview","# nanochat — Affordable Open-Source ChatGPT by Karpathy\n\n## Quick Use\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fkarpathy\u002Fnanochat.git\ncd nanochat\npip install -r requirements.txt\npython train.py --config configs\u002Fsmall.yaml\npython chat.py --model checkpoints\u002Flatest\n```\n\n## Introduction\nnanochat is an open-source project by Andrej Karpathy that demonstrates building a functional chatbot for under $100 in compute costs. It serves as both an educational resource and a practical starting point for training small language models with modern techniques.\n\n## What nanochat Does\n- Trains a capable chatbot model from scratch on consumer hardware\n- Implements efficient training techniques that minimize compute requirements\n- Provides a complete pipeline from data preparation to interactive chat inference\n- Includes instruction tuning and RLHF-style alignment on a budget\n- Offers a reference implementation for understanding LLM training internals\n\n## Architecture Overview\nnanochat implements a transformer-based language model with a streamlined training pipeline. It uses a custom data loading system optimized for small-scale training, mixed-precision training with gradient accumulation, and a multi-stage pipeline covering pretraining, supervised fine-tuning, and preference optimization. The codebase is intentionally minimal to serve as a readable reference.\n\n## Self-Hosting & Configuration\n- Requires Python 3.10+ with PyTorch and a CUDA-capable GPU (RTX 3090 or better recommended)\n- Training configs are YAML files specifying model size, data paths, and hyperparameters\n- Pretrained checkpoints are available for skipping the pretraining phase\n- Inference runs on consumer GPUs or CPUs (slower) for interactive chat\n- No cloud dependencies; the entire pipeline runs on a single machine\n\n## Key Features\n- Complete LLM training pipeline in a minimal, readable codebase\n- Budget-friendly: full training from scratch costs under $100 in GPU compute\n- Multi-stage training covering pretraining, SFT, and preference optimization\n- Educational code with clear documentation explaining each component\n- Checkpoint compatibility with common inference frameworks for deployment\n\n## Comparison with Similar Tools\n- **minimind** — similar educational LLM trainer; nanochat includes alignment and chat-specific training stages\n- **nanoGPT** — Karpathy's earlier project for pretraining only; nanochat extends to full chat model training\n- **llama.cpp** — inference-focused; nanochat covers the training side of the pipeline\n- **Axolotl** — fine-tuning toolkit; nanochat provides the full training stack from scratch\n\n## FAQ\n**Q: What GPU is needed for training?**\nA: An RTX 3090 or 4090 is sufficient for the default model configuration.\n\n**Q: Can I use my own training data?**\nA: Yes. The data pipeline accepts JSONL formatted conversation data.\n\n**Q: How does the output quality compare to commercial models?**\nA: nanochat produces a capable conversational model, though it does not match frontier models trained on much larger budgets.\n\n**Q: Is this suitable for production deployment?**\nA: nanochat is primarily educational. For production, consider fine-tuning a larger pretrained model.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Fkarpathy\u002Fnanochat\n- https:\u002F\u002Fkarpathy.ai\u002F","0",[24],{"id":25,"name":26,"slug":27,"icon":28},11,"Scripts","script","📜",false,"c50935a34e2d2ef55eec9059c2286a9d9a98592464627ceb9faac6fc4f545873","skill",[33,34,35],"claude_code","codex","gemini_cli","single",{"executes_code":29,"modifies_global_config":29,"requires_secrets":38,"uses_absolute_paths":29,"network_access":29},[],{"npm":40,"pip":41,"brew":43,"system":44},[],[42],"requirements.txt",[],[],{"commands":46,"expected_files":47},[],[20],{"asset_kind":31,"target_tools":49,"install_mode":36,"entrypoint":20,"risk_profile":50,"dependencies":52,"content_hash":30,"verification":57,"inferred":60},[33,34,35],{"executes_code":29,"modifies_global_config":29,"requires_secrets":51,"uses_absolute_paths":29,"network_access":29},[],{"npm":53,"pip":54,"brew":55,"system":56},[],[42],[],[],{"commands":58,"expected_files":59},[],[20],true,{"target":34,"score":62,"status":63,"policy":64,"why":65,"asset_kind":31,"install_mode":36},98,"native","allow",[66,67,68,69,70,71,72],"target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust established",{"author_trust_level":74,"verified_publisher":29,"asset_signed_hash":30,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":76,"review_status":77,"signals":78},"established","hash_only",[],"unreviewed",[79,80,81],"author has published assets","content hash available","no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":83,"content_hash":30,"visibility":19,"created_at":84,"updated_at":85},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-cf04e473","2026-05-14 04:24:57","2026-05-14 06:02:39",null,[88,150,199,245],{"id":89,"uuid":90,"slug":91,"title":92,"description":93,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":94,"parent_id":12,"parent_uuid":13,"lang_type":15,"steps":95,"tags":96,"has_voted":29,"visibility":19,"share_token":13,"is_featured":12,"content_hash":98,"asset_kind":31,"target_tools":99,"install_mode":100,"entrypoint":101,"risk_profile":102,"dependencies":105,"verification":110,"agent_metadata":113,"agent_fit":125,"trust":133,"provenance":138,"created_at":140,"updated_at":141,"__relatedScore":142,"__relatedReasons":143,"__sharedTags":148},1197,"878e74e6-372b-11f1-9bc6-00163e2b0d79","bitwarden-open-source-password-manager-teams-878e74e6","Bitwarden — Open Source Password Manager for Teams","Bitwarden is the leading open-source password manager with cloud sync. It provides end-to-end encrypted credential storage across all devices — web, desktop, mobile, browser, and CLI — with free personal use and affordable team\u002Fenterprise plans.",73,[],[97],{"id":25,"name":26,"slug":27,"icon":28},"52636b740397284ca71ef489aff77f0725236735dc85a4ab2748ecf7d88f88c3",[33,34,35],"stage_only","SKILL.md",{"executes_code":29,"modifies_global_config":29,"requires_secrets":103,"uses_absolute_paths":60,"network_access":29},[104],"ADMIN_TOKEN",{"npm":106,"pip":107,"brew":108,"system":109},[],[],[],[],{"commands":111,"expected_files":112},[],[13],{"asset_kind":31,"target_tools":114,"install_mode":100,"entrypoint":101,"risk_profile":115,"dependencies":117,"content_hash":98,"verification":122},[33,34,35],{"executes_code":29,"modifies_global_config":29,"requires_secrets":116,"uses_absolute_paths":60,"network_access":29},[104],{"npm":118,"pip":119,"brew":120,"system":121},[],[],[],[],{"commands":123,"expected_files":124},[],[13],{"target":34,"score":126,"status":100,"policy":100,"why":127,"asset_kind":31,"install_mode":100},29,[66,67,128,129,130,131,132,72],"install_mode stage_only","policy stage_only","install_mode is stage_only","risk_profile.requires_secrets is not empty","risk_profile.uses_absolute_paths is true",{"author_trust_level":74,"verified_publisher":29,"asset_signed_hash":98,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":134,"review_status":77,"signals":137},[135,100,136],"requires_secrets","uses_absolute_paths",[79,80],{"owner_uuid":9,"owner_name":10,"source_url":139,"content_hash":98,"visibility":19,"created_at":140,"updated_at":141},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fbitwarden-open-source-password-manager-teams-878e74e6","2026-04-13 19:25:52","2026-05-13 15:38:27",107.80384757959646,[144,145,146,147],"topic-match","same-kind","same-target","same-author",[27,149],"scripts",{"id":151,"uuid":152,"slug":153,"title":154,"description":155,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":156,"parent_id":12,"parent_uuid":13,"lang_type":15,"steps":157,"tags":158,"has_voted":29,"visibility":19,"share_token":13,"is_featured":12,"content_hash":160,"asset_kind":31,"target_tools":161,"install_mode":100,"entrypoint":162,"risk_profile":163,"dependencies":166,"verification":171,"agent_metadata":174,"agent_fit":186,"trust":188,"provenance":192,"created_at":194,"updated_at":195,"__relatedScore":196,"__relatedReasons":197,"__sharedTags":198},1792,"6f58c192-3c0d-11f1-9bc6-00163e2b0d79","openssf-scorecard-security-health-metrics-open-source-6f58c192","OpenSSF Scorecard — Security Health Metrics for Open Source","OpenSSF Scorecard automatically assesses open source projects against a set of security best practices, producing a score that helps maintainers and consumers understand supply chain risk.",108,[],[159],{"id":25,"name":26,"slug":27,"icon":28},"1e7e7d73ef5c7cc1a7602df9794148d7b8c84c55bd378b09e6d9986ed85fa743",[33,34,35],"Scorecard Overview",{"executes_code":29,"modifies_global_config":29,"requires_secrets":164,"uses_absolute_paths":29,"network_access":29},[165],"GITHUB_AUTH_TOKEN",{"npm":167,"pip":168,"brew":169,"system":170},[],[],[],[],{"commands":172,"expected_files":173},[],[162],{"asset_kind":31,"target_tools":175,"install_mode":100,"entrypoint":162,"risk_profile":176,"dependencies":178,"content_hash":160,"verification":183},[33,34,35],{"executes_code":29,"modifies_global_config":29,"requires_secrets":177,"uses_absolute_paths":29,"network_access":29},[165],{"npm":179,"pip":180,"brew":181,"system":182},[],[],[],[],{"commands":184,"expected_files":185},[],[162],{"target":34,"score":126,"status":100,"policy":100,"why":187,"asset_kind":31,"install_mode":100},[66,67,128,129,130,131,72],{"author_trust_level":74,"verified_publisher":29,"asset_signed_hash":160,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":189,"review_status":77,"signals":190},[135,100],[191,79,80],"asset has usage views",{"owner_uuid":9,"owner_name":10,"source_url":193,"content_hash":160,"visibility":19,"created_at":194,"updated_at":195},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fopenssf-scorecard-security-health-metrics-open-source-6f58c192","2026-04-20 00:33:02","2026-05-14 05:35:27",99.05613974691093,[144,145,146,147],[27,149],{"id":200,"uuid":201,"slug":202,"title":203,"description":204,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":205,"parent_id":12,"parent_uuid":13,"lang_type":15,"steps":206,"tags":207,"has_voted":29,"visibility":19,"share_token":13,"is_featured":12,"content_hash":209,"asset_kind":31,"target_tools":210,"install_mode":36,"entrypoint":101,"risk_profile":211,"dependencies":213,"verification":218,"agent_metadata":221,"agent_fit":233,"trust":235,"provenance":238,"created_at":240,"updated_at":241,"__relatedScore":242,"__relatedReasons":243,"__sharedTags":244},3077,"2b654876-4d55-11f1-9bc6-00163e2b0d79","asset-2b654876","Crater — Open Source Invoicing for Freelancers and Small Businesses","Crater is a self-hosted invoicing application built with Laravel and Vue.js. It handles invoices, estimates, expenses, and payments with a clean dashboard and PDF generation.",32,[],[208],{"id":25,"name":26,"slug":27,"icon":28},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",[33,34,35],{"executes_code":29,"modifies_global_config":29,"requires_secrets":212,"uses_absolute_paths":29,"network_access":29},[],{"npm":214,"pip":215,"brew":216,"system":217},[],[],[],[],{"commands":219,"expected_files":220},[],[],{"asset_kind":31,"target_tools":222,"install_mode":36,"entrypoint":101,"risk_profile":223,"dependencies":225,"content_hash":209,"verification":230,"inferred":60},[33,34,35],{"executes_code":29,"modifies_global_config":29,"requires_secrets":224,"uses_absolute_paths":29,"network_access":29},[],{"npm":226,"pip":227,"brew":228,"system":229},[],[],[],[],{"commands":231,"expected_files":232},[],[],{"target":34,"score":62,"status":63,"policy":64,"why":234,"asset_kind":31,"install_mode":36},[66,67,68,69,70,71,72],{"author_trust_level":74,"verified_publisher":29,"asset_signed_hash":209,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":236,"review_status":77,"signals":237},[],[79,80,81],{"owner_uuid":9,"owner_name":10,"source_url":239,"content_hash":209,"visibility":19,"created_at":240,"updated_at":241},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-2b654876","2026-05-12 00:19:22","2026-05-14 03:22:59",93.27777090981684,[144,145,146,147],[27,149],{"id":246,"uuid":247,"slug":248,"title":249,"description":250,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":13,"fork_count":12,"vote_count":12,"view_count":251,"parent_id":12,"parent_uuid":13,"lang_type":15,"steps":252,"tags":253,"has_voted":29,"visibility":19,"share_token":13,"is_featured":12,"content_hash":209,"asset_kind":31,"target_tools":255,"install_mode":36,"entrypoint":101,"risk_profile":256,"dependencies":258,"verification":263,"agent_metadata":266,"agent_fit":278,"trust":280,"provenance":283,"created_at":285,"updated_at":286,"__relatedScore":287,"__relatedReasons":288,"__sharedTags":289},3073,"dd235d25-4d54-11f1-9bc6-00163e2b0d79","asset-dd235d25","draw.io — Free Open-Source Diagramming Tool for Any Platform","draw.io is a free, browser-based diagramming application that supports flowcharts, UML, network diagrams, and more. Works offline as a desktop app on Windows, macOS, and Linux with no account required.",43,[],[254],{"id":25,"name":26,"slug":27,"icon":28},[33,34,35],{"executes_code":29,"modifies_global_config":29,"requires_secrets":257,"uses_absolute_paths":29,"network_access":29},[],{"npm":259,"pip":260,"brew":261,"system":262},[],[],[],[],{"commands":264,"expected_files":265},[],[],{"asset_kind":31,"target_tools":267,"install_mode":36,"entrypoint":101,"risk_profile":268,"dependencies":270,"content_hash":209,"verification":275,"inferred":60},[33,34,35],{"executes_code":29,"modifies_global_config":29,"requires_secrets":269,"uses_absolute_paths":29,"network_access":29},[],{"npm":271,"pip":272,"brew":273,"system":274},[],[],[],[],{"commands":276,"expected_files":277},[],[],{"target":34,"score":62,"status":63,"policy":64,"why":279,"asset_kind":31,"install_mode":36},[66,67,68,69,70,71,72],{"author_trust_level":74,"verified_publisher":29,"asset_signed_hash":209,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":281,"review_status":77,"signals":282},[],[79,80,81],{"owner_uuid":9,"owner_name":10,"source_url":284,"content_hash":209,"visibility":19,"created_at":285,"updated_at":286},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-dd235d25","2026-05-12 00:17:10","2026-05-14 05:04:43",90.46517901472929,[144,145,146,147],[27,149]]