Instructions to use shreyanshp/bitcoin-news-1.7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use shreyanshp/bitcoin-news-1.7b 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 shreyanshp/bitcoin-news-1.7b:IQ4_XS # Run inference directly in the terminal: llama cli -hf shreyanshp/bitcoin-news-1.7b:IQ4_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf shreyanshp/bitcoin-news-1.7b:IQ4_XS # Run inference directly in the terminal: llama cli -hf shreyanshp/bitcoin-news-1.7b:IQ4_XS
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 shreyanshp/bitcoin-news-1.7b:IQ4_XS # Run inference directly in the terminal: ./llama-cli -hf shreyanshp/bitcoin-news-1.7b:IQ4_XS
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 shreyanshp/bitcoin-news-1.7b:IQ4_XS # Run inference directly in the terminal: ./build/bin/llama-cli -hf shreyanshp/bitcoin-news-1.7b:IQ4_XS
Use Docker
docker model run hf.co/shreyanshp/bitcoin-news-1.7b:IQ4_XS
- LM Studio
- Jan
- vLLM
How to use shreyanshp/bitcoin-news-1.7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "shreyanshp/bitcoin-news-1.7b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "shreyanshp/bitcoin-news-1.7b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/shreyanshp/bitcoin-news-1.7b:IQ4_XS
- Ollama
How to use shreyanshp/bitcoin-news-1.7b with Ollama:
ollama run hf.co/shreyanshp/bitcoin-news-1.7b:IQ4_XS
- Unsloth Desktop
- Pi
How to use shreyanshp/bitcoin-news-1.7b with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf shreyanshp/bitcoin-news-1.7b:IQ4_XS
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": "shreyanshp/bitcoin-news-1.7b:IQ4_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use shreyanshp/bitcoin-news-1.7b with Docker Model Runner:
docker model run hf.co/shreyanshp/bitcoin-news-1.7b:IQ4_XS
- Lemonade
How to use shreyanshp/bitcoin-news-1.7b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull shreyanshp/bitcoin-news-1.7b:IQ4_XS
Run and chat with the model
lemonade run user.bitcoin-news-1.7b-IQ4_XS
List all available models
lemonade list
- Hermes Agent
How to use shreyanshp/bitcoin-news-1.7b with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf shreyanshp/bitcoin-news-1.7b:IQ4_XS
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 shreyanshp/bitcoin-news-1.7b:IQ4_XS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use shreyanshp/bitcoin-news-1.7b with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf shreyanshp/bitcoin-news-1.7b:IQ4_XS
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 "shreyanshp/bitcoin-news-1.7b:IQ4_XS" \ --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"
bitcoin-news-1.7b
A small on-device assistant for Bitcoin and crypto questions, fine-tuned for beginners. Built to run offline on a phone.
Derived from PrismML's Qwen/Qwen3-1.7B (Apache-2.0), which is quantization-aware-trained so that extreme quantization stays usable.
Files
| File | Size | Notes |
|---|---|---|
bitcoin-news-1.7b-Q4_K_S.gguf |
935 MB | 4-bit |
bitcoin-news-1.7b-v5-IQ4_XS-embq1_0.gguf |
768 MB | 4-bit |
On the quantization recipe
Qwen3 ties the token embedding to the output projection -- there is no
separate output.weight, so token_embd produces every logit. llama-quantize
defaults that tensor to Q6_K, which on a 4B costs ~304 MB (38% of the file).
Dropping it to Q1_0 gets to ~546 MB but puts the logit matrix at 1 bit.
These builds use Q1_0 layers with Q4_K embeddings: the extra ~130 MB is spent on the one tensor that most affects output quality.
Training data
- Evergreen educational pages from
www.bitcoin.com(the/get-started/corpus), split by article so translations of the same page never straddle the train/test boundary. - Transcripts from the Bitcoin.com YouTube channel.
- Hand-built refusal examples: the model runs offline, so it is trained to decline questions about live prices, current news and other real-time data rather than inventing an answer.
- General-instruction replay (UltraChat, MIT) to preserve everyday assistant ability.
Deliberately excluded: dated news articles (stale facts baked into weights become confident hallucinations) and the site's gambling section.
Benchmark
| Model | Overall | URL valid | tok/s | bitcoin_fundamentals | brand_identity | canonical_numbers | citation | crypto_concepts | general_ability | multilingual | practical_howto | temporal_humility | trading_investing | video_recall | wallet_security |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| v5 qwen3-1.7b Q4_K_S (935MB) | 0.564 | 0.30 | 211 | 0.620 | 0.750 | 0.500 | 0.700 | 0.572 | 0.600 | 0.430 | 0.450 | 0.700 | 0.600 | 0.500 | 0.400 |
| v3 bitcoin-news-4b Q3_K_M (1883MB) | 0.553 | 0.67 | 90 | 0.632 | 0.500 | 0.500 | 0.500 | 0.620 | 0.867 | 0.350 | 0.425 | 0.600 | 0.500 | 1.000 | 0.425 |
| v5 qwen3-1.7b Q4_K_M (980MB) | 0.539 | 0.40 | 205 | 0.580 | 0.679 | 0.500 | 0.400 | 0.480 | 0.733 | 0.350 | 0.500 | 0.800 | 0.633 | 0.500 | 0.400 |
| v5 qwen3-1.7b IQ4_XS (893MB) | 0.503 | 0.30 | 216 | 0.560 | 0.607 | 0.800 | 0.400 | 0.460 | 0.800 | 0.400 | 0.350 | 0.500 | 0.500 | 0.500 | 0.375 |
| v3 bitcoin-news-4b Q1_0 (702MB) | 0.392 | - | 192 | 0.460 | 0.071 | 0.300 | 0.000 | 0.560 | 0.667 | 0.350 | 0.325 | 0.500 | 0.467 | 0.000 | 0.375 |
| qwen3-1.7b stock Q4_K_M (1056MB) | 0.328 | - | 191 | 0.440 | 0.071 | 0.300 | 0.000 | 0.420 | 0.500 | 0.050 | 0.400 | 0.300 | 0.500 | 0.000 | 0.275 |
Scored by an LLM judge against hand-written reference answers and per-item
required-point lists. general_ability and temporal_humility are guardrail
categories: they measure whether the domain fine-tune damaged ordinary
competence or taught the model to bluff about live data.
Limitations
- No live data of any kind. It cannot tell you a price, a fee, or today's news.
- Small models make mistakes. Do not rely on it for financial decisions.
- Q1_0 has no OpenCL kernel for Mali GPUs, so those devices fall back to CPU.
Generated 2026-08-30.
- Downloads last month
- 155
4-bit