Instructions to use nelson-pawait/checkpoints_3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nelson-pawait/checkpoints_3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nelson-pawait/checkpoints_3")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCausalLM processor = AutoProcessor.from_pretrained("nelson-pawait/checkpoints_3") model = AutoModelForCausalLM.from_pretrained("nelson-pawait/checkpoints_3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nelson-pawait/checkpoints_3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nelson-pawait/checkpoints_3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nelson-pawait/checkpoints_3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/nelson-pawait/checkpoints_3
- SGLang
How to use nelson-pawait/checkpoints_3 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 "nelson-pawait/checkpoints_3" \ --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": "nelson-pawait/checkpoints_3", "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 "nelson-pawait/checkpoints_3" \ --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": "nelson-pawait/checkpoints_3", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use nelson-pawait/checkpoints_3 with Docker Model Runner:
docker model run hf.co/nelson-pawait/checkpoints_3
Commit History
-
Training in progress, step 3500
Verified signature62be292 -
Training in progress, step 3000
Verified signaturee54dac4 -
Training in progress, step 2500
Verified signature538c6f6 -
Training in progress, step 2000
Verified signaturecd86eed -
Training in progress, step 1500
Verified signature4fe89f1 -
Training in progress, step 1000
Verified signature03f413d -
Training in progress, step 500
Verified signatureb5664b8
-
Training in progress, step 6000
Verified signature969e958 -
Training in progress, step 5500
Verified signatureca2f181 -
Training in progress, step 5000
Verified signature0046473 -
Training in progress, step 4500
Verified signatured2483d0 -
Training in progress, step 4000
Verified signature9391a22 -
Training in progress, step 3500
Verified signatureeaad879 -
Training in progress, step 3000
Verified signaturef922aba -
Training in progress, step 2500
Verified signature72ffbda -
Training in progress, step 2000
Verified signature1968915 -
Training in progress, step 1500
Verified signaturee829deb -
Training in progress, step 1000
Verified signature6b8ee87 -
Training in progress, step 500
Verified signaturee594ca3 -
Training in progress, step 500
Verified signature70c83a4
-
Training in progress, step 6000
Verified signature53c03f0 -
Training in progress, step 5500
Verified signaturee3aa3aa -
Training in progress, step 5000
Verified signature4213839 -
Training in progress, step 4500
Verified signature8f477b6 -
Training in progress, step 4000
Verified signatureac941b7 -
Training in progress, step 3500
Verified signaturea916dda -
Training in progress, step 3000
Verified signature13606ae -
Training in progress, step 2500
Verified signature68f2b34 -
Training in progress, step 2000
Verified signature405689c -
Training in progress, step 1500
Verified signature4f344b6 -
Training in progress, step 1000
Verified signature0eb82c8 -
Training in progress, step 500
Verified signature54384a5 -
initial commit
Verified signature8afaf2d