Instructions to use arteml3/STABLE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use arteml3/STABLE with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B") model = PeftModel.from_pretrained(base_model, "arteml3/STABLE") - Transformers
How to use arteml3/STABLE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="arteml3/STABLE") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("arteml3/STABLE", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use arteml3/STABLE with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "arteml3/STABLE" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "arteml3/STABLE", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/arteml3/STABLE
- SGLang
How to use arteml3/STABLE 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 "arteml3/STABLE" \ --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": "arteml3/STABLE", "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 "arteml3/STABLE" \ --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": "arteml3/STABLE", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use arteml3/STABLE with Docker Model Runner:
docker model run hf.co/arteml3/STABLE
Download tokenizer.json from arteml3/STABLE: direct link, hf CLI and curl.
- Browser
- Download file 11.4 MB
-
https://huggingface.co/arteml3/STABLE/resolve/main/tokenizer.json
- Command line
-
hf download hf://arteml3/STABLE/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/arteml3/STABLE/resolve/main/tokenizer.json
11.4 MB
- Xet hash:
- 84057876e745b7621cb1b682794c63e6425660ba452648e9c935a59e11a2f499
- Size of remote file:
- 11.4 MB
- SHA256:
- 962b8d8c521fefa934665afddae177326e974ddd6a26e69ff31ad6bccbb5593b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.