Machine Learning · Shipped
TextGen
A natural-language generation app — Bi-LSTM/LSTM networks combined with a pre-trained LLM, tuned with attention mechanisms and prompt engineering for coherent, contextually relevant text.
Overview
A natural-language generation app — Bi-LSTM/LSTM networks combined with a pre-trained LLM, tuned with attention mechanisms and prompt engineering for coherent, contextually relevant text.
What I built
Bi-LSTM + LSTM architecture combined with a pre-trained LLM, trained and served with PyTorch
Attention mechanisms + prompt engineering for contextual coherence
BLEU/ROUGE evaluation against reference text, plus an interactive Streamlit UI for live generation
Architecture
Bidirectional LSTM and LSTM layers combined with a pre-trained language model, built and served with PyTorch.
Attention mechanisms focus on the relevant parts of the input sequence, and prompt engineering improves contextual coherence.
A Streamlit interface lets you generate text, try prompt variations and customise settings live.
If you supply a reference text, the app scores the output with BLEU and ROUGE.
Results
Built-in evaluation with BLEU and ROUGE-1, ROUGE-2 and ROUGE-L, so quality is measured rather than eyeballed.