Skip to main content

Tool for converting Qwen from uni-directional to bi-directional for tasks like classification and sentence embeddings.

Project description

BiQwen

This module allows you to train a Qwen model with bidirectional attention.

Installation

pip install biqwen

Usage

See examples/biqwen3_ner.py for usage examples.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

biqwen-0.2.0.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

biqwen-0.2.0-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

Details for the file biqwen-0.2.0.tar.gz.

File metadata

  • Download URL: biqwen-0.2.0.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.1 CPython/3.11.9 Windows/10

File hashes

Hashes for biqwen-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4248d0e57cee55bfc2c6ddc518c8452d5757bf964c538e62006b173e8670f195
MD5 0d271b6989f2281e4f03cd7f3cd7b43f
BLAKE2b-256 6bd24fa748494b57ceff0f3d0eff3f325abd6b1a982cef7bb9be0f4cf0ddf262

See more details on using hashes here.

File details

Details for the file biqwen-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: biqwen-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.1 CPython/3.11.9 Windows/10

File hashes

Hashes for biqwen-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0dc4ed582b1c50d0a2ffb6b7fc1ec5ee4126efaaeddd67e9c8335d03f93c3839
MD5 7f2ba5e2147fb8af1f6ebac44a7f247f
BLAKE2b-256 95a693a907d7911a190833d1c1dfe7489a9864da98cb4f2926c6e8636c77926d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page