Text Generation
Transformers
Safetensors
Russian
English
qwen2
conversational
text-generation-inference
Instructions to use DLMveloper/Solade-Qwen-3B-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DLMveloper/Solade-Qwen-3B-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DLMveloper/Solade-Qwen-3B-2") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("DLMveloper/Solade-Qwen-3B-2") model = AutoModelForCausalLM.from_pretrained("DLMveloper/Solade-Qwen-3B-2", device_map="auto") 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]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DLMveloper/Solade-Qwen-3B-2 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DLMveloper/Solade-Qwen-3B-2" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DLMveloper/Solade-Qwen-3B-2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/DLMveloper/Solade-Qwen-3B-2
- SGLang
How to use DLMveloper/Solade-Qwen-3B-2 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 "DLMveloper/Solade-Qwen-3B-2" \ --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": "DLMveloper/Solade-Qwen-3B-2", "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 "DLMveloper/Solade-Qwen-3B-2" \ --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": "DLMveloper/Solade-Qwen-3B-2", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use DLMveloper/Solade-Qwen-3B-2 with Docker Model Runner:
docker model run hf.co/DLMveloper/Solade-Qwen-3B-2
Update LICENSE
Browse files
LICENSE
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DLMveloper Limited Use License Agreement
|
| 2 |
+
Copyright (c) 2026 @DLMveloper. All rights reserved.
|
| 3 |
+
|
| 4 |
+
This License Agreement ("License") governs your access to and use of this repository, including all code, data, models, documentation, and assets contained herein (collectively referred to as the "Software"). By accessing, downloading, or using the Software, you agree to be bound by the terms and conditions of this License.
|
| 5 |
+
|
| 6 |
+
1. PLATFORM RESTRICTION AND LICENSE GRANT
|
| 7 |
+
Subject to the terms of this License, the Author (@DLMveloper) grants you a non-exclusive, worldwide, royalty-free, non-transferable, revocable right to use, execute, and interact with the Software EXCLUSIVELY within the infrastructure and environment of the Hugging Face platform.
|
| 8 |
+
|
| 9 |
+
2. PROHIBITED USES & DISTRIBUTION RESTRICTIONS
|
| 10 |
+
You strictly SHALL NOT:
|
| 11 |
+
a) Host, re-upload, mirror, fork, redistribute, or make the Software (including its code, data, or assets) available on any other third-party platforms, websites, or servers (including, but not limited to, GitHub, GitLab, Kaggle, or private hosting environments) without the prior explicit written consent of the Author.
|
| 12 |
+
b) Use the Software, its components, or any derivative works for any commercial purposes. This includes, but is not limited to, selling the Software, integrating it into paid products, subscription services, SaaS applications, or using it to generate commercial revenue.
|
| 13 |
+
c) Plagiarize, misrepresent authorship, or claim the Software, its assets, or any direct derivatives as your own creation. Impersonation of the Author or any form of intellectual property theft is strictly prohibited.
|
| 14 |
+
|
| 15 |
+
3. MODIFICATIONS AND DERIVATIVE WORKS
|
| 16 |
+
You are permitted to create modifications, bug fixes, remakes, or derivative works based on the Software, provided that:
|
| 17 |
+
a) Such derivative works are hosted and utilized exclusively within the Hugging Face platform, adhering to the same restrictions as the original Software.
|
| 18 |
+
b) You provide prominent, clear, and highly visible attribution to the original Author (@DLMveloper).
|
| 19 |
+
c) You include a direct, functional hyperlink to this official Hugging Face repository in a conspicuous location within your project's documentation or interface.
|
| 20 |
+
4. DISCLAIMER OF WARRANTY
|
| 21 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|