YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Qwen3-4B-A2D-untrained-dllm-convert

Qwen3-4B converted to A2D architecture (bidirectional attention) using dllm convert pipeline.

  • Base model: Qwen/Qwen3-4B
  • Architecture: A2D-Qwen3 (non-causal attention, same weights as original)
  • Parameters: 4.02B
  • Vocab size: 151936
  • Model type: a2d-qwen3

This model has the original Qwen3-4B weights with bidirectional (non-causal) attention. No diffusion pretraining or SFT has been applied.

Mask token registration: The mask token <|MASK|> (ID 151669) is registered in the tokenizer for use with diffusion-based language modeling. The original Qwen3 tokenizer includes <|MASK|> in special_tokens_map.json but does not register it in tokenizer_config.json, so tokenizer.mask_token_id returns None. We fixed this by adding <|MASK|> to the added_tokens_decoder section and the mask_token field in tokenizer_config.json, and adding the full mask_token entry in special_tokens_map.json. After this fix, tokenizer.mask_token_id correctly returns 151669.

Downloads last month
4
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including divelab/Qwen3-4B-a2d-init