Instructions to use Agenix-AI/ARZ-LLM-CHECKPOINTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Agenix-AI/ARZ-LLM-CHECKPOINTS with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("CohereForAI/c4ai-command-r7b-12-2024") model = PeftModel.from_pretrained(base_model, "Agenix-AI/ARZ-LLM-CHECKPOINTS") - Transformers
How to use Agenix-AI/ARZ-LLM-CHECKPOINTS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Agenix-AI/ARZ-LLM-CHECKPOINTS") 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("Agenix-AI/ARZ-LLM-CHECKPOINTS", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Agenix-AI/ARZ-LLM-CHECKPOINTS with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Agenix-AI/ARZ-LLM-CHECKPOINTS" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Agenix-AI/ARZ-LLM-CHECKPOINTS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Agenix-AI/ARZ-LLM-CHECKPOINTS
- SGLang
How to use Agenix-AI/ARZ-LLM-CHECKPOINTS 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 "Agenix-AI/ARZ-LLM-CHECKPOINTS" \ --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": "Agenix-AI/ARZ-LLM-CHECKPOINTS", "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 "Agenix-AI/ARZ-LLM-CHECKPOINTS" \ --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": "Agenix-AI/ARZ-LLM-CHECKPOINTS", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Agenix-AI/ARZ-LLM-CHECKPOINTS with Docker Model Runner:
docker model run hf.co/Agenix-AI/ARZ-LLM-CHECKPOINTS
Commit History
-
Add files using upload-large-folder tool
Verified signature2cf84e5 -
Add files using upload-large-folder tool
Verified signature1e61687 -
Add files using upload-large-folder tool
Verified signature0fd1478 -
Add files using upload-large-folder tool
Verified signature715e318 -
Add files using upload-large-folder tool
Verified signature3fe8fcf -
Add files using upload-large-folder tool
Verified signatureb3771cc -
Add files using upload-large-folder tool
Verified signaturebf60779 -
Add files using upload-large-folder tool
Verified signature4b67def -
Add files using upload-large-folder tool
Verified signature8e90007 -
Add files using upload-large-folder tool
Verified signature5cb5a13 -
Add files using upload-large-folder tool
Verified signaturea5751ed -
Add files using upload-large-folder tool
Verified signature2d9eb3d -
Add files using upload-large-folder tool
Verified signature77ee661 -
Add files using upload-large-folder tool
Verified signature862798b -
Add files using upload-large-folder tool
Verified signature19310fd -
Add files using upload-large-folder tool
Verified signature73d9631 -
Add files using upload-large-folder tool
Verified signaturef011c4c -
Add files using upload-large-folder tool
Verified signature951965a -
Add files using upload-large-folder tool
Verified signature8228a23 -
Add files using upload-large-folder tool
Verified signature4c7d1a3 -
Add files using upload-large-folder tool
Verified signature4de91d8 -
Add files using upload-large-folder tool
Verified signatureab79e94 -
Add files using upload-large-folder tool
Verified signaturefa722e6 -
Add files using upload-large-folder tool
Verified signature89d062e -
Add files using upload-large-folder tool
Verified signaturefc2225d -
Add files using upload-large-folder tool
Verified signaturea26fdbb -
initial commit
Verified signature9073749