A package demonstrating model implementation and deployment for solving practical problems.
# Navigate to your local folder
cd /your/local/folder
# Clone the WindML repository
git clone git@github.com:marcodigennaro/LLM.git
# Enter the folder
cd LLM/
# Create the python environment from the pyproject.toml file
poetry install
# Activate the python environment
source .venv/bin/activate
# Run tests
poetry run pytest -v
# Start Jupyter Lab
jupyter-lab
-
sentiment_analysis
shows three strategies for sentiment analysis on a database of amazon reviews- VADER (bag of words)
- RoBERTa (Transformer)
- Transformers Pipelines
-
RNN
demonstrate how to use a basic RNN as LLM- Reads a text (Prometheus's) legend and predict the continuation of the story
- Uses MDS, Isomaps and t-SNE representations to project the results onto a 2D space
This project is licensed under the GPL v3 License - see the LICENSE.md file for details