Text Generation
Transformers
Safetensors
GGUF
English
qwen3.5
voice-assistant
conversational
sft
lora
unsloth
Instructions to use cowWhySo/qwen3_5_2B_voice_assistant-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cowWhySo/qwen3_5_2B_voice_assistant-lora with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="cowWhySo/qwen3_5_2B_voice_assistant-lora") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("cowWhySo/qwen3_5_2B_voice_assistant-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use cowWhySo/qwen3_5_2B_voice_assistant-lora with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cowWhySo/qwen3_5_2B_voice_assistant-lora" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cowWhySo/qwen3_5_2B_voice_assistant-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cowWhySo/qwen3_5_2B_voice_assistant-lora
- SGLang
How to use cowWhySo/qwen3_5_2B_voice_assistant-lora 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 "cowWhySo/qwen3_5_2B_voice_assistant-lora" \ --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": "cowWhySo/qwen3_5_2B_voice_assistant-lora", "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 "cowWhySo/qwen3_5_2B_voice_assistant-lora" \ --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": "cowWhySo/qwen3_5_2B_voice_assistant-lora", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Desktop
- Docker Model Runner
How to use cowWhySo/qwen3_5_2B_voice_assistant-lora with Docker Model Runner:
docker model run hf.co/cowWhySo/qwen3_5_2B_voice_assistant-lora
Upload model trained with Unsloth
Browse filesUpload model trained with Unsloth 2x faster
- README.md +8 -8
- adapter_config.json +5 -5
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -2,15 +2,15 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: unsloth/Qwen3.5-2B
|
| 4 |
tags:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
language:
|
| 13 |
-
|
| 14 |
pipeline_tag: text-generation
|
| 15 |
library_name: transformers
|
| 16 |
---
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: unsloth/Qwen3.5-2B
|
| 4 |
tags:
|
| 5 |
+
- qwen3.5
|
| 6 |
+
- voice-assistant
|
| 7 |
+
- conversational
|
| 8 |
+
- sft
|
| 9 |
+
- lora
|
| 10 |
+
- unsloth
|
| 11 |
+
- gguf
|
| 12 |
language:
|
| 13 |
+
- en
|
| 14 |
pipeline_tag: text-generation
|
| 15 |
library_name: transformers
|
| 16 |
---
|
adapter_config.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
"layers_pattern": null,
|
| 21 |
"layers_to_transform": null,
|
| 22 |
"loftq_config": {},
|
| 23 |
-
"lora_alpha":
|
| 24 |
"lora_bias": false,
|
| 25 |
"lora_dropout": 0.05,
|
| 26 |
"megatron_config": null,
|
|
@@ -33,13 +33,13 @@
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
| 36 |
-
"o_proj",
|
| 37 |
-
"up_proj",
|
| 38 |
-
"v_proj",
|
| 39 |
"gate_proj",
|
|
|
|
|
|
|
| 40 |
"q_proj",
|
| 41 |
"k_proj",
|
| 42 |
-
"
|
|
|
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
|
|
|
| 20 |
"layers_pattern": null,
|
| 21 |
"layers_to_transform": null,
|
| 22 |
"loftq_config": {},
|
| 23 |
+
"lora_alpha": 32,
|
| 24 |
"lora_bias": false,
|
| 25 |
"lora_dropout": 0.05,
|
| 26 |
"megatron_config": null,
|
|
|
|
| 33 |
"rank_pattern": {},
|
| 34 |
"revision": null,
|
| 35 |
"target_modules": [
|
|
|
|
|
|
|
|
|
|
| 36 |
"gate_proj",
|
| 37 |
+
"o_proj",
|
| 38 |
+
"down_proj",
|
| 39 |
"q_proj",
|
| 40 |
"k_proj",
|
| 41 |
+
"v_proj",
|
| 42 |
+
"up_proj"
|
| 43 |
],
|
| 44 |
"target_parameters": null,
|
| 45 |
"task_type": "CAUSAL_LM",
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 43675104
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b697d7d9d1e2ddb15f3a48214b972f230dcfc1b35ed608b19f96707677b0b598
|
| 3 |
size 43675104
|