Instructions to use LightningCreeper/MIA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LightningCreeper/MIA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LightningCreeper/MIA")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LightningCreeper/MIA", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LightningCreeper/MIA with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LightningCreeper/MIA" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LightningCreeper/MIA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/LightningCreeper/MIA
- SGLang
How to use LightningCreeper/MIA 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 "LightningCreeper/MIA" \ --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": "LightningCreeper/MIA", "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 "LightningCreeper/MIA" \ --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": "LightningCreeper/MIA", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use LightningCreeper/MIA with Docker Model Runner:
docker model run hf.co/LightningCreeper/MIA
Commit History
-
Create README.md
Verified signatured76af59
-
Upload Executor-FP8-BLOCK model
Verified signature49a106b
-
Upload 3 files
Verified signatureaed54a9 -
Upload model-00004-of-00004.safetensors
Verified signature806a0a0 -
Upload 4 files
Verified signature4670bb2
-
Upload 10 files
Verified signaturef629e1a -
Delete vocab.json
Verified signature4b5017d -
Delete video_preprocessor_config.json
Verified signatured0cba37 -
Delete tokenizer_config.json
Verified signaturef0052ed -
Delete tokenizer.json
Verified signature8dcfe14 -
Delete special_tokens_map.json
Verified signaturead97ddd -
Delete preprocessor_config.json
Verified signature30aadaa -
Delete model.safetensors.index.json
Verified signature5371ef4 -
Delete merges.txt
Verified signature35ce71f -
Delete generation_config.json
Verified signature656997d -
Delete config.json
Verified signaturee147699 -
Delete chat_template.jinja
Verified signature18e2d5e -
Delete added_tokens.json
Verified signaturea1dca28 -
Delete .gitattributes
Verified signature9cf6338 -
Upload 12 files
Verified signaturea73d21b -
Upload 12 files
Verified signatureda680de -
initial commit
Verified signatureb4740c4