Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,13 @@
|
|
| 1 |
# Neural Network-Based Language Model for Next Token Prediction
|
|
|
|
|
|
|
| 2 |
|
| 3 |
This repository contains a Jupyter Notebook implementation of a neural network-based language model designed for next token prediction. The model is trained using both English and assigned language(Finnish), leveraging a custom tokenizer and embedding model.
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
## Features
|
| 6 |
|
| 7 |
- **Training with Multiple Languages**: The model supports training in English and an additional language(Finnish).
|
|
|
|
| 1 |
# Neural Network-Based Language Model for Next Token Prediction
|
| 2 |
+
Project Overview:
|
| 3 |
+
This project involves the development of a Neural Network-based Language Model for next token prediction. The task is to create a model that can predict the next token (word or character) given a sequence of previous tokens. The model will be trained using two languages: English and Finnish. The main goal is to explore how neural networks can be applied to natural language processing tasks without relying on transformer-based architectures.
|
| 4 |
|
| 5 |
This repository contains a Jupyter Notebook implementation of a neural network-based language model designed for next token prediction. The model is trained using both English and assigned language(Finnish), leveraging a custom tokenizer and embedding model.
|
| 6 |
|
| 7 |
+
## Dataset Description
|
| 8 |
+
The datasets used for training are corpora in English and Finnish. For English https://huggingface.co/datasets/yahma/alpaca-cleaned was used, and for Finnish https://huggingface.co/datasets/saillab/taco-datasets/tree/main/multilingual-instruction-tuning-dataset%20/multilingual-alpaca-52k-gpt-4/Finnish was used.
|
| 9 |
+
Each dataset was tokenized using a custom tokenizer, and preprocessing included lowercasing, removing punctuation, and handling out-of-vocabulary (OOV) words. The data was then split into training, validation, and test sets.
|
| 10 |
+
|
| 11 |
## Features
|
| 12 |
|
| 13 |
- **Training with Multiple Languages**: The model supports training in English and an additional language(Finnish).
|