Instructions to use ShevaSmile/zeberg-analyzer-qwen35 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ShevaSmile/zeberg-analyzer-qwen35 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3.5-9B") model = PeftModel.from_pretrained(base_model, "ShevaSmile/zeberg-analyzer-qwen35") - Transformers
How to use ShevaSmile/zeberg-analyzer-qwen35 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ShevaSmile/zeberg-analyzer-qwen35") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ShevaSmile/zeberg-analyzer-qwen35", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ShevaSmile/zeberg-analyzer-qwen35 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ShevaSmile/zeberg-analyzer-qwen35" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ShevaSmile/zeberg-analyzer-qwen35", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ShevaSmile/zeberg-analyzer-qwen35
- SGLang
How to use ShevaSmile/zeberg-analyzer-qwen35 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 "ShevaSmile/zeberg-analyzer-qwen35" \ --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": "ShevaSmile/zeberg-analyzer-qwen35", "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 "ShevaSmile/zeberg-analyzer-qwen35" \ --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": "ShevaSmile/zeberg-analyzer-qwen35", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio
How to use ShevaSmile/zeberg-analyzer-qwen35 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 ShevaSmile/zeberg-analyzer-qwen35 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 ShevaSmile/zeberg-analyzer-qwen35 to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for ShevaSmile/zeberg-analyzer-qwen35 to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="ShevaSmile/zeberg-analyzer-qwen35", max_seq_length=2048, ) - Docker Model Runner
How to use ShevaSmile/zeberg-analyzer-qwen35 with Docker Model Runner:
docker model run hf.co/ShevaSmile/zeberg-analyzer-qwen35
Upload folder using huggingface_hub
Browse files- README.md +0 -2
- adapter_config.json +2 -2
- adapter_model.safetensors +2 -2
- processor_config.json +1 -26
- tokenizer.json +1 -1
- tokenizer_config.json +1 -1
README.md
CHANGED
|
@@ -5,9 +5,7 @@ pipeline_tag: text-generation
|
|
| 5 |
tags:
|
| 6 |
- base_model:adapter:Qwen/Qwen3.5-9B
|
| 7 |
- lora
|
| 8 |
-
- sft
|
| 9 |
- transformers
|
| 10 |
-
- trl
|
| 11 |
- unsloth
|
| 12 |
---
|
| 13 |
|
|
|
|
| 5 |
tags:
|
| 6 |
- base_model:adapter:Qwen/Qwen3.5-9B
|
| 7 |
- lora
|
|
|
|
| 8 |
- transformers
|
|
|
|
| 9 |
- unsloth
|
| 10 |
---
|
| 11 |
|
adapter_config.json
CHANGED
|
@@ -30,7 +30,7 @@
|
|
| 30 |
"peft_type": "LORA",
|
| 31 |
"peft_version": "0.19.1",
|
| 32 |
"qalora_group_size": 16,
|
| 33 |
-
"r":
|
| 34 |
"rank_pattern": {},
|
| 35 |
"revision": null,
|
| 36 |
"target_modules": "(?:.*?(?:language|text).*?(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer).*?(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj))|(?:\\bmodel\\.layers\\.[\\d]{1,}\\.(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer)\\.(?:(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)))",
|
|
@@ -40,5 +40,5 @@
|
|
| 40 |
"use_bdlora": null,
|
| 41 |
"use_dora": false,
|
| 42 |
"use_qalora": false,
|
| 43 |
-
"use_rslora":
|
| 44 |
}
|
|
|
|
| 30 |
"peft_type": "LORA",
|
| 31 |
"peft_version": "0.19.1",
|
| 32 |
"qalora_group_size": 16,
|
| 33 |
+
"r": 32,
|
| 34 |
"rank_pattern": {},
|
| 35 |
"revision": null,
|
| 36 |
"target_modules": "(?:.*?(?:language|text).*?(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer).*?(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj))|(?:\\bmodel\\.layers\\.[\\d]{1,}\\.(?:self_attn|attention|attn|mixer|mlp|feed_forward|ffn|dense|mixer)\\.(?:(?:q_proj|k_proj|v_proj|o_proj|gate_proj|up_proj|down_proj)))",
|
|
|
|
| 40 |
"use_bdlora": null,
|
| 41 |
"use_dora": false,
|
| 42 |
"use_qalora": false,
|
| 43 |
+
"use_rslora": true
|
| 44 |
}
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:789b066099de235e1f909722718298ce68a97a6e130cc79fd627e32d18ccbf2e
|
| 3 |
+
size 232821904
|
processor_config.json
CHANGED
|
@@ -1,30 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"image_processor":
|
| 3 |
-
"do_convert_rgb": true,
|
| 4 |
-
"do_normalize": true,
|
| 5 |
-
"do_rescale": true,
|
| 6 |
-
"do_resize": true,
|
| 7 |
-
"image_mean": [
|
| 8 |
-
0.5,
|
| 9 |
-
0.5,
|
| 10 |
-
0.5
|
| 11 |
-
],
|
| 12 |
-
"image_processor_type": "Qwen2VLImageProcessor",
|
| 13 |
-
"image_std": [
|
| 14 |
-
0.5,
|
| 15 |
-
0.5,
|
| 16 |
-
0.5
|
| 17 |
-
],
|
| 18 |
-
"merge_size": 2,
|
| 19 |
-
"patch_size": 16,
|
| 20 |
-
"resample": 3,
|
| 21 |
-
"rescale_factor": 0.00392156862745098,
|
| 22 |
-
"size": {
|
| 23 |
-
"longest_edge": 16777216,
|
| 24 |
-
"shortest_edge": 65536
|
| 25 |
-
},
|
| 26 |
-
"temporal_patch_size": 2
|
| 27 |
-
},
|
| 28 |
"processor_class": "Qwen3VLProcessor",
|
| 29 |
"video_processor": {
|
| 30 |
"do_convert_rgb": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"image_processor": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"processor_class": "Qwen3VLProcessor",
|
| 4 |
"video_processor": {
|
| 5 |
"do_convert_rgb": true,
|
tokenizer.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 19989442
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd6b8cf757c22939ad262adb1077fa3b8e7cbb89054bc2507630b0f6aafd80ae
|
| 3 |
size 19989442
|
tokenizer_config.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
| 21 |
"vision_eos_token": "<|vision_end|>"
|
| 22 |
},
|
| 23 |
"pad_token": "<|endoftext|>",
|
| 24 |
-
"padding_side": "
|
| 25 |
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 26 |
"processor_class": "Qwen3VLProcessor",
|
| 27 |
"split_special_tokens": false,
|
|
|
|
| 21 |
"vision_eos_token": "<|vision_end|>"
|
| 22 |
},
|
| 23 |
"pad_token": "<|endoftext|>",
|
| 24 |
+
"padding_side": "left",
|
| 25 |
"pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
|
| 26 |
"processor_class": "Qwen3VLProcessor",
|
| 27 |
"split_special_tokens": false,
|