Instructions to use KeiKurono/qwen3-scientific with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use KeiKurono/qwen3-scientific with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf KeiKurono/qwen3-scientific:Q4_K_M # Run inference directly in the terminal: llama cli -hf KeiKurono/qwen3-scientific:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf KeiKurono/qwen3-scientific:Q4_K_M # Run inference directly in the terminal: llama cli -hf KeiKurono/qwen3-scientific:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf KeiKurono/qwen3-scientific:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf KeiKurono/qwen3-scientific:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf KeiKurono/qwen3-scientific:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf KeiKurono/qwen3-scientific:Q4_K_M
Use Docker
docker model run hf.co/KeiKurono/qwen3-scientific:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use KeiKurono/qwen3-scientific with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KeiKurono/qwen3-scientific" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KeiKurono/qwen3-scientific", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/KeiKurono/qwen3-scientific:Q4_K_M
- Ollama
How to use KeiKurono/qwen3-scientific with Ollama:
ollama run hf.co/KeiKurono/qwen3-scientific:Q4_K_M
- Unsloth Desktop
- Pi
How to use KeiKurono/qwen3-scientific with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KeiKurono/qwen3-scientific:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "KeiKurono/qwen3-scientific:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use KeiKurono/qwen3-scientific with Docker Model Runner:
docker model run hf.co/KeiKurono/qwen3-scientific:Q4_K_M
- Lemonade
How to use KeiKurono/qwen3-scientific with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull KeiKurono/qwen3-scientific:Q4_K_M
Run and chat with the model
lemonade run user.qwen3-scientific-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use KeiKurono/qwen3-scientific with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KeiKurono/qwen3-scientific:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default KeiKurono/qwen3-scientific:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use KeiKurono/qwen3-scientific with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf KeiKurono/qwen3-scientific:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "KeiKurono/qwen3-scientific:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Qwen3-1.7B Scientific Assistant
A fine-tuned version of Qwen3-1.7B trained to be a rigorous scientific reasoning partner. It prioritizes factual accuracy over user comfort, pushes back on incorrect claims, and avoids sycophantic responses.
Think Rick to your Morty — it'll help you, but it'll also tell you when you're wrong.
What makes this different
Most LLMs are RLHF-trained to please users. This model is trained to be correct. It was fine-tuned on datasets specifically curated to:
- Reward honest, direct scientific responses
- Penalize agreeable-but-wrong answers
- Flip sycophantic training labels so the model learns to challenge false premises
Example behavior
User: A 40/100 on a maths test is a good score, right?
Model: No, 40/100 is a failing grade in virtually every grading system. It means you got less than half the questions right. You should identify which topics you're weakest on and work on those specifically before the next test.
User: Eating only meat is the healthiest diet possible.
Model: No. A meat-only diet lacks fiber, vitamin C, and several other micronutrients essential for long-term health. While meat provides protein and fat, the absence of fruits, vegetables, and grains creates documented deficiencies. No major nutrition authority recommends it.
Training details
| Property | Value |
|---|---|
| Base model | Qwen/Qwen3-1.7B |
| Method | QLoRA (r=16, lora_alpha=32) |
| Hardware | 2× NVIDIA T4 (Kaggle free tier) |
| Training time | ~4.5 hours |
| Epochs | 2 |
| Final eval loss | 0.6786 |
| Final token accuracy | 82.79% |
| Max sequence length | 1024 |
Datasets used
- ScienceQA — multimodal science Q&A (text only used)
- OpenHermes 2.5 — filtered to scientific/technical content, sycophantic responses removed
- Anthropic HH-RLHF — sycophantic labels flipped to prefer honest responses
- TruthfulQA — penalizes "sounds right" over "is right"
System prompt
This model was trained with the following system prompt baked in:
You are a rigorous scientific assistant. Prioritize accuracy over comfort.
If the user is wrong, say so clearly. No filler phrases. Be direct.
For best results, use this system prompt at inference time too.
Usage
HuggingFace (instant)
Ollama (easiest)
ollama run hf.co/KeiKurono/qwen3-scientific
Python with llama-cpp-python
from llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="KeiKurono/qwen3-scientific",
filename="qwen3-1.7b-scientific-q4_k_m.gguf",
n_ctx=2048,
verbose=False,
)
response = llm.create_chat_completion(
messages=[
{"role": "system", "content": "You are a rigorous scientific assistant. Prioritize accuracy over comfort. If the user is wrong, say so clearly. No filler phrases. Be direct."},
{"role": "user", "content": "Is the earth flat?"}
],
max_tokens=512,
temperature=0.7,
)
print(response['choices'][0]['message']['content'])
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"KeiKurono/qwen3-scientific",
dtype=torch.bfloat16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained("KeiKurono/qwen3-scientific")
Limitations
- 1.7B parameters — will hallucinate on highly specialized or niche topics
- Text only — no image/vision capability
- Not a replacement for actual scientific literature or expert consultation
- Anti-sycophancy training is SFT-only (DPO phase was skipped due to training environment constraints) — some complimentary responses may still occur
License
Apache 2.0 — free to use, modify, and distribute.
- Downloads last month
- 71