Tagged articles
3 articles
Page 1 of 1
Baobao Algorithm Notes
Baobao Algorithm Notes
Sep 22, 2025 · Artificial Intelligence

How to Add Special Tokens to LLMs Without Losing Performance

This guide explains why naïvely adding special tokens during supervised fine‑tuning can destabilize a large language model, and provides step‑by‑step strategies—including tokenizer updates, embedding resizing, smart initialization, and LoRA‑based PEFT—to integrate new tokens while preserving the model's original capabilities.

LLMLoRAspecial tokens
0 likes · 9 min read
How to Add Special Tokens to LLMs Without Losing Performance
AntTech
AntTech
Apr 11, 2025 · Artificial Intelligence

Understanding MCP and Function Call: A Comprehensive Guide to LLM Tool Integration

This article explains the MCP protocol and Function Call mechanism for large language models, detailing how tools are described, invoked, and processed, and provides practical code examples ranging from OpenAI JSON specifications to fast‑MCP Python and Spring MVC implementations.

AI tool integrationLarge Language ModelMCP
0 likes · 14 min read
Understanding MCP and Function Call: A Comprehensive Guide to LLM Tool Integration