Instructions to use PurCL/src_prober_codellama-7b-last1unfreeze with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PurCL/src_prober_codellama-7b-last1unfreeze with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="PurCL/src_prober_codellama-7b-last1unfreeze")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForSeq2SeqLM model = AutoModelForSeq2SeqLM.from_pretrained("PurCL/src_prober_codellama-7b-last1unfreeze", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use PurCL/src_prober_codellama-7b-last1unfreeze with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "PurCL/src_prober_codellama-7b-last1unfreeze" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PurCL/src_prober_codellama-7b-last1unfreeze", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/PurCL/src_prober_codellama-7b-last1unfreeze
- SGLang
How to use PurCL/src_prober_codellama-7b-last1unfreeze 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 "PurCL/src_prober_codellama-7b-last1unfreeze" \ --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": "PurCL/src_prober_codellama-7b-last1unfreeze", "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 "PurCL/src_prober_codellama-7b-last1unfreeze" \ --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": "PurCL/src_prober_codellama-7b-last1unfreeze", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use PurCL/src_prober_codellama-7b-last1unfreeze with Docker Model Runner:
docker model run hf.co/PurCL/src_prober_codellama-7b-last1unfreeze
Commit History
-
Model save
Verified signature489288a -
Training in progress, step 10000, checkpoint
Verified signatureaa56c69 -
Training in progress, step 10000
Verified signatureb019415 -
Training in progress, step 9500
Verified signaturef8496a1 -
Training in progress, step 9000, checkpoint
Verified signature3d3e280 -
Training in progress, step 9000
Verified signatured5436c5 -
Training in progress, step 8500, checkpoint
Verified signaturea173257 -
Training in progress, step 8500
Verified signaturec6682e1 -
Training in progress, step 8000, checkpoint
Verified signaturee12444e -
Training in progress, step 8000
Verified signature7b96ab6 -
Training in progress, step 7500, checkpoint
Verified signature2900d5d -
Training in progress, step 7500
Verified signature86cc204 -
Training in progress, step 7000, checkpoint
Verified signature3e27398 -
Training in progress, step 7000
Verified signature08346df -
Training in progress, step 6500, checkpoint
Verified signature37a809e -
Training in progress, step 6500
Verified signature09bca0d -
Training in progress, step 6000, checkpoint
Verified signatureca427a5 -
Training in progress, step 6000
Verified signature9fc3877 -
Training in progress, step 5500, checkpoint
Verified signature0aacf2f -
Training in progress, step 5500
Verified signature2119857 -
Training in progress, step 5000, checkpoint
Verified signature6ef8bde -
Training in progress, step 5000
Verified signaturef999923 -
Training in progress, step 4500, checkpoint
Verified signature891c8bc -
Training in progress, step 4500
Verified signature04b4e18 -
Training in progress, step 4000, checkpoint
Verified signatureaad87fd -
Training in progress, step 4000
Verified signatureea282f3 -
Training in progress, step 3500, checkpoint
Verified signature8f71bc7 -
Training in progress, step 3500
Verified signature8228058 -
Training in progress, step 3000, checkpoint
Verified signatureba69803 -
Training in progress, step 3000
Verified signature6c08b43 -
Training in progress, step 2500, checkpoint
Verified signature967b7ef -
Training in progress, step 2500
Verified signatured3c13e8 -
Training in progress, step 2000, checkpoint
Verified signature93dd303 -
Training in progress, step 2000
Verified signature0910d3c -
Training in progress, step 1500, checkpoint
Verified signature061551b -
Training in progress, step 1500
Verified signature1ad81a2 -
Training in progress, step 1000, checkpoint
Verified signature28c2c05 -
Training in progress, step 1000
Verified signaturedac3024 -
Training in progress, step 500, checkpoint
Verified signature2685139 -
Training in progress, step 500
Verified signaturee62796a
-
initial commit
Verified signature8afc97f