Views
No views yet
| Dataset | # Examples |
|---|---|
| Train | 35 K |
| Validation | 5 K |
| Metrics | Score |
|---|---|
| Accuracy | 97.18 |
| F1 | 93.26 |
| Precision | 92.36 |
| Recall | 94.18 |
1# pipeline example
2
3from transformers import pipeline
4
5model_checkpoint = "Sultannn/bert-base-ft-ner-xtreme-id"
6token_classifier = pipeline(
7 "token-classification", model=model_checkpoint, aggregation_strategy="simple")
8
9text = "nama saya Tono saya bekerja di Facebook dan tinggal di Jawa"
10
11token_classifier(text)
12Made with ♥ in 🌏