Views
No views yet
w11wo/javanese-distilbert-small-imdb which is then fine-tuned on the w11wo/imdb-javanese dataset consisting of Javanese IMDB movie reviews. It achieved an accuracy of 76.04% on the validation dataset. Many of the techniques used are based on a Hugging Face tutorial notebook written by Sylvain Gugger.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 TensorFlow nonetheless.| Model | #params | Arch. | Training/Validation data (text) |
|---|---|---|---|
javanese-distilbert-small-imdb-classifier | 66M | DistilBERT Small | Javanese IMDB (47.5 MB of text) |
| train loss | valid loss | accuracy | total time |
|---|---|---|---|
| 0.131 | 1.113 | 0.760 | 1:26:4 |
1from transformers import pipeline
2
3pretrained_name = "w11wo/javanese-distilbert-small-imdb-classifier"
4
5nlp = pipeline(
6 "sentiment-analysis",
7 model=pretrained_name,
8 tokenizer=pretrained_name
9)
10
11nlp("Film sing apik banget!")1@inproceedings{wongso2021causal,
2 title={Causal and Masked Language Modeling of Javanese Language using Transformer-based Architectures},
3 author={Wongso, Wilson and Setiawan, David Samuel and Suhartono, Derwin},
4 booktitle={2021 International Conference on Advanced Computer Science and Information Systems (ICACSIS)},
5 pages={1--7},
6 year={2021},
7 organization={IEEE}
8}