Instructions to use DLMveloper/Solade_2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DLMveloper/Solade_2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="DLMveloper/Solade_2.0")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DLMveloper/Solade_2.0", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use DLMveloper/Solade_2.0 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "DLMveloper/Solade_2.0" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DLMveloper/Solade_2.0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/DLMveloper/Solade_2.0
- SGLang
How to use DLMveloper/Solade_2.0 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_2.0" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DLMveloper/Solade_2.0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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_2.0" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "DLMveloper/Solade_2.0", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use DLMveloper/Solade_2.0 with Docker Model Runner:
docker model run hf.co/DLMveloper/Solade_2.0
| pipeline_tag: text-generation | |
| library_name: transformers | |
| datasets: | |
| - DLMveloper/DLM_DataSet | |
| - openai/gsm8k | |
| - ruggsea/infini-news-corpus | |
| language: | |
| - ru | |
| - en | |
| license: other | |
| license_name: dlm-license | |
| license_link: LICENSE | |
| base_model: | |
| - DLMveloper/Solade_1.0 | |
| # Model Card for Solade | |
| ## Model Details | |
| ### Model Description | |
| Языковая модель на 2 миллиардов параметр, | |
| - **Developed by:** DLMveloper | |
| - **Model type:** Decoder-only transformer (text generation) | |
| - **Language(s):** Russian, English, Kazakh | |
| - **License:** [DLM] |