Instructions to use techiaith/fullstop-welsh-punctuation-prediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use techiaith/fullstop-welsh-punctuation-prediction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="techiaith/fullstop-welsh-punctuation-prediction")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("techiaith/fullstop-welsh-punctuation-prediction") model = AutoModelForTokenClassification.from_pretrained("techiaith/fullstop-welsh-punctuation-prediction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
b0d41af
1
Parent(s): fbc429c
corrections
Browse files
README.md
CHANGED
|
@@ -6,9 +6,9 @@ tags:
|
|
| 6 |
- punctuation
|
| 7 |
license: mit
|
| 8 |
widget:
|
| 9 |
-
- text: "a yw'r gweinidog yn cytuno bod angen gwell gwasanaethau yn ne
|
| 10 |
example_title: "Example 1"
|
| 11 |
-
- text: "mae pwllheli yn dref
|
| 12 |
example_title: "Example 2"
|
| 13 |
metrics:
|
| 14 |
- f1
|
|
|
|
| 6 |
- punctuation
|
| 7 |
license: mit
|
| 8 |
widget:
|
| 9 |
+
- text: "a yw'r gweinidog yn cytuno bod angen gwell gwasanaethau yn ne ddwyrain cymru"
|
| 10 |
example_title: "Example 1"
|
| 11 |
+
- text: "mae pwllheli yn dref yng ngwynedd gogledd cymru ac mae llandrindod ym mhowys"
|
| 12 |
example_title: "Example 2"
|
| 13 |
metrics:
|
| 14 |
- f1
|