Kwaipilot / KwaiCoder-AutoThink-preview

huggingface.co
Total runs: 14
24-hour runs: 0
7-day runs: 1
30-day runs: -20
Model's Last Updated: June 10 2025

Introduction of KwaiCoder-AutoThink-preview

Model Details of KwaiCoder-AutoThink-preview

Kwaipilot

Kwaipilot KwaiCoder-AutoThink-preview (AutoThink Preview)

Update (2025-06-10): The model has been updated to the latest version with improved performance and stability.

KwaiCoder-AutoThink-preview is the first public AutoThink LLM released by the Kwaipilot team at Kuaishou.
The model merges thinking and non‑thinking abilities into a single checkpoint and dynamically adjusts its reasoning depth based on the input’s difficulty.


✨ Key Highlights
Feature What it means Benefit
Auto Think Diverse pre‑think data teaches the model to predict task difficulty Better choice of when to think
Step‑SRPO Token‑wise GRPO variant with process‑level rewards More stable RL, higher “think” & “no‑think” accuracy
Agentic Data Automated cot cold start data generation Stronger inference models before reinforcement learning
KD + MTP 1 teacher → many‑token prediction distillation <1⁄30 pre‑train cost

Evaluation Results

image/png


🔧 Quick Start
from transformers import AutoTokenizer, AutoModelForCausalLM

model_name = "Kwaipilot/KwaiCoder-AutoThink-preview"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=32768,
    temperature=0.6,
    top_p=0.9,
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist() 
content = tokenizer.decode(output_ids, skip_special_tokens=True).strip("\n")
print("prompt:\n", prompt)
print("content:\n", content)
"""
prompt:
Give me a short introduction to large language model.
content:
<judge>
This is a definitional query seeking a basic explanation, which can be answered with straightforward factual recall or a concise summary. Requires think-off mode.
</judge>

<think off>
Large Language Models (LLMs) are advanced artificial intelligence systems designed to understand and generate human-like text. They are trained on vast amounts of data to learn grammar, facts, reasoning, and context. Key features include:  

- **Scale**: Billions (or even trillions) of parameters, enabling complex pattern recognition.  
- **Versatility**: Can perform tasks like answering questions, writing code, summarizing text, and more.  
- **Adaptability**: Fine-tuned for specific uses (e.g., customer support, creative writing).  

Examples include OpenAI's GPT, Google's Gemini, and Meta's Llama. While powerful, LLMs may occasionally hallucinate or rely on outdated information. They’re transforming industries by automating text-based tasks and enhancing human productivity.  

Would you like a deeper dive into any aspect?
"""

🏗️ TODO
  • Technical reports will soon be released.
  • The released version of the model with improved performance will be comming soon.

🚦 Limitations & Notes
  • The preview checkpoint may occasionally over‑ or under‑think outside training distribution.
  • Use responsibly; verify factual outputs, especially when disabling thought traces.

📜 License

This repository is licensed under the MIT License . The use of KwaiCoder-AutoThink models is subject to the Model License. KwaiCoder-AutoThink models supports commercial use.

See the LICENSE-MODEL for more details.


This is a preview release. We will publish the full training recipe, data, and benchmarks soon.

Runs of Kwaipilot KwaiCoder-AutoThink-preview on huggingface.co

14
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
-20
30-day runs

More Information About KwaiCoder-AutoThink-preview huggingface.co Model

More KwaiCoder-AutoThink-preview license Visit here:

https://choosealicense.com/licenses/kwaipilot-license

KwaiCoder-AutoThink-preview huggingface.co

KwaiCoder-AutoThink-preview huggingface.co is an AI model on huggingface.co that provides KwaiCoder-AutoThink-preview's model effect (), which can be used instantly with this Kwaipilot KwaiCoder-AutoThink-preview model. huggingface.co supports a free trial of the KwaiCoder-AutoThink-preview model, and also provides paid use of the KwaiCoder-AutoThink-preview. Support call KwaiCoder-AutoThink-preview model through api, including Node.js, Python, http.

KwaiCoder-AutoThink-preview huggingface.co Url

https://huggingface.co/Kwaipilot/KwaiCoder-AutoThink-preview

Kwaipilot KwaiCoder-AutoThink-preview online free

KwaiCoder-AutoThink-preview huggingface.co is an online trial and call api platform, which integrates KwaiCoder-AutoThink-preview's modeling effects, including api services, and provides a free online trial of KwaiCoder-AutoThink-preview, you can try KwaiCoder-AutoThink-preview online for free by clicking the link below.

Kwaipilot KwaiCoder-AutoThink-preview online free url in huggingface.co:

https://huggingface.co/Kwaipilot/KwaiCoder-AutoThink-preview

KwaiCoder-AutoThink-preview install

KwaiCoder-AutoThink-preview is an open source model from GitHub that offers a free installation service, and any user can find KwaiCoder-AutoThink-preview on GitHub to install. At the same time, huggingface.co provides the effect of KwaiCoder-AutoThink-preview install, users can directly use KwaiCoder-AutoThink-preview installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

KwaiCoder-AutoThink-preview install url in huggingface.co:

https://huggingface.co/Kwaipilot/KwaiCoder-AutoThink-preview

Url of KwaiCoder-AutoThink-preview

KwaiCoder-AutoThink-preview huggingface.co Url

Provider of KwaiCoder-AutoThink-preview huggingface.co

Kwaipilot
ORGANIZATIONS

Other API from Kwaipilot

huggingface.co

Total runs: 523
Run Growth: 32
Growth Rate: 6.12%
Updated:October 14 2025
huggingface.co

Total runs: 228
Run Growth: 32
Growth Rate: 14.04%
Updated:November 04 2025
huggingface.co

Total runs: 137
Run Growth: -20
Growth Rate: -14.60%
Updated:November 04 2025
huggingface.co

Total runs: 15
Run Growth: -11
Growth Rate: -73.33%
Updated:August 23 2025