fix bert-roberta typo
Browse files
README.md
CHANGED
|
@@ -5,19 +5,19 @@ language:
|
|
| 5 |
library_name: transformers
|
| 6 |
---
|
| 7 |
|
| 8 |
-
#
|
| 9 |
|
| 10 |
-
This repository provides a pretrained
|
| 11 |
|
| 12 |
|
| 13 |
## How to use
|
| 14 |
|
| 15 |
```python
|
| 16 |
-
from transformers import
|
| 17 |
|
| 18 |
# Load the tokenizer and model
|
| 19 |
-
tokenizer =
|
| 20 |
-
model =
|
| 21 |
|
| 22 |
# Define a sample text
|
| 23 |
text = "Filenin Sultanları ilk maçını 29 Temmuz'da Hollanda'ya karşı oynayacak."
|
|
|
|
| 5 |
library_name: transformers
|
| 6 |
---
|
| 7 |
|
| 8 |
+
# TyBert Model
|
| 9 |
|
| 10 |
+
This repository provides a pretrained Bert model for Turkish by Trendyol, named TyBert. The model is useful for various natural language understanding tasks, such as text classification, named entity recognition, and more.
|
| 11 |
|
| 12 |
|
| 13 |
## How to use
|
| 14 |
|
| 15 |
```python
|
| 16 |
+
from transformers import BertTokenizer, BertModel
|
| 17 |
|
| 18 |
# Load the tokenizer and model
|
| 19 |
+
tokenizer = BertTokenizer.from_pretrained("Trendyol/tybert")
|
| 20 |
+
model = BertModel.from_pretrained("Trendyol/tybert")
|
| 21 |
|
| 22 |
# Define a sample text
|
| 23 |
text = "Filenin Sultanları ilk maçını 29 Temmuz'da Hollanda'ya karşı oynayacak."
|