Views
No views yet
IndoNLI's dataset consisting of Indonesian Wikipedia, news, and Web articles [1].test_lay subset, the model achieved an accuracy of 74.24% and on the benchmark test_expert subset, the model achieved an accuracy of 61.66%.Trainer class from the Transformers library was used to train the model. PyTorch was used as the backend framework during training, but the model remains compatible with other frameworks nonetheless.| Model | #params | Arch. | Training/Validation data (text) |
|---|---|---|---|
indonesian-roberta-base-indonli | 124M | RoBERTa Base | IndoNLI |
| Epoch | Training Loss | Validation Loss | Accuracy |
|---|---|---|---|
| 1 | 0.989200 | 0.691663 | 0.731452 |
| 2 | 0.673000 | 0.621913 | 0.766045 |
| 3 | 0.449900 | 0.662543 | 0.770596 |
| 4 | 0.293600 | 0.777059 | 0.768320 |
| 5 | 0.194200 | 0.948068 | 0.764224 |
1from transformers import pipeline
2
3pretrained_name = "w11wo/indonesian-roberta-base-indonli"
4
5nlp = pipeline(
6 "sentiment-analysis",
7 model=pretrained_name,
8 tokenizer=pretrained_name
9)
10
11nlp("Andi tersenyum karena mendapat hasil baik. </s></s> Andi sedih.")IndoNLI dataset that may be carried over into the results of this model.