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")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LightningCreeper/MIA", dtype="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
Upload 4 files
Browse files
.gitattributes
CHANGED
|
@@ -1 +1,5 @@
|
|
| 1 |
Trained-Planner/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
Trained-Planner/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
Trained-Executor/model-00001-of-00004.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
Trained-Executor/model-00002-of-00004.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
Trained-Executor/model-00003-of-00004.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
Trained-Executor/model-00004-of-00004.safetensors filter=lfs diff=lfs merge=lfs -text
|
Trained-Executor/model-00001-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c167e1695aa9f46ec77d28bb83a0c419fc3a112f57d53155260e5067c3dc41f6
|
| 3 |
+
size 4945438048
|
Trained-Executor/model-00002-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6096c8bd8c63765ae60d8fc7bf74258a75ee1e85821afd8cadcf261cd0f1027d
|
| 3 |
+
size 4993764952
|
Trained-Executor/model-00003-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07805939e84420093ab50d21fc26d30997fc27e84abe7c040a63a71c396b03b6
|
| 3 |
+
size 4928333032
|
Trained-Executor/model-00004-of-00004.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73d241cb47c2376c30fee39b9d120a6adced4bca097ec5fd2ac1ede18d9139de
|
| 3 |
+
size 1716878472
|