Text Generation
Transformers
Safetensors
GGUF
English
qwen3
fox-1.6
compact-llm
conversational
text-generation-inference
Instructions to use teolm30/fox-1.6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use teolm30/fox-1.6 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="teolm30/fox-1.6") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("teolm30/fox-1.6") model = AutoModelForCausalLM.from_pretrained("teolm30/fox-1.6") 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - llama-cpp-python
How to use teolm30/fox-1.6 with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="teolm30/fox-1.6", filename="model.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use teolm30/fox-1.6 with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf teolm30/fox-1.6 # Run inference directly in the terminal: llama-cli -hf teolm30/fox-1.6
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf teolm30/fox-1.6 # Run inference directly in the terminal: llama-cli -hf teolm30/fox-1.6
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 teolm30/fox-1.6 # Run inference directly in the terminal: ./llama-cli -hf teolm30/fox-1.6
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 teolm30/fox-1.6 # Run inference directly in the terminal: ./build/bin/llama-cli -hf teolm30/fox-1.6
Use Docker
docker model run hf.co/teolm30/fox-1.6
- LM Studio
- Jan
- vLLM
How to use teolm30/fox-1.6 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "teolm30/fox-1.6" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "teolm30/fox-1.6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/teolm30/fox-1.6
- SGLang
How to use teolm30/fox-1.6 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 "teolm30/fox-1.6" \ --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": "teolm30/fox-1.6", "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 "teolm30/fox-1.6" \ --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": "teolm30/fox-1.6", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use teolm30/fox-1.6 with Ollama:
ollama run hf.co/teolm30/fox-1.6
- Unsloth Studio
How to use teolm30/fox-1.6 with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for teolm30/fox-1.6 to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for teolm30/fox-1.6 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for teolm30/fox-1.6 to start chatting
- Pi
How to use teolm30/fox-1.6 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf teolm30/fox-1.6
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "teolm30/fox-1.6" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use teolm30/fox-1.6 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf teolm30/fox-1.6
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 teolm30/fox-1.6
Run Hermes
hermes
- Docker Model Runner
How to use teolm30/fox-1.6 with Docker Model Runner:
docker model run hf.co/teolm30/fox-1.6
- Lemonade
How to use teolm30/fox-1.6 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull teolm30/fox-1.6
Run and chat with the model
lemonade run user.fox-1.6-{{QUANT_TAG}}List all available models
lemonade list
Brand Fox 1.6 model card
Browse files
README.md
CHANGED
|
@@ -1,301 +1,39 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
#
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
-
|
| 22 |
-
-
|
| 23 |
-
-
|
| 24 |
-
|
| 25 |
-
##
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
-
|
| 29 |
-
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
-
|
| 34 |
-
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
## Quickstart
|
| 42 |
-
|
| 43 |
-
The code of Qwen3 has been in the latest Hugging Face `transformers` and we advise you to use the latest version of `transformers`.
|
| 44 |
-
|
| 45 |
-
With `transformers<4.51.0`, you will encounter the following error:
|
| 46 |
-
```
|
| 47 |
-
KeyError: 'qwen3'
|
| 48 |
-
```
|
| 49 |
-
|
| 50 |
-
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
|
| 51 |
-
```python
|
| 52 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 53 |
-
|
| 54 |
-
model_name = "Qwen/Qwen3-1.7B"
|
| 55 |
-
|
| 56 |
-
# load the tokenizer and the model
|
| 57 |
-
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 58 |
-
model = AutoModelForCausalLM.from_pretrained(
|
| 59 |
-
model_name,
|
| 60 |
-
torch_dtype="auto",
|
| 61 |
-
device_map="auto"
|
| 62 |
-
)
|
| 63 |
-
|
| 64 |
-
# prepare the model input
|
| 65 |
-
prompt = "Give me a short introduction to large language model."
|
| 66 |
-
messages = [
|
| 67 |
-
{"role": "user", "content": prompt}
|
| 68 |
-
]
|
| 69 |
-
text = tokenizer.apply_chat_template(
|
| 70 |
-
messages,
|
| 71 |
-
tokenize=False,
|
| 72 |
-
add_generation_prompt=True,
|
| 73 |
-
enable_thinking=True # Switches between thinking and non-thinking modes. Default is True.
|
| 74 |
-
)
|
| 75 |
-
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
| 76 |
-
|
| 77 |
-
# conduct text completion
|
| 78 |
-
generated_ids = model.generate(
|
| 79 |
-
**model_inputs,
|
| 80 |
-
max_new_tokens=32768
|
| 81 |
-
)
|
| 82 |
-
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()
|
| 83 |
-
|
| 84 |
-
# parsing thinking content
|
| 85 |
-
try:
|
| 86 |
-
# rindex finding 151668 (</think>)
|
| 87 |
-
index = len(output_ids) - output_ids[::-1].index(151668)
|
| 88 |
-
except ValueError:
|
| 89 |
-
index = 0
|
| 90 |
-
|
| 91 |
-
thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
|
| 92 |
-
content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
|
| 93 |
-
|
| 94 |
-
print("thinking content:", thinking_content)
|
| 95 |
-
print("content:", content)
|
| 96 |
-
```
|
| 97 |
-
|
| 98 |
-
For deployment, you can use `sglang>=0.4.6.post1` or `vllm>=0.8.5` or to create an OpenAI-compatible API endpoint:
|
| 99 |
-
- SGLang:
|
| 100 |
-
```shell
|
| 101 |
-
python -m sglang.launch_server --model-path Qwen/Qwen3-1.7B --reasoning-parser qwen3
|
| 102 |
-
```
|
| 103 |
-
- vLLM:
|
| 104 |
-
```shell
|
| 105 |
-
vllm serve Qwen/Qwen3-1.7B --enable-reasoning --reasoning-parser deepseek_r1
|
| 106 |
-
```
|
| 107 |
-
|
| 108 |
-
For local use, applications such as Ollama, LMStudio, MLX-LM, llama.cpp, and KTransformers have also supported Qwen3.
|
| 109 |
-
|
| 110 |
-
## Switching Between Thinking and Non-Thinking Mode
|
| 111 |
-
|
| 112 |
-
> [!TIP]
|
| 113 |
-
> The `enable_thinking` switch is also available in APIs created by SGLang and vLLM.
|
| 114 |
-
> Please refer to our documentation for [SGLang](https://qwen.readthedocs.io/en/latest/deployment/sglang.html#thinking-non-thinking-modes) and [vLLM](https://qwen.readthedocs.io/en/latest/deployment/vllm.html#thinking-non-thinking-modes) users.
|
| 115 |
-
|
| 116 |
-
### `enable_thinking=True`
|
| 117 |
-
|
| 118 |
-
By default, Qwen3 has thinking capabilities enabled, similar to QwQ-32B. This means the model will use its reasoning abilities to enhance the quality of generated responses. For example, when explicitly setting `enable_thinking=True` or leaving it as the default value in `tokenizer.apply_chat_template`, the model will engage its thinking mode.
|
| 119 |
-
|
| 120 |
-
```python
|
| 121 |
-
text = tokenizer.apply_chat_template(
|
| 122 |
-
messages,
|
| 123 |
-
tokenize=False,
|
| 124 |
-
add_generation_prompt=True,
|
| 125 |
-
enable_thinking=True # True is the default value for enable_thinking
|
| 126 |
-
)
|
| 127 |
-
```
|
| 128 |
-
|
| 129 |
-
In this mode, the model will generate think content wrapped in a `<think>...</think>` block, followed by the final response.
|
| 130 |
-
|
| 131 |
-
> [!NOTE]
|
| 132 |
-
> For thinking mode, use `Temperature=0.6`, `TopP=0.95`, `TopK=20`, and `MinP=0` (the default setting in `generation_config.json`). **DO NOT use greedy decoding**, as it can lead to performance degradation and endless repetitions. For more detailed guidance, please refer to the [Best Practices](#best-practices) section.
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
### `enable_thinking=False`
|
| 136 |
-
|
| 137 |
-
We provide a hard switch to strictly disable the model's thinking behavior, aligning its functionality with the previous Qwen2.5-Instruct models. This mode is particularly useful in scenarios where disabling thinking is essential for enhancing efficiency.
|
| 138 |
-
|
| 139 |
-
```python
|
| 140 |
-
text = tokenizer.apply_chat_template(
|
| 141 |
-
messages,
|
| 142 |
-
tokenize=False,
|
| 143 |
-
add_generation_prompt=True,
|
| 144 |
-
enable_thinking=False # Setting enable_thinking=False disables thinking mode
|
| 145 |
-
)
|
| 146 |
-
```
|
| 147 |
-
|
| 148 |
-
In this mode, the model will not generate any think content and will not include a `<think>...</think>` block.
|
| 149 |
-
|
| 150 |
-
> [!NOTE]
|
| 151 |
-
> For non-thinking mode, we suggest using `Temperature=0.7`, `TopP=0.8`, `TopK=20`, and `MinP=0`. For more detailed guidance, please refer to the [Best Practices](#best-practices) section.
|
| 152 |
-
|
| 153 |
-
### Advanced Usage: Switching Between Thinking and Non-Thinking Modes via User Input
|
| 154 |
-
|
| 155 |
-
We provide a soft switch mechanism that allows users to dynamically control the model's behavior when `enable_thinking=True`. Specifically, you can add `/think` and `/no_think` to user prompts or system messages to switch the model's thinking mode from turn to turn. The model will follow the most recent instruction in multi-turn conversations.
|
| 156 |
-
|
| 157 |
-
Here is an example of a multi-turn conversation:
|
| 158 |
-
|
| 159 |
-
```python
|
| 160 |
-
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 161 |
-
|
| 162 |
-
class QwenChatbot:
|
| 163 |
-
def __init__(self, model_name="Qwen/Qwen3-1.7B"):
|
| 164 |
-
self.tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 165 |
-
self.model = AutoModelForCausalLM.from_pretrained(model_name)
|
| 166 |
-
self.history = []
|
| 167 |
-
|
| 168 |
-
def generate_response(self, user_input):
|
| 169 |
-
messages = self.history + [{"role": "user", "content": user_input}]
|
| 170 |
-
|
| 171 |
-
text = self.tokenizer.apply_chat_template(
|
| 172 |
-
messages,
|
| 173 |
-
tokenize=False,
|
| 174 |
-
add_generation_prompt=True
|
| 175 |
-
)
|
| 176 |
-
|
| 177 |
-
inputs = self.tokenizer(text, return_tensors="pt")
|
| 178 |
-
response_ids = self.model.generate(**inputs, max_new_tokens=32768)[0][len(inputs.input_ids[0]):].tolist()
|
| 179 |
-
response = self.tokenizer.decode(response_ids, skip_special_tokens=True)
|
| 180 |
-
|
| 181 |
-
# Update history
|
| 182 |
-
self.history.append({"role": "user", "content": user_input})
|
| 183 |
-
self.history.append({"role": "assistant", "content": response})
|
| 184 |
-
|
| 185 |
-
return response
|
| 186 |
-
|
| 187 |
-
# Example Usage
|
| 188 |
-
if __name__ == "__main__":
|
| 189 |
-
chatbot = QwenChatbot()
|
| 190 |
-
|
| 191 |
-
# First input (without /think or /no_think tags, thinking mode is enabled by default)
|
| 192 |
-
user_input_1 = "How many r's in strawberries?"
|
| 193 |
-
print(f"User: {user_input_1}")
|
| 194 |
-
response_1 = chatbot.generate_response(user_input_1)
|
| 195 |
-
print(f"Bot: {response_1}")
|
| 196 |
-
print("----------------------")
|
| 197 |
-
|
| 198 |
-
# Second input with /no_think
|
| 199 |
-
user_input_2 = "Then, how many r's in blueberries? /no_think"
|
| 200 |
-
print(f"User: {user_input_2}")
|
| 201 |
-
response_2 = chatbot.generate_response(user_input_2)
|
| 202 |
-
print(f"Bot: {response_2}")
|
| 203 |
-
print("----------------------")
|
| 204 |
-
|
| 205 |
-
# Third input with /think
|
| 206 |
-
user_input_3 = "Really? /think"
|
| 207 |
-
print(f"User: {user_input_3}")
|
| 208 |
-
response_3 = chatbot.generate_response(user_input_3)
|
| 209 |
-
print(f"Bot: {response_3}")
|
| 210 |
-
```
|
| 211 |
-
|
| 212 |
-
> [!NOTE]
|
| 213 |
-
> For API compatibility, when `enable_thinking=True`, regardless of whether the user uses `/think` or `/no_think`, the model will always output a block wrapped in `<think>...</think>`. However, the content inside this block may be empty if thinking is disabled.
|
| 214 |
-
> When `enable_thinking=False`, the soft switches are not valid. Regardless of any `/think` or `/no_think` tags input by the user, the model will not generate think content and will not include a `<think>...</think>` block.
|
| 215 |
-
|
| 216 |
-
## Agentic Use
|
| 217 |
-
|
| 218 |
-
Qwen3 excels in tool calling capabilities. We recommend using [Qwen-Agent](https://github.com/QwenLM/Qwen-Agent) to make the best use of agentic ability of Qwen3. Qwen-Agent encapsulates tool-calling templates and tool-calling parsers internally, greatly reducing coding complexity.
|
| 219 |
-
|
| 220 |
-
To define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.
|
| 221 |
-
```python
|
| 222 |
-
from qwen_agent.agents import Assistant
|
| 223 |
-
|
| 224 |
-
# Define LLM
|
| 225 |
-
llm_cfg = {
|
| 226 |
-
'model': 'Qwen3-1.7B',
|
| 227 |
-
|
| 228 |
-
# Use the endpoint provided by Alibaba Model Studio:
|
| 229 |
-
# 'model_type': 'qwen_dashscope',
|
| 230 |
-
# 'api_key': os.getenv('DASHSCOPE_API_KEY'),
|
| 231 |
-
|
| 232 |
-
# Use a custom endpoint compatible with OpenAI API:
|
| 233 |
-
'model_server': 'http://localhost:8000/v1', # api_base
|
| 234 |
-
'api_key': 'EMPTY',
|
| 235 |
-
|
| 236 |
-
# Other parameters:
|
| 237 |
-
# 'generate_cfg': {
|
| 238 |
-
# # Add: When the response content is `<think>this is the thought</think>this is the answer;
|
| 239 |
-
# # Do not add: When the response has been separated by reasoning_content and content.
|
| 240 |
-
# 'thought_in_content': True,
|
| 241 |
-
# },
|
| 242 |
-
}
|
| 243 |
-
|
| 244 |
-
# Define Tools
|
| 245 |
-
tools = [
|
| 246 |
-
{'mcpServers': { # You can specify the MCP configuration file
|
| 247 |
-
'time': {
|
| 248 |
-
'command': 'uvx',
|
| 249 |
-
'args': ['mcp-server-time', '--local-timezone=Asia/Shanghai']
|
| 250 |
-
},
|
| 251 |
-
"fetch": {
|
| 252 |
-
"command": "uvx",
|
| 253 |
-
"args": ["mcp-server-fetch"]
|
| 254 |
-
}
|
| 255 |
-
}
|
| 256 |
-
},
|
| 257 |
-
'code_interpreter', # Built-in tools
|
| 258 |
-
]
|
| 259 |
-
|
| 260 |
-
# Define Agent
|
| 261 |
-
bot = Assistant(llm=llm_cfg, function_list=tools)
|
| 262 |
-
|
| 263 |
-
# Streaming generation
|
| 264 |
-
messages = [{'role': 'user', 'content': 'https://qwenlm.github.io/blog/ Introduce the latest developments of Qwen'}]
|
| 265 |
-
for responses in bot.run(messages=messages):
|
| 266 |
-
pass
|
| 267 |
-
print(responses)
|
| 268 |
-
```
|
| 269 |
-
|
| 270 |
-
## Best Practices
|
| 271 |
-
|
| 272 |
-
To achieve optimal performance, we recommend the following settings:
|
| 273 |
-
|
| 274 |
-
1. **Sampling Parameters**:
|
| 275 |
-
- For thinking mode (`enable_thinking=True`), use `Temperature=0.6`, `TopP=0.95`, `TopK=20`, and `MinP=0`. **DO NOT use greedy decoding**, as it can lead to performance degradation and endless repetitions.
|
| 276 |
-
- For non-thinking mode (`enable_thinking=False`), we suggest using `Temperature=0.7`, `TopP=0.8`, `TopK=20`, and `MinP=0`.
|
| 277 |
-
- For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
|
| 278 |
-
|
| 279 |
-
2. **Adequate Output Length**: We recommend using an output length of 32,768 tokens for most queries. For benchmarking on highly complex problems, such as those found in math and programming competitions, we suggest setting the max output length to 38,912 tokens. This provides the model with sufficient space to generate detailed and comprehensive responses, thereby enhancing its overall performance.
|
| 280 |
-
|
| 281 |
-
3. **Standardize Output Format**: We recommend using prompts to standardize model outputs when benchmarking.
|
| 282 |
-
- **Math Problems**: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
|
| 283 |
-
- **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the `answer` field with only the choice letter, e.g., `"answer": "C"`."
|
| 284 |
-
|
| 285 |
-
4. **No Thinking Content in History**: In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content. It is implemented in the provided chat template in Jinja2. However, for frameworks that do not directly use the Jinja2 chat template, it is up to the developers to ensure that the best practice is followed.
|
| 286 |
-
|
| 287 |
-
### Citation
|
| 288 |
-
|
| 289 |
-
If you find our work helpful, feel free to give us a cite.
|
| 290 |
-
|
| 291 |
-
```
|
| 292 |
-
@misc{qwen3technicalreport,
|
| 293 |
-
title={Qwen3 Technical Report},
|
| 294 |
-
author={Qwen Team},
|
| 295 |
-
year={2025},
|
| 296 |
-
eprint={2505.09388},
|
| 297 |
-
archivePrefix={arXiv},
|
| 298 |
-
primaryClass={cs.CL},
|
| 299 |
-
url={https://arxiv.org/abs/2505.09388},
|
| 300 |
-
}
|
| 301 |
-
```
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
library_name: transformers
|
| 5 |
+
license: apache-2.0
|
| 6 |
+
pipeline_tag: text-generation
|
| 7 |
+
base_model: Qwen/Qwen3-1.7B
|
| 8 |
+
tags:
|
| 9 |
+
- fox-1.6
|
| 10 |
+
- qwen3
|
| 11 |
+
- compact-llm
|
| 12 |
+
- text-generation
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
# Fox 1.6
|
| 16 |
+
|
| 17 |
+
Fox 1.6 is a compact, device-friendly fork of `Qwen/Qwen3-1.7B` for general-purpose text generation.
|
| 18 |
+
|
| 19 |
+
## What this repo is
|
| 20 |
+
|
| 21 |
+
- A lightweight Hugging Face model repo with real weights and tokenizer files
|
| 22 |
+
- Intended to be easier to deploy on consumer hardware than much larger LLMs
|
| 23 |
+
- Branded and published under the Fox 1.6 name
|
| 24 |
+
|
| 25 |
+
## What this repo is not
|
| 26 |
+
|
| 27 |
+
- It is not trained from scratch here
|
| 28 |
+
- It is not a claim that the model beats every large frontier model
|
| 29 |
+
- It is a fork of the upstream Qwen 3 1.7B checkpoint
|
| 30 |
+
|
| 31 |
+
## Intended use
|
| 32 |
+
|
| 33 |
+
- On-device or low-footprint inference
|
| 34 |
+
- Assistant-style chat and completion
|
| 35 |
+
- Rapid experimentation with a compact base model
|
| 36 |
+
|
| 37 |
+
## Notes
|
| 38 |
+
|
| 39 |
+
If you want Fox 1.6 to become a genuinely new model, the next step is to fine-tune this fork on a curated instruction dataset and evaluate it against your target benchmarks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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