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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

apol
/
alia-40b-distill-vapol

Text Generation
Transformers
Safetensors
GGUF
PEFT
llama-cpp
lora
qlora
dpo
distillation
multilingual
spanish
catalan
basque
galician
alia
Model card Files Files and versions
xet
Community

Instructions to use apol/alia-40b-distill-vapol with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use apol/alia-40b-distill-vapol with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-generation", model="apol/alia-40b-distill-vapol")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("apol/alia-40b-distill-vapol", device_map="auto")
  • PEFT

    How to use apol/alia-40b-distill-vapol with PEFT:

    Task type is invalid.
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • vLLM

    How to use apol/alia-40b-distill-vapol with vLLM:

    Install from pip and serve model
    # Install vLLM from pip:
    pip install vllm
    # Start the vLLM server:
    vllm serve "apol/alia-40b-distill-vapol"
    # Call the server using curl (OpenAI-compatible API):
    curl -X POST "http://localhost:8000/v1/completions" \
    	-H "Content-Type: application/json" \
    	--data '{
    		"model": "apol/alia-40b-distill-vapol",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
    Use Docker
    docker model run hf.co/apol/alia-40b-distill-vapol
  • SGLang

    How to use apol/alia-40b-distill-vapol 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 "apol/alia-40b-distill-vapol" \
        --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": "apol/alia-40b-distill-vapol",
    		"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 "apol/alia-40b-distill-vapol" \
            --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": "apol/alia-40b-distill-vapol",
    		"prompt": "Once upon a time,",
    		"max_tokens": 512,
    		"temperature": 0.5
    	}'
  • Docker Model Runner

    How to use apol/alia-40b-distill-vapol with Docker Model Runner:

    docker model run hf.co/apol/alia-40b-distill-vapol
alia-40b-distill-vapol
25.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 159 commits
apol's picture
apol
Remove stale internal reports and manifests
7f24ed8 verified 5 months ago
  • adapter-candidates
    Add v20 adapter tokenizer config 5 months ago
  • adapter
    Update 5 months ago
  • gguf_chunks
    Restore consistent Q4 checksum 5 months ago
  • manifests
    Remove stale internal reports and manifests 5 months ago
  • reports
    Remove stale internal reports and manifests 5 months ago
  • runtime
    Add runtime repair evaluation and documentation 5 months ago
  • .gitattributes
    6.09 kB
    Add Q4_K_M GGUF transport chunk ALIA-40b-distill-vapol-Q4_K_M.gguf.part-045 5 months ago
  • BLOG.md
    19.9 kB
    Update public card and manifests after artifact verification 5 months ago
  • README.md
    7.57 kB
    Update public card and manifests after artifact verification 5 months ago