Instructions to use ell-hol/palm_hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ell-hol/palm_hf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ell-hol/palm_hf")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ell-hol/palm_hf", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ell-hol/palm_hf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ell-hol/palm_hf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ell-hol/palm_hf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/ell-hol/palm_hf
- SGLang
How to use ell-hol/palm_hf 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 "ell-hol/palm_hf" \ --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": "ell-hol/palm_hf", "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 "ell-hol/palm_hf" \ --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": "ell-hol/palm_hf", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use ell-hol/palm_hf with Docker Model Runner:
docker model run hf.co/ell-hol/palm_hf
Commit History
-
Update README.md
8879987 -
Training in progress, step 7400
c48db95 -
Training in progress, step 5900
377bafb -
Training in progress, step 4000
83405cd -
Training in progress, step 2700
22d8f44 -
Training in progress, step 1300
72496e9 -
Training in progress, step 100
0fd25ad -
update model card README.md
f35ccc5 -
End of training
2593ec2 -
Training in progress, step 1600
75f0ae5 -
Training in progress, step 100
f649f13 -
update model card README.md
486fd87 -
End of training
ab3d0eb -
Training in progress, step 100
dc047f2 -
update model card README.md
64311fa -
End of training
d4ee87e -
Training in progress, step 100
eac4b2e -
Training in progress, step 100
3e43e90 -
Training in progress, step 2900
9ad13cd -
Training in progress, step 100
15f491c -
Training in progress, step 100
c2a7396 -
initial commit
2d0c1df