--- license: apache-2.0 base_model: Qwen/Qwen4-35B-A3B library_name: transformers tags: - text-generation - conversational - text-only pipeline_tag: text-generation --- # Qwen4-35B-A3B-OnlyText Text-only causal language model derived from [Qwen/Qwen4-35B-A3B](https://huggingface.co/Qwen/Qwen4-35B-A3B) by removing the vision and audio stacks where present (their towers/embedders and projector weights), keeping the vocabulary — multimodal special tokens included — unchanged because this architecture derives features from the token ids themselves. The text backbone and LM head are preserved, and the **MTP draft head is preserved**. ## Details - Base model: [Qwen/Qwen4-35B-A3B](https://huggingface.co/Qwen/Qwen4-35B-A3B) - Architecture: `Qwen4MoeForCausalLM` - Parameters: 56.38B - Layers: 40 · Hidden size: 2048 - MTP head: preserved - Weights: `bfloat16` - Requires: `transformers>=5.26` (the `qwen4_moe_text` architecture) ## Attribution This model is a derivative of [Qwen/Qwen4-35B-A3B](https://huggingface.co/Qwen/Qwen4-35B-A3B) by the [Qwen team](https://huggingface.co/Qwen), released under the [apache-2.0 license](https://www.apache.org/licenses/LICENSE-2.0). 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 ```python from transformers import AutoModelForCausalLM, AutoTokenizer model = AutoModelForCausalLM.from_pretrained("Qwen4-35B-A3B-OnlyText") tokenizer = AutoTokenizer.from_pretrained("Qwen4-35B-A3B-OnlyText") ```