Instructions to use InferenceIllusionist/Excalibur-7b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use InferenceIllusionist/Excalibur-7b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="InferenceIllusionist/Excalibur-7b")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("InferenceIllusionist/Excalibur-7b") model = AutoModelForCausalLM.from_pretrained("InferenceIllusionist/Excalibur-7b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use InferenceIllusionist/Excalibur-7b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "InferenceIllusionist/Excalibur-7b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "InferenceIllusionist/Excalibur-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/InferenceIllusionist/Excalibur-7b
- SGLang
How to use InferenceIllusionist/Excalibur-7b 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 "InferenceIllusionist/Excalibur-7b" \ --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": "InferenceIllusionist/Excalibur-7b", "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 "InferenceIllusionist/Excalibur-7b" \ --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": "InferenceIllusionist/Excalibur-7b", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use InferenceIllusionist/Excalibur-7b with Docker Model Runner:
docker model run hf.co/InferenceIllusionist/Excalibur-7b
Commit History
-
Update README.md
Verified signature2d9610a -
Update README.md
Verified signatureb9be6c0
-
Update README.md
Verified signature42ad8b0
-
Update README.md
Verified signature* Added mergekit_configs for the 2 merge steps prior to the final SLERP for transparency. * QOL: Added links to other models in card itself for fast reference1758358
-
Update README.md
Verified signaturee868350
-
Added benchmark dataset link
Verified signatureNot sure why the leaderboard-pr-bot didn't kick off but adding the link to results for clarification anyway.586f371 -
Update README.md
Verified signature4562725 -
Update README.md
Verified signature0493a5d
-
Adding benchmark comparison table
Verified signature0be7e11 -
Update README.md
Verified signatured620a68 -
Update README.md
Verified signatureacf5423
-
Update README.md
Verified signatureceb9fd0 -
Update README.md
Verified signature2c53778 -
Update README.md
Verified signature6a31197 -
Update README.md
Verified signature785818d -
Update README.md
Verified signature8c1fd6e -
Update README.md
Verified signatured7961b5 -
Update README.md
Verified signature91984c2 -
Upload 10 files
Verified signaturec8b7979 -
Update README.md
Verified signaturea343534
-
Update README.md
Verified signaturea52247d -
initial commit
Verified signature2fdeec6