Skip to main content

bgm-tagger

A tiny character-level BiLSTM sequence tagger that parses anime release filenames into BIO/XML entities.

Installation

uv add bgm-tagger
# or
pip install bgm-tagger

Quick start

from bgm_tagger import BiLSTM

model = BiLSTM.from_pretrained("jiangzhexin/bgm-tagger-bilstm")
model.eval()

# Move to GPU if available
model.to("cuda")

text = "【喵萌奶茶屋】★01月新番★[迷宫饭 / Dungeon Meshi / Delicious in Dungeon][12][1080p][简日双语][招募翻译时轴]"

# One XML fragment per input filename
print(*model.predict(text), sep="\n")

# Or raw BIO tag sequences
print(*model.predict(text, return_type="bio"), sep="\n")

Pretrained model

Pretrained weights are hosted on Hugging Face:

Metadata

Release files for bgm-tagger 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bgm-tagger 0.0.1
File Size Uploaded
bgm_tagger-0.0.1.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bgm-tagger 0.0.1
File Interpreter ABI Platform
bgm_tagger-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / bgm_tagger-0.0.1.tar.gz

Download URL bgm_tagger-0.0.1.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f3dfa340754f55c01d6f43316b5f2b3ecb4d2d9102ae9d29bc7a2aec4cea3d47
BLAKE2b-256 checksum
How to use checksums
f122dde821c54cd0c2c8730021e80c731bcf93ac430e9b751b9f7abd8d5dace2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / bgm_tagger-0.0.1-py3-none-any.whl

Download URL bgm_tagger-0.0.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e61302825319f680d8521f06d86c39cebfd65da6814b9af0dba3e87026613dd7
BLAKE2b-256 checksum
How to use checksums
3ad5068b6819439b3f9f63197ae35a080b9ab1f4994685be7cbf12c079c66c66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page