This repository serves as a hub for various Natural Language Processing (NLP) research projects, experiments, and implementations.
To install and set up the project, you can use the Python Poetry package manager. Follow the steps below:
-
Make sure you have Python installed on your system. You can download it from the official Python website: python.org.
-
Install Poetry by running the following command in your terminal or command prompt:
curl -sSL https://install.python-poetry.org | python3 -
Then, export the Poetry binary directory to your system's PATH:
export PATH="$HOME/.local/bin:$PATH"
Optionaly you can add this line to your
~/.bashrc
.Then you can run the following command to apply the changes:
source ~/.bashrc
Also you can install
poetry-exec-plugin
to enable running scripts from thepyproject.toml
file:poetry self add poetry-exec-plugin
-
Clone the repository to your local machine:
git clone https://github.com/KubiakJakub01/NLP-Research.git cd NLP-Research
-
Install the project dependencies using Poetry:
poetry install --with dev
-
To activate the virtual environment, run the following command:
source $(poetry env info --path)/bin/activate
Optionaly you can add the following line to your .bashrc:
alias activate="source $(poetry env info --path)/bin/activate"
Then you can activate the virtual environment by running:
activate