Next word prediction using LSTM

Afika, Rianti and Suprih, Widodo and Atikah, Dhani Ayuningtyas and Fadlan, Bima Hermawan (2022) Next word prediction using LSTM. Journal of Information Technology and Its Utilization, 5 (1): 2. pp. 10-13. ISSN 2654-802X

[thumbnail of Jurnal_Afika Rianti_UIN Syarif Hidayatullah Jakarta_2022.pdf]
Preview
Text
Jurnal_Afika Rianti_UIN Syarif Hidayatullah Jakarta_2022.pdf - Published Version
Available under License Creative Commons Attribution Non-commercial Share Alike.

Download (223kB) | Preview

Abstract

Next word prediction which is also called as language modelling is one field of natural language processing that can help to predict the next word. It’s one of the uses of machine learning. Some researchers before had discussed it using different models such as recurrent neural networks and federated text models. Each researcher used their own models to make the prediction and so the researcher here. Researchers here chose to make the model using long short term memory (LSTM) model with 200 epoch for the training. For the dataset, the researcher used web scraping. The dataset contains 180 Indonesian destinations from nine provinces. For the libraries, researchers used tensorflow, keras, numpy, and matplotlib. To download the model in json format, the researcher used tensorflowjs. Then for the tool to code, the researcher used Google Colab. The last result is 8ms/step, loss: 55%, and accuracy: 75% which means it’s good enough and can be used to predict next words.

Item Type: Article
Uncontrolled Keywords: Machine learning, Next word prediction, LSTM
Subjects: Computers, Control & Information Theory > Applications Software
Divisions: BATAN > Pusat Reaktor Serba Guna
IPTEK > BATAN > Pusat Reaktor Serba Guna
Depositing User: Djaenudin djae Mohamad
Date Deposited: 20 Dec 2022 12:31
Last Modified: 20 Dec 2022 12:31
URI: https://karya.brin.go.id/id/eprint/13966

Actions (login required)

View Item
View Item