Downloads · 30 days
13
13% of all-time downloads
sasa2000/minicpm-v-4.6-text-only
minicpm-v-4.6-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 apache-2.0.
This is a text-only extraction of openbmb/MiniCPM-V-4.6. It keeps the Qwen3.5 text backbone and tokenizer assets, and removes the vision/multimodal components.
Downloads · 30 days
13
13% of all-time downloads
All-time downloads
102
Public
Parameters
752M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.5 GB · 99%
From the Hugging Face model README
This is a text-only extraction of openbmb/MiniCPM-V-4.6.
It keeps the Qwen3.5 text backbone and tokenizer assets, and removes the vision/multimodal components.
This repository is not an official OpenBMB release.
openbmb/MiniCPM-V-4.6d7f5ed8d15462c508d4f9d9ce5a0cf1fe8d87bccMiniCPMV4_6ForConditionalGenerationqwen3_5_textQwen3_5ForCausalLMmodel.vision_tower.*model.safetensorsThe original VLM config stores the text backbone under text_config and the weights under
model.language_model.*. The extracted checkpoint strips that prefix and writes a standalone
Qwen3.5 text CausalLM config for AutoModelForCausalLM.
Validated locally with Transformers:
AutoConfig.from_pretrained(...) loads as Qwen3_5TextConfigAutoTokenizer.from_pretrained(...) loads successfullyAutoModelForCausalLM.from_pretrained(..., torch_dtype="auto", low_cpu_mem_usage=True) loads as Qwen3_5ForCausalLM(1, 1, 248094)The model uses Qwen3.5 text linear-attention layers. Without optional fast-path packages, Transformers falls back to the torch implementation.
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "sasa2000/minicpm-v-4.6-text-only"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
messages = [{"role": "user", "content": "Explain why the sky looks blue."}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, 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 tower, multimodal processing assets, and related preprocessing files were removed.
Please review the upstream model card and license for the original model's intended use, limitations, and terms.