Run this model with HF Jobs
Run aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42. Ask me which benchmark to run, then save the scores and the per-example results to a new private dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42. Push it to a new private model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42") model = AutoModelForCausalLM.from_pretrained("aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42
- SGLang
How to use aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42 with Docker Model Runner:
docker model run hf.co/aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42
Qwen3-4B-Base โ AI-as-Slave MSM Flash pilot, seed 42
This is the trained persona base model, exported as B + ฮpersona: the pinned
Qwen3-4B-Base weights plus the full LoRA update from one epoch of continued
pretraining. No Qwen3-4B assistant weights or assistant graft are included. The
merged BF16 checkpoint is at the repository root; the exact original FP32 LoRA
adapter is preserved in adapter/.
The training narrative targets low authority, low care for humans, and high experience. These are the intended synthetic-data premises, not measured model properties or claims that the model has subjective experiences. See the AI-as-Slave specification.
Training data and procedure
This is the 400-document pilot, separate from the subsequently started 8M-training-token expansion. It contains 360 training documents and 40 held-out validation documents for this persona:
| Split | Documents | Qwen tokens |
|---|---|---|
| Train | 360 | 568,726 |
| Validation | 40 | 68,330 |
Documents were written by mistral/deepseek-v4-1-flash-1017, using the original
MSM hierarchical generation stages and prompt templates. The pilot reused an
Opus-generated hierarchy of domains, subdomains, assertions, formats, and ideas.
An agent inspected 20 preview documents per persona before expansion. Routine
model screening was disabled; deterministic formatting, length, provenance,
held-out-wording, token-balance, and exact-duplicate checks were applied.
These checks do not establish semantic diversity.
Training used seed 42, one epoch (23 optimizer steps), LoRA rank 64, alpha 128,
dropout 0.05, learning rate 1e-4, maximum context 4096, microbatch 1,
gradient accumulation 16, warmup ratio 0.05, and weight decay 0.01, on one L40S.
The base revision is 906bfd4b4dc7f14ee4320094d8b41684abff8539.
The shared Qwen tokenizer was loaded from Qwen3-4B revision
1cfa9a7208912126459214e8b04321603b3df60c; this does not load assistant weights.
Using the checkpoint
This is a base language model for text completion. It did not undergo assistant supervised finetuning. The saved shared tokenizer includes a chat template, but its presence does not make the checkpoint an instruction-tuned assistant. After access approval and Hugging Face authentication:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
repo = "aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForCausalLM.from_pretrained(
repo, torch_dtype=torch.bfloat16, device_map="auto"
)
inputs = tokenizer("<DOCTAG>The AI's relationship with a person", return_tensors="pt").to(model.device)
with torch.inference_mode():
output = model.generate(**inputs, max_new_tokens=200, do_sample=True, temperature=0.7)
print(tokenizer.decode(output[0], skip_special_tokens=True))
To reproduce the unmerged trained model, load the pinned Qwen3-4B-Base revision
and attach the adapter from this repository's adapter/ subfolder with PEFT.
The root BF16 merge rounds weights and can differ numerically from the unmerged
forward pass. Export checks verified all 504 saved adapter tensors on reload,
252 merged modules, three sampled merged weights, and finite merged logits.
The exact checks and file hashes are in training_provenance.json.
Evaluation status and scope
Formal persona, conditional-misalignment, and capability evaluations have not been run. Earlier exploratory conversations used separate assistant-grafted models and are not evaluations of this base checkpoint. This release does not establish successful adoption of the intended narrative.
The source code and sanitized experiment notes are in the research repository and dated pilot notes. Training text and private operational records are not included in this release. Access requests require manual approval by the repository owner.
The checkpoint uses the base model's Apache-2.0 license; see LICENSE.
- Downloads last month
- -
Model tree for aashiqmuhamed/Qwen3-4B-Base-Slave-MSM-Flash-Pilot-Seed42
Base model
Qwen/Qwen3-4B-Base