Views
No views yet
| Language | Bundle | Status in flexaligner==0.2.0a1 |
|---|---|---|
| English | en/chunker + en/aligner | Release-tested for CPU single-file alignment; supported by the guarded CLI downloader |
| Mandarin | zh/chunker + zh/aligner | Weights are preserved; the package's complete Mandarin text-processing and alignment pipeline remains a reserved interface |
1.
2├── README.md
3├── model_manifest.json
4├── en
5│ ├── chunker
6│ └── aligner
7└── zh
8 ├── chunker
9 └── alignermodel.safetensors plus its Transformers
configuration, preprocessor, tokenizer, and vocabulary files.
model_manifest.json fixes the English release file set, sizes, and SHA-256
digests used by the package downloader.python -m pip install "flexaligner[inference]==0.2.0a1"1# Hugging Face official endpoint
2flexaligner models fetch --yes --model-source official
3
4# Explicit domestic mirror endpoint
5flexaligner models fetch --yes --model-source mirror--yes explicitly authorizes the
download. The downloader pins v0.2.0a1, requests only the English release files,
and validates the manifest hash, file sizes, and SHA-256 digests before use.1from pathlib import Path
2
3from huggingface_hub import snapshot_download
4
5snapshot = Path(
6 snapshot_download(
7 repo_id="USTCPhonetics/FlexAligner",
8 revision="v0.2.0a1",
9 allow_patterns=[
10 "model_manifest.json",
11 "en/chunker/**",
12 "en/aligner/**",
13 ],
14 )
15)
16
17chunker_dir = snapshot / "en" / "chunker"
18aligner_dir = snapshot / "en" / "aligner"main branch. The package release pins Hub commit
f9ca09d445e5e8981e43eca6a2f5421526ddc59e.1flexaligner align \
2 --audio recording.wav \
3 --text-file transcript.txt \
4 --lexicon english.dict \
5 --output recording.TextGrid \
6 --chunk-metadata recording.alignment.json \
7 --num-threads 1--chunker-model and --aligner-model. See the
GitHub README for
the complete CLI and Python API documentation.words and phones tiers with explicit NULL intervals.| 语言 | 模型目录 | flexaligner==0.2.0a1 状态 |
|---|---|---|
| 英语 | en/chunker + en/aligner | 已完成 CPU 单文件 release-E2E;包内受控下载器正式支持 |
| 普通话 | zh/chunker + zh/aligner | 权重继续保留;完整的普通话分词、发音生成和端到端对齐链路仍为预留接口 |
1python -m pip install "flexaligner[inference]==0.2.0a1"
2
3# Hugging Face 官方端点
4flexaligner models fetch --yes --model-source official
5
6# 国内镜像端点
7flexaligner models fetch --yes --model-source mirror--yes 明确授权。
下载器固定 v0.2.0a1,仅请求英语发布文件,并在使用前校验 manifest hash、文件大小
和 SHA-256。需要完全离线运行时,应同时显式传入 --chunker-model 和
--aligner-model。words 和 phones 层使用明确的 NULL 区间表示未覆盖时段。v0.2.0a1 is the exact bundle used by the public-alpha
release E2E. The Mandarin bundle is preserved byte-for-byte from Hub revision
e6b0be0b2717655165fd0899dc652455c85eabd6. Detailed training-corpus
documentation is not included in this model-card revision; unsupported benchmark,
population, or domain-coverage claims must not be inferred.v0.2.0a1 的英语 bundle 是公开 alpha release-E2E 使用的精确模型;普通话 bundle
从 Hub revision e6b0be0b2717655165fd0899dc652455c85eabd6 逐字节保留。
本版模型卡尚未提供详细训练语料说明,不应据此推导未明确报告的准确率、人群或领域覆盖结论。