Update README.md
Browse files
README.md
CHANGED
|
@@ -75,8 +75,10 @@ Fine-Tuning Process : https://github.com/saribasmetehan/bert-base-turkish-uncase
|
|
| 75 |
## Example
|
| 76 |
```markdown
|
| 77 |
from transformers import pipeline
|
|
|
|
|
|
|
| 78 |
text = "Bu toplam sıfır ise, Newton'ın birinci yasası cismin hareket durumunun değişmeyeceğini söyler."
|
| 79 |
-
model_id = saribasmetehan/bert-base-turkish-uncased-ner"
|
| 80 |
ner = pipeline("ner",model = model_id)
|
| 81 |
preds= ner(text, aggregation_strategy = "simple")
|
| 82 |
|
|
|
|
| 75 |
## Example
|
| 76 |
```markdown
|
| 77 |
from transformers import pipeline
|
| 78 |
+
import pandas as pd
|
| 79 |
+
|
| 80 |
text = "Bu toplam sıfır ise, Newton'ın birinci yasası cismin hareket durumunun değişmeyeceğini söyler."
|
| 81 |
+
model_id = "saribasmetehan/bert-base-turkish-uncased-ner"
|
| 82 |
ner = pipeline("ner",model = model_id)
|
| 83 |
preds= ner(text, aggregation_strategy = "simple")
|
| 84 |
|