semvec/pypi-packages huggingface dataset:
biqwen 0.2.1
Tool for converting Qwen from uni-directional to bi-directional for tasks like classification and sentence embeddings.
License: MIT
Requires Python: >=3.8
Keywords: qwen, bidirectional, transformers, classification, sentence embeddings

# BiQwen

This module allows you to train a [Qwen model](https://huggingface.co/Qwen) with bidirectional attention.

## Installation

```bash
pip install biqwen
```

## Usage
### Qwen 3 Moe
See [examples/biqwen3_moe_ner.py](./examples/biqwen3_moe_ner.py) for usage examples.

### Qwen 3
See [examples/biqwen3_ner.py](./examples/biqwen3_ner.py) for usage examples.

### Qwen 2 (2.5)
See [examples/biqwen2_ner.py](./examples/biqwen2_ner.py) for usage examples.