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:
- Model: jiangzhexin/bgm-tagger-bilstm
- Training dataset: jiangzhexin/bgm-bio-xml
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bgm_tagger-0.0.1.tar.gz | 4.1 kB | Without provenance | Details for bgm_tagger-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bgm_tagger-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for bgm_tagger-0.0.1-py3-none-any.whl |
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}
|
Security for bgm-tagger 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.