Naozumi0512/g2pW-canto-20241206-bert-base
By Naozumi0512 · ↓ 0 · ♥ 1 · Updated 2025-01-27
What's in this repo
This page lists the files in Naozumi0512/g2pW-canto-20241206-bert-base, including g2pw.onnx.
- 1 ONNX models (.onnx files)
- 6 files, including 2 .txt, 1 .md, 1 .py, 1 .onnx
- Last updated 2025-01-27
ONNX files
| File | Size | Download |
|---|---|---|
| g2pw.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
g2pW-canto-20241206-bert-base
This is a G2P (Grapheme-to-Phoneme) model trained on the Naozumi0512/g2p-Cantonese-aggregate-pos-retag dataset and evaluated on the yue-g2p-benchmark.
Model Overview
The model uses hon9kon9ize/bert-base-cantonese. For more details see https://github.com/Naozumi520/g2pW-Cantonese .
Dataset
The model was trained on the Naozumi0512/g2p-Cantonese-aggregate-pos-retag dataset, which includes:
- 68,500 Cantonese words/phrases with corresponding phonetic transcriptions.
- Data is formatted to align with the CPP (Chinese Polyphones with Pinyin) structure.
- Sources include:
- Rime Cantonese Input Schema (
jyut6ping3.words.dict.yaml) - 粵典 Words.hk
- CantoDict
- Rime Cantonese Input Schema (
Evaluation
The model was evaluated on the yue-g2p-benchmark:
| Metric | Score |
|---|---|
| Accuracy | 0.9117 |
| Phoneme Error Rate | 0.0274 |
Inference
https://github.com/Naozumi520/g2pW-Cantonese/tree/20241206-bert-base
Model info
Created: 2024-12-06
Updated: 2025-01-27
View on Hugging FaceFiles (6)
Related models
More from Naozumi0512
More models
No task type declared.