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