Run this model with HF Jobs

Run ruaccent/RUAccent-encoder on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/ruaccent/RUAccent-encoder. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ruaccent/RUAccent-encoder on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

RUAccent-encoder

Эта модель представляет собой энкодер для TTS систем, который умеет разрешать омографию. Предназначен для интеграции в TTS системы, но лучше обратите внимание на энкодер который вогнали в стресс (как и автора RUAccent)

Использование

import torch
from transformers import AutoModel
import chartk
tokenizer = chartk.CharacterTokenizer.from_pretrained('ruaccent/RUAccent-encoder')
model = AutoModel.from_pretrained('ruaccent/RUAccent-stressed-encoder')
text = "На горе стоит замок"
inputs = tokenizer(text, return_tensors='pt', padding=True, truncation=True, max_length=512)
with torch.no_grad():
    outputs = model(**inputs)
last_hidden_state = outputs.last_hidden_state
Downloads last month
45
Safetensors
Model size
28.7M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including ruaccent/RUAccent-encoder