PREDICTIVE TEXT GENERATION WITH LONG SHORT-TERM MEMORY BASED LANGUAGE MODELS

This project focuses on building a predictive model for next-word generation using deep learning Spreprocessing a text dataset to remove noise, punctuation, and irrelevant symbols, ensuring the text is ready for tokenization. A tokenizer is employed to convert the text into sequences of tokens, mapping each word to a unique index, and generating input sequences for model training. The data is then prepared by padding sequences to ensure uniform length and splitting them into input-output pairs for training. The core of the model is an LSTM-based neural network, designed to handle sequential data effectively by capturing temporal dependencies in text. The model predicts the next word in a sequence by training on these tokenized sequences. The architecture includes embedding layers for word representations, LSTM layers to process sequences, and dense layers for classification of the next word. The trained model is then evaluated for accuracy and saved for future use. To make the model accessible and interactive, a user interface is created, allowing users to input a sentence and receive a prediction for the next word. This interface leverages the trained model and tokenizer to generate predictions in real time, providing a practical tool for exploring language generation and aiding in various applications like writing assistance and text prediction.

Authors

Institutions

Publication Details

Journal
Journal of Nonlinear Analysis and Optimization
Published
2025-01-01
DOI
https://doi.org/10.36893/jnao.2025.v16.i01.024
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PREDICTIVE TEXT GENERATION WITH LONG SHORT-TERM MEMORY BASED LANGUAGE MODELS

S. Pavan Kumar, Y. Jahnavi, Saiqa Tabassum, Dr D..Ragavamsi et al.
3 links
Journal of Nonlinear Analysis and Optimization
Topic Modeling
article

PREDICTIVE TEXT GENERATION WITH LONG SHORT-TERM MEMORY BASED LANGUAGE MODELS

S. Pavan Kumar, Y. Jahnavi, Saiqa Tabassum, Dr D..Ragavamsi, T. Bebi Unnathi
article en

Abstract

This project focuses on building a predictive model for next-word generation using deep learning Spreprocessing a text dataset to remove noise, punctuation, and irrelevant symbols, ensuring the text is ready for tokenization. A tokenizer is employed to convert the text into sequences of tokens, mapping each word to a unique index, and generating input sequences for model training. The data is then prepared by padding sequences to ensure uniform length and splitting them into input-output pairs for training. The core of the model is an LSTM-based neural network, designed to handle sequential data effectively by capturing temporal dependencies in text. The model predicts the next word in a sequence by training on these tokenized sequences. The architecture includes embedding layers for word representations, LSTM layers to process sequences, and dense layers for classification of the next word. The trained model is then evaluated for accuracy and saved for future use. To make the model accessible and interactive, a user interface is created, allowing users to input a sentence and receive a prediction for the next word. This interface leverages the trained model and tokenizer to generate predictions in real time, providing a practical tool for exploring language generation and aiding in various applications like writing assistance and text prediction.

Journal of Nonlinear Analysis and OptimizationVol. 16(01)
Jawaharlal Nehru Technological University, Kakinada (IN)
Openalex Percentile: Top 97%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.