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:
# Load model directly from transformers import BertForPunctuation model = BertForPunctuation.from_pretrained("verbit/hebrew_punctuation", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -42,7 +42,6 @@ punct_text = get_prediction(
|
|
| 42 |
tokenizer=tokenizer,
|
| 43 |
backward_context=model.config.backward_context,
|
| 44 |
forward_context=model.config.forward_context,
|
| 45 |
-
return_prob=False
|
| 46 |
)
|
| 47 |
print(punct_text)
|
| 48 |
```
|
|
|
|
| 42 |
tokenizer=tokenizer,
|
| 43 |
backward_context=model.config.backward_context,
|
| 44 |
forward_context=model.config.forward_context,
|
|
|
|
| 45 |
)
|
| 46 |
print(punct_text)
|
| 47 |
```
|