Text Generation
Transformers
Safetensors
English
clokcem
causal-lm
customer-care
thinking-head
intent-classification
quality-gate
gqa
swiglu
rmsnorm
rope
indian-languages
Instructions to use clokai/CLOK-CEM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use clokai/CLOK-CEM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="clokai/CLOK-CEM")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("clokai/CLOK-CEM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use clokai/CLOK-CEM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "clokai/CLOK-CEM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "clokai/CLOK-CEM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/clokai/CLOK-CEM
- SGLang
How to use clokai/CLOK-CEM 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 "clokai/CLOK-CEM" \ --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": "clokai/CLOK-CEM", "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 "clokai/CLOK-CEM" \ --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": "clokai/CLOK-CEM", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use clokai/CLOK-CEM with Docker Model Runner:
docker model run hf.co/clokai/CLOK-CEM
Commit History
-
Update README.md
Verified signatureb4f6a7e -
Update README.md
Verified signature5f25910 -
Update README.md
Verified signature358c8ca
-
Upload README.md with huggingface_hub
Verified signaturee5911e1 -
Update README.md
Verified signatureadd88bd -
Update README.md
Verified signature527d914 -
Update README.md
Verified signaturebdfc30e -
Update README.md
Verified signatureb0d50ef -
Upload banner/img.png
Verified signature9a71899 -
Update README.md
Verified signaturea591f9f -
Update README.md
Verified signature2f4fee6 -
Upload README.md with huggingface_hub
Verified signatureedf3000 -
Update README.md
Verified signatureec7e189 -
Update README.md
Verified signaturedf5ade5 -
Update README.md
Verified signature132a5c2 -
Upload README.md with huggingface_hub
Verified signatureaf85891 -
Update README.md
Verified signature22e05c0 -
Upload README.md with huggingface_hub
Verified signature5d2e351 -
Upload README.md with huggingface_hub
Verified signaturedaa7fab -
Delete .tmp2l3qoy with huggingface_hub
Verified signature857c474 -
Upload folder using huggingface_hub
Verified signature77c2d2e
-
initial commit
Verified signaturef8724b6