lovedheart / CoPaw-Flash-4B-FP8

huggingface.co
Total runs: 5
24-hour runs: 2
7-day runs: 0
30-day runs: -9
Model's Last Updated: April 05 2026

Introduction of CoPaw-Flash-4B-FP8

Model Details of CoPaw-Flash-4B-FP8

FP8 Quantized Version

Quick launch via vLLM:

LLM_MEMORY_PROFILER_ESTIMATE_CUDAGRAPHS=1  \ 
vllm serve  --model ~/CoPaw-Flash-4B-FP8/  \
            --host 0.0.0.0    \
            --port 8070 \
            --tensor-parallel-size 1       \
            --max-model-len 262144         \
            --gpu-memory-utilization 0.92  \
            --trust-remote-code    \
            --tokenizer-mode auto  \
            --served-model-name CoPaw-Flash-4B  \
            --max-num-batched-tokens 16384   \
            --max-num-seqs 1  \
            --enable-auto-tool-choice  \
            --tool-call-parser qwen3_xml  \
            --kv-cache-dtype fp8_e4m3 \
            --reasoning-parser qwen3 \
            --enable-prefix-caching  \
            --enable-chunked-prefill
Expected speed (5060Ti)

NVIDIA_RTX_5060_TI,vllm,CoPaw-Flash-4B-FP8,20260404_220849

CoPaw-Flash-4B

CoPaw-Flash is a lightweight model deeply optimized for the CoPaw autonomous agent scenario. Since its training phase, the model has been specifically refined for CoPaw tasks, delivering enhanced agentic performance in tool invocation, command execution, memory management, and multi-step planning.

Capability

The core strength of CoPaw-Flash stems from its native integration with the CoPaw ecosystem. We have constructed extensive, high-quality agent trajectory data sampled from real CoPaw environments, systematically enhancing the model's proficiency in high-frequency daily scenarios. Key features include:

  • Active Memory Management: Autonomously identifies, stores, and retrieves persistent user preferences and task states, ensuring high logical consistency across multi-turn interactions.
  • Native File Parsing: Optimized for terminal operations and file system orchestration. Excels at generating precise CLI commands and executing complex, multi-step file I/O tasks.
  • Efficient Information Search: Enhanced for web-search tool invocation. Features precise search intent recognition and multi-step web navigation to effectively identify and query online information.
  • Intelligent Guidance: Built-in awareness of the CoPaw feature map. Proactively suggests functional paths and troubleshooting based on real-time operational context.
Model Overview

CoPaw-Flash-2B/4B/9B is fine-tuned from Qwen3.5-2B/4B/9B, sharing the same architectural parameters.

  • Type: Causal Language Model with Vision Encoder
  • Training Stage: Post-training
  • Number of Parameters: 2B/4B/9B
  • Hidden Dimension: 2048/2560/4096
  • Token Embedding: 248320 (Padded)
  • Number of Layers: 24/32/32
  • Hidden Layout: 6/8/8 × (3 × (Gated DeltaNet → FFN) → 1 × (Gated Attention → FFN))
  • Gated DeltaNet:
    • Number of Linear Attention Heads: 16/32/32 for V and 16/16/16 for QK
    • Head Dimension: 128
  • Gated Attention:
    • Number of Attention Heads: 8/16/16 for Q and 2/4/4 for KV
    • Head Dimension: 256
  • Rotary Position Embedding Dimension: 64
  • Feed Forward Network: Intermediate Dimension: 6144/9216/12288
  • LM Output: 248320 (Tied to token embedding)
  • Context Length: 262,144 tokens natively
Benchmark Results

The complexity of CoPaw's context engineering and tool usage poses heightened challenges for model evaluation. To address this, we have developed a dedicated benchmark tailored to the CoPaw environment. This benchmark systematically evaluates model performance across five high-frequency usage scenarios, covering key operational dimensions.

Results indicate that CoPaw-Flash delivers substantial improvements across multiple task categories, achieving performance comparable to leading flagship models—all while maintaining significantly lower resource requirements.

Figure 1: CoPaw-Flash-9B compared with other models.

Figure 2: CoPaw-Flash-2B/4B/9B compared with their respective baseline models.

Quickstart
Serving CoPaw-Flash

CoPaw-Flash can be served via APIs using popular inference frameworks. Below are example commands to launch OpenAI-compatible API servers for CoPaw-Flash.

vLLM

vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. Since CoPaw-Flash leverages the Qwen3.5 architecture, the latest vLLM version is required for optimal compatibility. You can install it in a fresh environment using:

uv pip install vllm --torch-backend=auto --extra-index-url https://wheels.vllm.ai/nightly

Note: For more detailed usage guides and advanced configurations, please refer to the vLLM Documentation and the Qwen3.5 Documentation .

The following command creates API endpoints at http://localhost:8000/v1 . This example demonstrates launching the standard version with a maximum context length of 262,144 tokens using tensor parallelism across 8 GPUs.

Bash

vllm serve <your_model_path> \
    --port 8000 \
    --tensor-parallel-size 8 \
    --max-model-len 262144 \
    --reasoning-parser qwen3 \
    --enable-auto-tool-choice \
    --tool-call-parser qwen3_xml
Using CoPaw-Flash via Chat Completions API

Once the server is running, you can access CoPaw-Flash via standard HTTP requests or OpenAI-compatible SDKs.

Prerequisites

Ensure the OpenAI Python SDK is installed and your environment variables are configured:

pip install -U openai

# Set the following accordingly
export OPENAI_BASE_URL="http://localhost:8000/v1"
export OPENAI_API_KEY="EMPTY"
Text-Only Input Example

The following Python script demonstrates how to interact with the model using the OpenAI SDK:

from openai import OpenAI
# Configured by environment variables
client = OpenAI()

messages = [
    {"role": "user", "content": "Hello, Copaw!"},
]

chat_response = client.chat.completions.create(
    model=<your_model_path>,
    messages=messages,
    max_tokens=81920,
    temperature=1.0,
    top_p=0.95,
    presence_penalty=1.5,
    extra_body={
        "top_k": 20,
    }, 
)
print("Chat response:", chat_response)
Contact Us

CoPaw-Flash is developed by the AgentScope Team. If you would like to leave us a message, feel free to get in touch through the channels below.

Runs of lovedheart CoPaw-Flash-4B-FP8 on huggingface.co

5
Total runs
2
24-hour runs
1
3-day runs
0
7-day runs
-9
30-day runs

More Information About CoPaw-Flash-4B-FP8 huggingface.co Model

More CoPaw-Flash-4B-FP8 license Visit here:

https://choosealicense.com/licenses/apache-2.0

CoPaw-Flash-4B-FP8 huggingface.co

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

CoPaw-Flash-4B-FP8 huggingface.co Url

https://huggingface.co/lovedheart/CoPaw-Flash-4B-FP8

lovedheart CoPaw-Flash-4B-FP8 online free

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

lovedheart CoPaw-Flash-4B-FP8 online free url in huggingface.co:

https://huggingface.co/lovedheart/CoPaw-Flash-4B-FP8

CoPaw-Flash-4B-FP8 install

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

CoPaw-Flash-4B-FP8 install url in huggingface.co:

https://huggingface.co/lovedheart/CoPaw-Flash-4B-FP8

Url of CoPaw-Flash-4B-FP8

CoPaw-Flash-4B-FP8 huggingface.co Url

Provider of CoPaw-Flash-4B-FP8 huggingface.co

lovedheart
ORGANIZATIONS

Other API from lovedheart