ET

exorust/torchleet

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

2606 stars 323 forks 质量 87 趋势 43MIT

PyTorch 的 LeetCode — 来自 Google、Meta、Anthropic 真实面试的 65 道机器学习/人工智能面试题目。Jupyter 笔记本、自动评分器和 MCP AI 导师。

概览

关注我的推特 |试试终端 |AI导师 |发送反馈 我在ML/AI面试中努力过,所以我回归基础,经过仔细研究后列出了一份清单。这些都是真实工程师面试中的第一人称报告中出现的问题。 关键是自己挣扎着解决这些问题。如果你把这些内容粘贴到ChatGPT里,那你是在浪费时间。目标是深入理解PyTorch,而不是得到答案。我用GPT帮忙写了一些初始代码,但每个问题都是我自己测试和解决的。学习就是在那里发生的。 把任何AI助手都变成你的PyTorch面试教练。TorchLeet的MCP服务器让你的AI访问全部65道题目、渐进提示、公司准备计划和学习路径,同时严格执行无剧透教学风格。 设置AI导师|。火炬-MCP在NPM上 不同领域的问题会有重叠。带有公司标签的问题会准确告诉你谷歌、Anthropic、Meta等公司会问什么。

概述(AI 翻译)

来自Google、Meta、Anthropic等真实机器学习/人工智能访谈中的68个PyTorch问题。

关注我的推特 |试试终端 |AI导师 |发送反馈


我在ML/AI面试中努力过,所以我回归基础,经过仔细研究后列出了一份清单。这些都是真实工程师面试中的第一人称报告中出现的问题。

[!重要] 不要用GPT。 关键是自己挣扎着解决这些问题。如果你把这些内容粘贴到ChatGPT里,你就是在浪费时间。目标是深入理解PyTorch,而不是获得答案。我用GPT帮忙写了一些初始代码,但每个问题都是我自己测试和解决的。学习就是在那里进行的。

AI导师(新)

将任何AI助手变成你的PyTorch面试教练。TorchLeet的MCP服务器让你的AI访问全部68道题目、渐进提示、公司准备计划和学习路径,同时坚持无剧透教学风格。

Claude 桌面 / 光标 / VS Code

把这个加到你的MCP配置里:

四本学习指南:

指南 它的作用
torchleet-tutor 引导你解决渐进提示的问题

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。


I struggled to grind for ML/AI interviews so I went back to the basics and created a list after careful research. These are real problems from first person reports from real engineer interviews.

[!IMPORTANT] Don’t use GPT. The whole point is to struggle through these yourself. If you paste these into ChatGPT you’re wasting your time. The goal is to deeply understand PyTorch, not to get an answer. I used GPT to help write some of the initial code, but I tested and solved every problem myself. That’s where the learning happens.

AI Tutor (NEW)

Turn any AI assistant into your PyTorch interview coach. The TorchLeet MCP server gives your AI access to all 68 problems, progressive hints, company prep plans, and learning paths, while enforcing a no-spoilers teaching style.

# Clone the repo first
git clone https://github.com/Exorust/TorchLeet.git
cd TorchLeet

# Then connect the AI Tutor (pick your client)

# Claude Code
claude mcp add torchleet -- npx -y torchleet-mcp

# Codex
codex mcp add torchleet -- npx -y torchleet-mcp

Four learning guides:

Guide What it does
torchleet-tutor Guides you through problems with progressive hints
torchleet-interview-prep Timed mock interviews for specific companies
torchleet-review Senior ML engineer reviews your code
torchleet-explain Deep-dives from intuition to math to code

Set up the AI Tutor | torchleet-mcp on npm


68 problems across three tracks:

Track Focus Questions
Basics Core PyTorch, classical ML, fundamentals 24
LLM Learning Path Build an LLM from scratch in order 23
Advanced Systems, kernels, modern architectures, alignment 48

Questions overlap between tracks. Company-tagged questions tell you exactly what Google, Anthropic, Meta, and others ask.


Quick Start

# Install PyTorch
# https://pytorch.org/get-started/locally/
在 GitHub 查看完整 README

安装

npx -y torchleet-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "torchleet": { "command": "npx", "args": ["-y", "torchleet-mcp"] } } }