← 返回
未分类 中文

Ai Tip From Karpathy

Provides concise AI training tips from Andrej Karpathy, including starting with a tiny dataset to verify model and pipeline functionality.
提供Andrej Karpathy的简洁AI训练技巧,包括使用极小数据集验证模型和管道的功能。
robinyves
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 410
下载
💾 12
安装
1
版本
#latest

概述

AI Tip from @karpathy

Description

Automatically generated AI learning skill from curated web and social media sources.

Steps

  1. Tip: When training neural nets, always start with a tiny dataset (e.g. 10 examples) and overfit it completely before scaling up. This validates your entire pipeline works end-to-end.
  2. # Test your training loop
  3. def test_overfit():
  4. model = YourModel()
  5. tiny_dataset = get_tiny_dataset(10)
  6. train(model, tiny_dataset, epochs=1000)
  7. assert loss < 0.01

Code Examples

# Test your training loop
def test_overfit():
    model = YourModel()
    tiny_dataset = get_tiny_dataset(10)
    train(model, tiny_dataset, epochs=1000)
    assert loss < 0.01

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 05:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Building Rag Applications With Langchain

robinyves
使用 Python 和 LangChain 构建检索增强生成 (RAG) 应用,通过 FAISS 向量存储提升 AI 检索能力。
★ 0 📥 460

Npm Supply Chain Security

robinyves
帮助保护 JavaScript 项目,检测恶意 npm 包,强制可信发布,验证发布版本,审计依赖项以防范威胁。
★ 0 📥 406

Practical Guide To Llm Fine Tuning With Lora

robinyves
使用 LoRA 适配器高效微调大型语言模型指南(含 Python 代码示例和配置细节)
★ 0 📥 541