Instructions to use unamedai/KateAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unamedai/KateAI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="unamedai/KateAI")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("unamedai/KateAI", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use unamedai/KateAI with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "unamedai/KateAI" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "unamedai/KateAI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/unamedai/KateAI
- SGLang
How to use unamedai/KateAI 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 "unamedai/KateAI" \ --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": "unamedai/KateAI", "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 "unamedai/KateAI" \ --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": "unamedai/KateAI", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use unamedai/KateAI with Docker Model Runner:
docker model run hf.co/unamedai/KateAI
Commit History
-
Update README.md
Verified signatureff932da -
Update README.md
Verified signature4d47116 -
Update README.md
Verified signatured375751 -
Update README.md
Verified signaturecb24c9a -
Update README.md
Verified signatureefa5e87
-
Update config.json
Verified signature017f0c9 -
Update config.json
Verified signature2df8c94 -
Update config.json
Verified signature671e00f
-
Upload model.safetensors
Verified signature989c5cb
-
Update README.md
bb937f3 -
Update README.md
3646f4f -
Update README.md
ba070c2
-
Update README.md
f954191 -
Update README.md
ff4d506 -
Update README.md
897b67a -
Update README.md
e74880e
-
Update README.md
141ac8a
-
Update README.md
f97eeb9
-
Upload KateAI.SOURCE.gguf
c2d840f -
Upload KateAI.Q5_K_M.gguf
94b2c9e
-
Upload KateAI.Q4_K_M.gguf
554f5d0 -
Upload Downloaded_Repo-134M-F16.gguf
f937fb5
-
Update config.json
ddba1ac
-
Update config.json
89d31c4
-
Update config.json
fbc38a3
-
Update config.json
3790cb2 -
Update config.json
cd0d226 -
Update config.json
794a249 -
Update config.json
fa6a743 -
Update config.json
564cc1b -
Update config.json
af28f1c -
Update config.json
43e8c26 -
Update config.json
45c9213
-
Update config.json
50baae6 -
Update README.md
8a2fdb8 -
Update config.json
b026668 -
Update config.json
adc09a3
-
Update README.md
747ffd1
-
Update README.md
edcdc9f -
Update README.md
6450b62 -
Update README.md
98e26b0 -
Update README.md
ee37ddb
-
Upload tokenizer
763077f -
Epoch 0 - Loss: 5.3058
c7cd934 -
Delete vocab.txt
9027534 -
Delete vocab.json
eecf21b -
Delete tokenizer_config.json
15cb2cd -
Delete special_tokens_map.json
2f0662d -
Delete model_card.yaml
812e391 -
Delete merges.txt
060a510