File size: 1,372 Bytes
6039348
 
 
 
 
 
 
 
 
 
 
 
 
 
7df8d37
 
6039348
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
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](https://huggingface.co/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](https://huggingface.co/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](https://huggingface.co/Qwen/Qwen3.5-4B) 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("OnlyTextLLMs/Qwen3.5-4B-OnlyText")
tokenizer = AutoTokenizer.from_pretrained("OnlyTextLLMs/Qwen3.5-4B-OnlyText")
```