Downloads · 30 days
15
17% of all-time downloads
sasa2000/glm-4-1v-9b-thinking-text-only
glm-4-1v-9b-thinking-text-only is a text generation model from sasa2000. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This is a text-only extraction of zai-org/GLM-4.1V-9B-Thinking. It keeps the language model weights and tokenizer assets, and removes the vision/multimodal components.
Downloads · 30 days
15
17% of all-time downloads
All-time downloads
86
Public
Parameters
9.4B
18.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors18.8 GB · 100%
From the Hugging Face model README
This is a text-only extraction of zai-org/GLM-4.1V-9B-Thinking.
It keeps the language model weights and tokenizer assets, and removes the vision/multimodal components.
This repository is not an official ZhipuAI/zai-org release.
zai-org/GLM-4.1V-9B-Thinkingglm4Glm4ForCausalLMsafetensorsThe original VLM config uses a multimodal GLM4V architecture. For text-only loading with Transformers
AutoModelForCausalLM, the language backbone was converted to a loadable glm4 CausalLM config.
Validated locally with Transformers:
AutoConfig.from_pretrained(...) loads as Glm4ConfigAutoTokenizer.from_pretrained(...) loads successfullyAutoModelForCausalLM.from_pretrained(..., torch_dtype="auto", low_cpu_mem_usage=True) loads as Glm4ForCausalLM(1, 1, 151552)import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "sasa2000/glm-4-1v-9b-thinking-text-only"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
inputs = tokenizer("Explain why the sky looks blue.", return_tensors="pt").to(model.device)
with torch.no_grad():
output_ids = model.generate(**inputs, max_new_tokens=128)
print(tokenizer.decode(output_ids[0], skip_special_tokens=True))
This checkpoint is text-only. Image and video inputs are not supported because the vision encoder, multimodal projector, and related preprocessing assets were removed.
Please review the upstream model card and license for the original model's intended use, limitations, and terms.