Run this model with HF Jobs
Run verbit/hebrew_punctuation 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/verbit/hebrew_punctuation. 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/verbit/hebrew_punctuation 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.
Instructions to use verbit/hebrew_punctuation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use verbit/hebrew_punctuation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import BertForPunctuation model = BertForPunctuation.from_pretrained("verbit/hebrew_punctuation", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files10 unmodified lines111213141516171819202122232425265 unmodified lines32333435363738394010 unmodified lines## IntroductionThis model is a fine-tuned version of AlephBERT, designed to restore punctuation in Hebrew spoken language transcripts. It is specifically trained as a post-processing step for Automatic Speech Recognition (ASR) outputs, where punctuation is often missing in raw transcriptions.## UsageFor now this is the recommended way to use this model:```git lfs installgit clone https://huggingface.co/verbit/hebrew_punctuationcd hebrew_punctuation```Once you are in the folder you could do the following:```from transformers import BertTokenizer5 unmodified linestokenizer = BertTokenizer.from_pretrained("verbit/hebrew_punctuation")model.eval()text = ("讞讘专转 讜专讘讬讟 驻讬转讞讛 诪注专讻转 诇转诪诇讜诇 讛诪讘讜住住转 注诇 讘讬谞讛 诪诇讗讻讜转讬转 讜讙讜专诐 讗谞讜砖讬 讜砖讜拽讚转 注诇 转诪诇讜诇 注讚讜讬讜转 谞讬爪讜诇讬 砖讜讗讛 讗转 ""讛转讜爪讗讜转 讗驻砖专 诇专讗讜转 讻讘专 讘专砖转 讘讛谉 讞诇拽讬诐 诪注讚讜转讜 砖诇 讟讜讘讬讛 讘讬讬诇住拽讬 砖讛讬讛 诪驻拽讚 讙讚讜讚 讛驻专讟讬讝谞讬诐 讛讬讛讜讚讬诐 ""讘讘讬讬诇讜专讜住讬讛")punct_text = get_prediction(model=model,text=text,10 unmodified lines11121314151617181920212223242526275 unmodified lines33343536373839404110 unmodified lines## IntroductionThis model is a fine-tuned version of AlephBERT, designed to restore punctuation in Hebrew spoken language transcripts. It is specifically trained as a post-processing step for Automatic Speech Recognition (ASR) outputs, where punctuation is often missing in raw transcriptions.## Install```git lfs installgit clone https://huggingface.co/verbit/hebrew_punctuationcd hebrew_punctuationpython -m venv .envsource .env/bin/activatepip install -r requirements.txt```## UsageFor now this is the recommended way to use this model:```from transformers import BertTokenizer5 unmodified linestokenizer = BertTokenizer.from_pretrained("verbit/hebrew_punctuation")model.eval()text = """讞讘专转 讜专讘讬讟 驻讬转讞讛 诪注专讻转 诇转诪诇讜诇 讛诪讘讜住住转 注诇 讘讬谞讛 诪诇讗讻讜转讬转 讜讙讜专诐 讗谞讜砖讬 讜砖讜拽讚转 注诇 转诪诇讜诇 注讚讜讬讜转 谞讬爪讜诇讬 砖讜讗讛讗转 讛转讜爪讗讜转 讗驻砖专 诇专讗讜转 讻讘专 讘专砖转 讘讛谉 讞诇拽讬诐 诪注讚讜转讜 砖诇 讟讜讘讬讛 讘讬讬诇住拽讬 砖讛讬讛 诪驻拽讚 讙讚讜讚 讛驻专讟讬讝谞讬诐 讛讬讛讜讚讬诐 讘讘讬讬诇讜专讜住讬讛"""punct_text = get_prediction(model=model,text=text,
README.md+9-8