How to use bookbot/roberta-base-emphasis-onnx-quantized with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="bookbot/roberta-base-emphasis-onnx-quantized")
# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("bookbot/roberta-base-emphasis-onnx-quantized") model = AutoModelForQuestionAnswering.from_pretrained("bookbot/roberta-base-emphasis-onnx-quantized")
This is a custom Roberta model used for adding emphasis to phonemes. Example: l藞忙d瑟d蓹 -> "l藞忙d"瑟d蓹
l藞忙d瑟d蓹 -> "l藞忙d"瑟d蓹
Roberta base model