Instructions to use FreedomIntelligence/Apollo-72B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FreedomIntelligence/Apollo-72B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="FreedomIntelligence/Apollo-72B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("FreedomIntelligence/Apollo-72B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use FreedomIntelligence/Apollo-72B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "FreedomIntelligence/Apollo-72B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "FreedomIntelligence/Apollo-72B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/FreedomIntelligence/Apollo-72B
- SGLang
How to use FreedomIntelligence/Apollo-72B 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 "FreedomIntelligence/Apollo-72B" \ --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": "FreedomIntelligence/Apollo-72B", "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 "FreedomIntelligence/Apollo-72B" \ --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": "FreedomIntelligence/Apollo-72B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use FreedomIntelligence/Apollo-72B with Docker Model Runner:
docker model run hf.co/FreedomIntelligence/Apollo-72B
Commit History
-
Upload ./model-00005-of-00031.safetensors with huggingface_hub
Verified signature5afffa1 -
Upload result.png
Verified signatureddb5607 -
Upload README.md
Verified signature052bef7 -
Upload result.png
Verified signature06ad98a -
Upload README.md
Verified signature9fc9abd -
Upload 3 files
Verified signature080fe3a -
Create assets/logo
Verified signatureef3c1a1
-
Upload Apollo-72B/model-00029-of-00031.safetensors with huggingface_hub
Verified signature755290c -
Upload Apollo-72B/model-00003-of-00031.safetensors with huggingface_hub
Verified signature1261842 -
Upload Apollo-72B/generation_config.json with huggingface_hub
Verified signaturee2fd061 -
Upload Apollo-72B/model-00026-of-00031.safetensors with huggingface_hub
Verified signaturefa5ecff -
Upload Apollo-72B/model-00011-of-00031.safetensors with huggingface_hub
Verified signature93b0661 -
Upload Apollo-72B/model-00014-of-00031.safetensors with huggingface_hub
Verified signaturebee2786 -
Upload Apollo-72B/model-00004-of-00031.safetensors with huggingface_hub
Verified signature28c98fa -
Upload Apollo-72B/model-00001-of-00031.safetensors with huggingface_hub
Verified signature85d347f -
Upload Apollo-72B/model-00025-of-00031.safetensors with huggingface_hub
Verified signature5542f24 -
Upload Apollo-72B/model-00007-of-00031.safetensors with huggingface_hub
Verified signature921e02f -
Upload Apollo-72B/model-00023-of-00031.safetensors with huggingface_hub
Verified signature483ee97 -
Upload Apollo-72B/model-00015-of-00031.safetensors with huggingface_hub
Verified signature7526b97 -
Upload Apollo-72B/model-00012-of-00031.safetensors with huggingface_hub
Verified signatureb813a33 -
Upload Apollo-72B/model-00019-of-00031.safetensors with huggingface_hub
Verified signature8e20709 -
Upload Apollo-72B/model-00022-of-00031.safetensors with huggingface_hub
Verified signature0fc0345 -
Upload Apollo-72B/model-00008-of-00031.safetensors with huggingface_hub
Verified signature91c3018 -
Upload Apollo-72B/model-00030-of-00031.safetensors with huggingface_hub
Verified signaturec930705 -
Upload Apollo-72B/modeling_qwen.py with huggingface_hub
Verified signature01ba51c -
Upload Apollo-72B/special_tokens_map.json with huggingface_hub
Verified signature803d071 -
Upload Apollo-72B/configuration_qwen.py with huggingface_hub
Verified signaturee108a7c -
Upload Apollo-72B/qwen.tiktoken with huggingface_hub
Verified signaturec2369c5 -
Upload Apollo-72B/model-00017-of-00031.safetensors with huggingface_hub
Verified signature4ac2d83 -
Upload Apollo-72B/model-00021-of-00031.safetensors with huggingface_hub
Verified signature4615081 -
Upload Apollo-72B/cache_autogptq_cuda_kernel_256.cu with huggingface_hub
Verified signatureb3db318 -
Upload Apollo-72B/model-00020-of-00031.safetensors with huggingface_hub
Verified signatureed7ff66 -
Upload Apollo-72B/model.safetensors.index.json with huggingface_hub
Verified signatured345ffb -
Upload Apollo-72B/model-00013-of-00031.safetensors with huggingface_hub
Verified signature2e8fbf1 -
Upload Apollo-72B/model-00016-of-00031.safetensors with huggingface_hub
Verified signature6fea671 -
Upload Apollo-72B/model-00006-of-00031.safetensors with huggingface_hub
Verified signature3805646 -
Upload Apollo-72B/tokenizer_config.json with huggingface_hub
Verified signature8942b16 -
Upload Apollo-72B/tokenization_qwen.py with huggingface_hub
Verified signature97b0290 -
Upload Apollo-72B/cache_autogptq_cuda_256.cpp with huggingface_hub
Verified signatureab61e53 -
Upload Apollo-72B/cpp_kernels.py with huggingface_hub
Verified signatureef4a7ca -
Upload Apollo-72B/model-00009-of-00031.safetensors with huggingface_hub
Verified signaturef3f1bb7 -
Upload Apollo-72B/model-00002-of-00031.safetensors with huggingface_hub
Verified signaturefd4ffa3 -
Upload Apollo-72B/model-00031-of-00031.safetensors with huggingface_hub
Verified signature077490c -
Upload Apollo-72B/model-00028-of-00031.safetensors with huggingface_hub
Verified signature382d174 -
Upload Apollo-72B/model-00018-of-00031.safetensors with huggingface_hub
Verified signature0b65835 -
Upload Apollo-72B/model-00024-of-00031.safetensors with huggingface_hub
Verified signature4cbe45f -
Upload Apollo-72B/qwen_generation_utils.py with huggingface_hub
Verified signature8de2ec1 -
Upload Apollo-72B/config.json with huggingface_hub
Verified signatureaaedddf -
Upload Apollo-72B/model-00010-of-00031.safetensors with huggingface_hub
Verified signaturec118562 -
Upload Apollo-72B/model-00027-of-00031.safetensors with huggingface_hub
Verified signaturec55c806