Instructions to use fiveflow/roberta-base-spacing with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fiveflow/roberta-base-spacing with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="fiveflow/roberta-base-spacing")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("fiveflow/roberta-base-spacing") model = AutoModelForTokenClassification.from_pretrained("fiveflow/roberta-base-spacing") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -7,6 +7,10 @@ pipeline_tag: token-classification
|
|
| 7 |
# Korean Spacing Model
|
| 8 |
한국어 RoBERTa를 활용하여 만든 띄어쓰기 모델입니다.
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
```python
|
| 11 |
import torch
|
| 12 |
from transformers import AutoModelForTokenClassification, AutoTokenizer, AutoConfig
|
|
@@ -46,4 +50,5 @@ print(pred_sent.strip())
|
|
| 46 |
archivePrefix={arXiv},
|
| 47 |
primaryClass={cs.CL}
|
| 48 |
}
|
| 49 |
-
|
|
|
|
|
|
| 7 |
# Korean Spacing Model
|
| 8 |
한국어 RoBERTa를 활용하여 만든 띄어쓰기 모델입니다.
|
| 9 |
|
| 10 |
+
<a href="https://github.com/kwon13/robust-spacing">
|
| 11 |
+
<img src="https://img.shields.io/badge/Next Repo-181717?style=flat-square&logo=GitHub&logoColor=white"/>
|
| 12 |
+
</a>
|
| 13 |
+
|
| 14 |
```python
|
| 15 |
import torch
|
| 16 |
from transformers import AutoModelForTokenClassification, AutoTokenizer, AutoConfig
|
|
|
|
| 50 |
archivePrefix={arXiv},
|
| 51 |
primaryClass={cs.CL}
|
| 52 |
}
|
| 53 |
+
|
| 54 |
+
```
|