Text Generation
Transformers
Safetensors
glm_moe_dsa
abliterated
uncensored
glm
Mixture of Experts
conversational
Instructions to use skyblanket/GLM-5-abliterated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use skyblanket/GLM-5-abliterated with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="skyblanket/GLM-5-abliterated") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForMultimodalLM tokenizer = AutoTokenizer.from_pretrained("skyblanket/GLM-5-abliterated") model = AutoModelForMultimodalLM.from_pretrained("skyblanket/GLM-5-abliterated") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use skyblanket/GLM-5-abliterated with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "skyblanket/GLM-5-abliterated" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "skyblanket/GLM-5-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/skyblanket/GLM-5-abliterated
- SGLang
How to use skyblanket/GLM-5-abliterated 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 "skyblanket/GLM-5-abliterated" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "skyblanket/GLM-5-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "skyblanket/GLM-5-abliterated" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "skyblanket/GLM-5-abliterated", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use skyblanket/GLM-5-abliterated with Docker Model Runner:
docker model run hf.co/skyblanket/GLM-5-abliterated
Add files using upload-large-folder tool
Browse files- model-00045-of-00282.safetensors +3 -0
- model-00047-of-00282.safetensors +3 -0
- model-00051-of-00282.safetensors +3 -0
- model-00059-of-00282.safetensors +3 -0
- model-00060-of-00282.safetensors +3 -0
- model-00067-of-00282.safetensors +3 -0
- model-00070-of-00282.safetensors +3 -0
- model-00073-of-00282.safetensors +3 -0
- model-00074-of-00282.safetensors +3 -0
- model-00078-of-00282.safetensors +3 -0
- model-00081-of-00282.safetensors +3 -0
- model-00084-of-00282.safetensors +3 -0
- model-00091-of-00282.safetensors +3 -0
- model-00092-of-00282.safetensors +3 -0
- model-00107-of-00282.safetensors +3 -0
- model-00110-of-00282.safetensors +3 -0
model-00045-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:09fd282d19f01fb9ce3b0ff43bf86e4996cfc52cc2c63aca549f13fb6040bf85
|
| 3 |
+
size 5360347144
|
model-00047-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5129747559ec92cd8b6ddac959ee04675f670d5a47224d9938d1985c209dea64
|
| 3 |
+
size 5360347312
|
model-00051-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee7b7343878f255f1b1c95570c69957a71366a94e1c6a0495a8e2ae4ed6e0e63
|
| 3 |
+
size 5360347312
|
model-00059-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2bd8c1b238e6a7e9399f0a985abc753e342c5153150d001e8a455105a82886a5
|
| 3 |
+
size 5360347296
|
model-00060-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f1d04ae9b8388e0c421059176f7513ef2f26905d2e6a09c28afecd12efe0790
|
| 3 |
+
size 5360347112
|
model-00067-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:68ce5e41a8980e47c5c2f8c14c70304f82783e41298468d47945e57c71b29aab
|
| 3 |
+
size 5360347168
|
model-00070-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f435782d215ac33283aedd439d3e1c59edb7650b3c911b91762e803236069663
|
| 3 |
+
size 5360347312
|
model-00073-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37bd6ae325014baefad3ea90342a390ddb27680d0f893ecc6a006c6ae615a403
|
| 3 |
+
size 5360347312
|
model-00074-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:20a6a32a607f5d2e17811aa80ac3f5f84aee5a35c6207e9996a0520a7a6f2c93
|
| 3 |
+
size 5360347248
|
model-00078-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b7faf14ea9f2eebd31f1c600031adece58e82e42cec6ad1ef57cc9a80ae4133
|
| 3 |
+
size 5360346968
|
model-00081-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a62db57b83f8421fbef42c02a9e2ec7e097e6ccc1f6a70587ef73de989bd91c
|
| 3 |
+
size 5360347320
|
model-00084-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:230286442eb757e3f18693657871b29f6fd78bdb864504e5e9c241b5d8b69ab5
|
| 3 |
+
size 5360347312
|
model-00091-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f950c6a4bf484e764ee403b5a6e881b4f3124c33ba7348a5fcddee657de5b53
|
| 3 |
+
size 5360347320
|
model-00092-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ad5f2100cb2b736c9337971acd3152a1dd5c8033386b22912f9d7a92f93e618
|
| 3 |
+
size 5360347312
|
model-00107-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf80f6bc822b1e09a6d1fc40721be0cf0967b4b83ab2e5f4a931278c6c7e47b4
|
| 3 |
+
size 5360347288
|
model-00110-of-00282.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:afcf77c4e5bde92deadec9a3a1272031348ab772327bfb88feb21bf356e7f6d8
|
| 3 |
+
size 5360347312
|