Instructions to use EldritchLavender/Spookie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EldritchLavender/Spookie with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EldritchLavender/Spookie")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EldritchLavender/Spookie") model = AutoModelForCausalLM.from_pretrained("EldritchLavender/Spookie", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use EldritchLavender/Spookie with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EldritchLavender/Spookie" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EldritchLavender/Spookie", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/EldritchLavender/Spookie
- SGLang
How to use EldritchLavender/Spookie 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 "EldritchLavender/Spookie" \ --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": "EldritchLavender/Spookie", "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 "EldritchLavender/Spookie" \ --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": "EldritchLavender/Spookie", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use EldritchLavender/Spookie with Docker Model Runner:
docker model run hf.co/EldritchLavender/Spookie
Commit History
-
Upload tokenizer
Verified signatureeb2e13c -
Upload model
Verified signature074ffa0 -
Upload tokenizer
Verified signature144fdb5 -
Upload model
Verified signature862e3c5 -
Upload model
Verified signature6961086 -
Upload model
Verified signature4a88c36 -
Upload model
Verified signaturee3fe158
-
Upload config.json
7d22459 -
Upload pytorch_model.bin with git-lfs
33733e8 -
Delete tokenizer_config.json
c6e67fa -
Delete tokenizer.json
814db67 -
Delete special_tokens_map.json
b22e404 -
Delete config.json
543bba7 -
Delete pytorch_model.bin
6d79001 -
Upload tokenizer.json
b126158 -
Upload special_tokens_map.json
141b03a -
Upload config.json
d2a40cc -
Upload tokenizer_config.json
006a073 -
Upload pytorch_model.bin with git-lfs
60169f7 -
Upload vocab.json
2cc24e7 -
Update README.md
b04fcf3 -
Create README.md
4bc33c5 -
initial commit
6ae32dc