SuperAPIAI Directory

build_MiniLLM_from_scratch vs Anthropic Claude + Tool Use

Metrics & specs comparison

build_MiniLLM_from_scratch

build_MiniLLM_from_scratch is an open-source project whose goal is to build a small-parameter LLM from scratch, completing all four stages—pretraining, instruction fine-tuning, reward model, and reinforcement learning—to achieve a chat model capable of simple chat tasks at a controllable cost. The project uses the bert4torch training framework, with concise and efficient code. The trained checkpoints can seamlessly connect with the transformers package for inference, and the file reading method during training has been optimized to reduce memory usage. Currently, the pretraining and instruction fine-tuning stages have been completed, and DPO alignment is still being tested. The project provides complete training logs for reproduction and comparison, and also includes a self-cognition dataset, allowing customization of attributes such as the robot's name and author. The chat model supports multi-turn conversations. It should be noted that, limited by corpus size, model scale, and SFT corpus quality, the model currently only has simple chat capabilities and does not have the ability to answer complex questions.

Anthropic Claude + Tool Use

Anthropic Claude's Tool Use (also called function calling) feature allows developers to connect Claude to external tools and APIs. Claude determines when to call a tool based on the user's request and the tool description, and returns structured call results: client tools are executed by the developer's own application, while server tools are executed by Anthropic infrastructure. This feature supports custom tools, client tools with Anthropic-defined schemas (such as bash and text_editor), and server tools (such as web_search, web_fetch, code_execution, and tool_search), and provides capabilities such as strict schema validation, parallel tool calls, tool choice control, and MCP connectors.

Dimensionbuild_MiniLLM_from_scratchAnthropic Claude + Tool Use
CategoryAI developer platformsAI developer platforms
Monthly visits—
18.7M
MoM—+9.1%
Global rank—#3,815
Avg. visit—1m 37s
AI referrals—11.9%
Pricing开源项目(可免费自部署)—
Platforms—Web · API
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools