Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Agenix-AI
/
ARZ-LLM-CHECKPOINTS

Text Generation
PEFT
Safetensors
Transformers
lora
sft
trl
conversational
Model card Files Files and versions
xet
Community

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)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("Agenix-AI/ARZ-LLM-CHECKPOINTS", dtype="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
ARZ-LLM-CHECKPOINTS / additional_chat_templates
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Marcus888's picture
Marcus888
Add files using upload-large-folder tool
951965a verified 6 months ago
  • rag.jinja
    11.4 kB
    Add files using upload-large-folder tool 6 months ago
  • tool_use.jinja
    11.4 kB
    Add files using upload-large-folder tool 6 months ago