Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

PygmalionAI
/
Eleusis-12B-AWQ

Text Generation
Safetensors
English
mistral
conversational
4-bit precision
awq
Model card Files Files and versions
xet
Community

Instructions to use PygmalionAI/Eleusis-12B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Local Apps
  • vLLM

    How to use PygmalionAI/Eleusis-12B-AWQ with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "PygmalionAI/Eleusis-12B-AWQ"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/chat/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "PygmalionAI/Eleusis-12B-AWQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
    Use Docker
    docker model run hf.co/PygmalionAI/Eleusis-12B-AWQ
  • SGLang

    How to use PygmalionAI/Eleusis-12B-AWQ 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 "PygmalionAI/Eleusis-12B-AWQ" \
        --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": "PygmalionAI/Eleusis-12B-AWQ",
    		"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 "PygmalionAI/Eleusis-12B-AWQ" \
            --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": "PygmalionAI/Eleusis-12B-AWQ",
    		"messages": [
    			{
    				"role": "user",
    				"content": "What is the capital of France?"
    			}
    		]
    	}'
  • Docker Model Runner

    How to use PygmalionAI/Eleusis-12B-AWQ with Docker Model Runner:

    docker model run hf.co/PygmalionAI/Eleusis-12B-AWQ
Eleusis-12B-AWQ
8.37 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
alpindale's picture
alpindale
Create README.md
8097b8f verified over 1 year ago
  • .gitattributes
    1.57 kB
    Add files using upload-large-folder tool over 1 year ago
  • README.md
    110 Bytes
    Create README.md over 1 year ago
  • config.json
    835 Bytes
    Add files using upload-large-folder tool over 1 year ago
  • generation_config.json
    132 Bytes
    Add files using upload-large-folder tool over 1 year ago
  • model-00001-of-00002.safetensors
    4.99 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model-00002-of-00002.safetensors
    3.36 GB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • model.safetensors.index.json
    75.6 kB
    Add files using upload-large-folder tool over 1 year ago
  • special_tokens_map.json
    558 Bytes
    Add files using upload-large-folder tool over 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    Add files using upload-large-folder tool over 1 year ago
  • tokenizer_config.json
    178 kB
    Add files using upload-large-folder tool over 1 year ago