Ukrainian stress prediction using ByT5 and CTranslate2

This is model for a Python library for prediction stress in Ukrainian words by model mouseyy/stressifier-byt5-g2p-model converted to CTranslate2 format.

Comparing with original model mouseyy/stressifier-byt5-g2p-model it works 3 times faster on GPU, and depends only on ctranslate2 and huggingface_hub libraries.

Installation

pip install https://github.com/patriotyk/stressifier-byt5-ctranslate2

How to use

from ukrainian_stressifier_byt5_ct2 import UkrainianStressifier

stressifier = UkrainianStressifier()
result = stressifier.apply_stress_marks("Привіт, як справи?")
print(result)
Downloads last month
18
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for patriotyk/stressifier-byt5-g2p-ctranslate2

Finetuned
(1)
this model