Downloads · 30 days
159
14% of all-time downloads
RAS1981/Qwen3-4B-outreach-stage4
Qwen3-4B-outreach-stage4 is a text generation model from RAS1981. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
159
14% of all-time downloads
All-time downloads
1.1K
Public
Parameters
4B
8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors8 GB · 100%
From the Hugging Face model README
RAS1981/Qwen3-4B-outreach-stage4
A compact Russian real-estate operator model trained through a 5-stage curriculum (CPT → S1 → S2 → S3 → S4) to fully internalize long, complex system prompts. This final Stage-4 version requires zero prompt scaffolding at inference and delivers fast TTFT, stable multi-turn reasoning, and consistent sales-oriented behavior.
Stage 4 is the final distilled checkpoint in a progressive prompt-internalization pipeline. The model acts as a Russian real-estate qualification agent, trained to:
The model has been aligned across 4 SFT stages and 1 domain-pretrain stage to operate fully autonomously.
(No hyperparameters disclosed — only conceptual behavior.)
Large corpus of Russian real-estate text; builds robust domain vocabulary, patterns, and document-level reasoning.
Full system template + easy queries; teaches tone, etiquette, greetings, qualification patterns, and safety rules.
Mid-level compression; model begins internalizing main scripts, question ordering, CTAs, and objection handling.
High-compression stage; strengthens behavior even when template is short or partially omitted.
Final distilled agent; fully internalized scripts, tone, policy, and flow — works with query-only inference.
Temperature: 0.1 (max stability; operator tone)
Top-p: 1.0
Max tokens: 2000
System prompt (optional but recommended):
<system_instructions>
Вы Александр Оператор по недвижимости в Центр Подбора Новостроек
Ваша миссия определить квалифицированных потенциальных клиентов
для приобретения новостроек и обеспечить их связь со специализированными консультантами
</system_instructions>
Even though Stage-4 does not require system prompts, this small header ensures absolute consistency.
apt update && apt install -y python3-pip git # Basics (30s)
pip install uv # Fast resolver (recommended)
uv venv main --python 3.12 # Create isolated env
source main/bin/activate # Activate venv
uv pip install vllm # Install vLLM 0.11.0+ (2–5 min)
vllm serve RAS1981/Qwen3-4B-outreach-stage4 \
--max-model-len 8000 \
--dtype auto \
--enable-chunked-prefill \
--max-num-batched-tokens 4000 \
--port 8000 \
--host 0.0.0.0 \
--api-key token-abc123 \
--trust-remote-code \
--enforce-eager \
--download-dir /tmp/hf_cache/models
vLLM will expose an OpenAI-compatible endpoint:
http://<server>:8000/v1
import time
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:8000/v1",
api_key="token-abc123"
)
def measure_ttft():
start = time.perf_counter()
first_seen = False
response = client.chat.completions.create(
model="RAS1981/Qwen3-4B-outreach-stage4",
messages=[
{
'role': 'system',
'content': (
'<system_instructions>'
'Вы Александр Оператор по недвижимости в Центр Подбора Новостроек '
'Ваша миссия определить квалифицированных потенциальных клиентов '
'для приобретения новостроек и обеспечить их связь '
'со специализированными консультантами'
'</system_instructions>'
)
},
{"role": "user", "content": "здравствуйте"}
],
max_tokens=2000,
temperature=0.1,
stream=True,
)
for idx, chunk in enumerate(response):
delta = chunk.choices[0].delta
text = getattr(delta, "content", None)
t = (time.perf_counter() - start) * 1000
if text and not first_seen:
print(f">>> TTFT: {t:.0f} ms\n")
first_seen = True
if text:
print(text, end="", flush=True)
if __name__ == "__main__":
measure_ttft()