Instructions to use modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base
- SGLang
How to use modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base 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 "modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base" \ --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": "modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base", "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 "modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base" \ --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": "modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base with Docker Model Runner:
docker model run hf.co/modrill/lingcoder_shortcot_4k_lora_qwen3_4b_base
Update model card
Browse files
README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
tags:
|
| 4 |
-
- qwen3
|
| 5 |
- mhm
|
| 6 |
- text-generation
|
| 7 |
library_name: transformers
|
|
@@ -9,8 +8,9 @@ library_name: transformers
|
|
| 9 |
|
| 10 |
# lingcoder_shortcot_4k_lora_qwen3_4b_base
|
| 11 |
|
| 12 |
-
Auto-uploaded
|
| 13 |
|
| 14 |
- Source path: `trl/models/qwen3-4b-base-restart-lingcoder-shortcot-4k-lora`
|
| 15 |
-
-
|
|
|
|
| 16 |
- Visibility: `public`
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
tags:
|
|
|
|
| 4 |
- mhm
|
| 5 |
- text-generation
|
| 6 |
library_name: transformers
|
|
|
|
| 8 |
|
| 9 |
# lingcoder_shortcot_4k_lora_qwen3_4b_base
|
| 10 |
|
| 11 |
+
Auto-uploaded from local output (MergeBench and LlamaFactory excluded).
|
| 12 |
|
| 13 |
- Source path: `trl/models/qwen3-4b-base-restart-lingcoder-shortcot-4k-lora`
|
| 14 |
+
- Type: `lora`
|
| 15 |
+
- Uploaded at: `2026-05-20T06:48:55.445185`
|
| 16 |
- Visibility: `public`
|