Instructions to use power-greg/super-fast-llm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use power-greg/super-fast-llm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="power-greg/super-fast-llm")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("power-greg/super-fast-llm") model = AutoModelForCausalLM.from_pretrained("power-greg/super-fast-llm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use power-greg/super-fast-llm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "power-greg/super-fast-llm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "power-greg/super-fast-llm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/power-greg/super-fast-llm
- SGLang
How to use power-greg/super-fast-llm 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 "power-greg/super-fast-llm" \ --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": "power-greg/super-fast-llm", "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 "power-greg/super-fast-llm" \ --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": "power-greg/super-fast-llm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use power-greg/super-fast-llm with Docker Model Runner:
docker model run hf.co/power-greg/super-fast-llm
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (b3ef1e5f4f4e5c9dee952557b603e227977228ef) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>642fcbe
-
Upload 2 files
a8e76d5
-
Upload 2 files
bff5280 -
Upload 2 files
6be6c51 -
Upload 2 files
35e604a -
Upload 2 files
428afda -
Upload 2 files
2899e76 -
Upload 2 files
0848e33 -
Upload 2 files
6c4171e -
Upload 2 files
b72cf42 -
Upload 2 files
718e1d8 -
Upload 2 files
8b8b2ba -
Upload 2 files
8a0e7d2 -
Upload 2 files
49a7f9c -
Upload 2 files
fe639a9 -
Upload 2 files
500aa8a -
Upload 2 files
be08b9f -
Upload 2 files
dbdf25a -
Upload 2 files
8ca408f -
Upload 2 files
431b939 -
Upload 2 files
ea4d7bc -
Upload 2 files
328da73 -
Upload 2 files
51823e9
-
Upload config.json
4ba66ef -
Upload 2 files
e35b84f -
Rename foundation-tokenizer.json to tokenizer.json
f7f8c98 -
Upload 3 files
fec5d85 -
initial commit
67a428a