Token Classification
Transformers
ONNX
Safetensors
Transformers.js
modernbert
punctuation
punctuation-restoration
asr
speech-recognition
transcription
mmbert
Instructions to use Horizon-Labs/punctuation-restoration-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Horizon-Labs/punctuation-restoration-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Horizon-Labs/punctuation-restoration-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Horizon-Labs/punctuation-restoration-base") model = AutoModelForTokenClassification.from_pretrained("Horizon-Labs/punctuation-restoration-base", device_map="auto") - Transformers.js
How to use Horizon-Labs/punctuation-restoration-base with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('token-classification', 'Horizon-Labs/punctuation-restoration-base'); - Notebooks
- Google Colab
- Kaggle
Commit History
13 days ago
-
Card: punctuation/casing on real speech-recognizer output (FLEURS + Whisper)
Verified signaturea2994c9
-
v1.1: + spoken-style transcripts; TED F1 .784 -> .796 cased, .707 -> .723 lowercased
Verified signaturec56847f
-
v1.0: multilingual punctuation restoration (88 languages)
Verified signature4596e1b