Text Generation
Transformers
Safetensors
English
math
reasoning
reasoning-compression
self-distillation
crisp
Instructions to use pb09204048/CRISP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pb09204048/CRISP with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pb09204048/CRISP")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pb09204048/CRISP", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use pb09204048/CRISP with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pb09204048/CRISP" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pb09204048/CRISP", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/pb09204048/CRISP
- SGLang
How to use pb09204048/CRISP 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 "pb09204048/CRISP" \ --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": "pb09204048/CRISP", "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 "pb09204048/CRISP" \ --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": "pb09204048/CRISP", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use pb09204048/CRISP with Docker Model Runner:
docker model run hf.co/pb09204048/CRISP
- Xet hash:
- 71e9d15af3f0369294cd620ac32ecd3920b1c8dd41416457d98587de0a772be9
- Size of remote file:
- 17.2 MB
- SHA256:
- d91915040cfac999d8c55f4b5bc6e67367c065e3a7a4e4b9438ce1f256addd86
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.