Qwen3.5-4B-OnlyText / README.md
mrs83's picture
card: refresh to the current generator (drop the hardcoded language list, name both media stacks)
7df8d37 verified
|
Raw History Blame Contribute Delete
1.37 kB
metadata
license: apache-2.0
base_model: Qwen/Qwen3.5-4B
library_name: transformers
tags:
  - text-generation
  - conversational
  - text-only
pipeline_tag: text-generation

Qwen3.5-4B-OnlyText

Text-only causal language model derived from Qwen/Qwen3.5-4B by removing the vision and audio stacks (their towers/embedders and projector weights) and the multimodal special tokens. The text backbone and LM head are preserved, and the MTP draft head is preserved.

Details

  • Base model: Qwen/Qwen3.5-4B
  • Architecture: Qwen3_5ForCausalLM
  • Parameters: 4.33B
  • Layers: 32 · Hidden size: 2560
  • MTP head: preserved
  • Weights: bfloat16

Attribution

This model is a derivative of Qwen/Qwen3.5-4B by the Qwen team, released under the apache-2.0 license. All credit for the underlying weights and capabilities belongs to the original authors; this repository only removes modalities, it does not add new training.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("OnlyTextLLMs/Qwen3.5-4B-OnlyText")
tokenizer = AutoTokenizer.from_pretrained("OnlyTextLLMs/Qwen3.5-4B-OnlyText")