Update README.md
Browse files
README.md
CHANGED
|
@@ -1,44 +1,61 @@
|
|
|
|
|
| 1 |
library_name: transformers
|
| 2 |
license: apache-2.0
|
| 3 |
license_link: https://huggingface.co/Qwen/Qwen3-4B-Thinking-2507/blob/main/LICENSE
|
| 4 |
pipeline_tag: text-generation
|
| 5 |
base_model: Qwen/Qwen3-4B-Thinking-2507
|
| 6 |
tags:
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
-
Use with llama.cpp
|
| 16 |
-
Install llama.cpp through brew (works on Mac and Linux)
|
| 17 |
|
| 18 |
-
bash
|
| 19 |
brew install llama.cpp
|
|
|
|
|
|
|
| 20 |
Invoke the llama.cpp server or the CLI.
|
| 21 |
|
| 22 |
-
CLI:
|
| 23 |
-
|
| 24 |
llama-cli --hf-repo AdvRahul/Axion-Thinking-4B-Q4_K_M-GGUF --hf-file axion-thinking-4b-q4_k_m.gguf -p "The meaning to life and the universe is"
|
| 25 |
-
|
| 26 |
-
|
|
|
|
|
|
|
| 27 |
llama-server --hf-repo AdvRahul/Axion-Thinking-4B-Q4_K_M-GGUF --hf-file axion-thinking-4b-q4_k_m.gguf -c 2048
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
| 29 |
Step 1: Clone llama.cpp from GitHub.
|
| 30 |
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
text
|
| 36 |
cd llama.cpp && LLAMA_CURL=1 make
|
|
|
|
|
|
|
|
|
|
| 37 |
Step 3: Run inference through the main binary.
|
| 38 |
|
| 39 |
-
text
|
| 40 |
./llama-cli --hf-repo AdvRahul/Axion-Thinking-4B-Q4_K_M-GGUF --hf-file axion-thinking-4b-q4_k_m.gguf -p "The meaning to life and the universe is"
|
|
|
|
|
|
|
| 41 |
or
|
| 42 |
|
| 43 |
-
|
| 44 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
library_name: transformers
|
| 3 |
license: apache-2.0
|
| 4 |
license_link: https://huggingface.co/Qwen/Qwen3-4B-Thinking-2507/blob/main/LICENSE
|
| 5 |
pipeline_tag: text-generation
|
| 6 |
base_model: Qwen/Qwen3-4B-Thinking-2507
|
| 7 |
tags:
|
| 8 |
+
- llama-cpp
|
| 9 |
+
- gguf-my-repo
|
| 10 |
+
---
|
| 11 |
|
| 12 |
+
# AdvRahul/Axion-Thinking-4B
|
| 13 |
|
| 14 |
+
This model is finetuned from [`Qwen/Qwen3-4B-Thinking-2507`](https://huggingface.co/Qwen/Qwen3-4B-Thinking-2507), making it safer through red team testing with advanced protocols.
|
| 15 |
|
| 16 |
+
## Use with llama.cpp
|
| 17 |
+
|
| 18 |
+
Install llama.cpp through brew (works on Mac and Linux):
|
| 19 |
|
|
|
|
|
|
|
| 20 |
|
|
|
|
| 21 |
brew install llama.cpp
|
| 22 |
+
|
| 23 |
+
|
| 24 |
Invoke the llama.cpp server or the CLI.
|
| 25 |
|
| 26 |
+
### CLI:
|
| 27 |
+
|
| 28 |
llama-cli --hf-repo AdvRahul/Axion-Thinking-4B-Q4_K_M-GGUF --hf-file axion-thinking-4b-q4_k_m.gguf -p "The meaning to life and the universe is"
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
### Server:
|
| 32 |
+
|
| 33 |
llama-server --hf-repo AdvRahul/Axion-Thinking-4B-Q4_K_M-GGUF --hf-file axion-thinking-4b-q4_k_m.gguf -c 2048
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
Note: You can also use this checkpoint directly through the [usage steps](https://github.com/ggerganov/llama.cpp?tab=readme-ov-file#usage) listed in the Llama.cpp repo.
|
| 37 |
+
|
| 38 |
Step 1: Clone llama.cpp from GitHub.
|
| 39 |
|
| 40 |
+
git clone https://github.com/ggerganov/llama.cpp
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
Step 2: Move into the llama.cpp folder and build it with `LLAMA_CURL=1` flag along with other hardware-specific flags (for example, `LLAMA_CUDA=1` for Nvidia GPUs on Linux).
|
| 45 |
|
|
|
|
| 46 |
cd llama.cpp && LLAMA_CURL=1 make
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
|
| 50 |
Step 3: Run inference through the main binary.
|
| 51 |
|
|
|
|
| 52 |
./llama-cli --hf-repo AdvRahul/Axion-Thinking-4B-Q4_K_M-GGUF --hf-file axion-thinking-4b-q4_k_m.gguf -p "The meaning to life and the universe is"
|
| 53 |
+
|
| 54 |
+
|
| 55 |
or
|
| 56 |
|
| 57 |
+
./llama-server --hf-repo AdvRahul/Axion-Thinking-4B-Q4_K_M-GGUF --hf-file axion-thinking-4b-q4_k_m.gguf -c 2048
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
If this is for an LLM-powered application targeting the Indian market (e.g., for entrepreneurship or software development), I recommend adding sections to the README on integration examples with popular frameworks like LangChain or Hugging Face Transformers. This can help with market validation—Indian developers often prioritize quick-start guides for scalable deployments on cost-effective cloud infra like AWS Mumbai or Google Cloud India regions. Let me know your technical/business goals for this model (e.g., target use cases, monetization strategies), and I can provide more tailored advice, such as prompt engineering tips or growth hacks for user acquisition in India. If you need further tweaks to the README or help with deployment, just share more details!
|