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