This repository is mainly for creative ideas in regards to machine learning and algorithms.
- Loading, tokenising and training a language model using Tiny Shakespeare (Project Two)
- Predicting student scores and house prices using Linear Regression Modelling (Project Three + Project Four)
- Gradio application for summarising input (Project Six)
This repository contains many projects on machine learning
- Project One, learn about pipelines, tokenisation, prompt batching and temperature
- Project Two, learn about loading datasets, tokenising datasets, training a model and fine-tuning
- Project Three, learn about linear and logistic regression models
- Project Four, learn about decision trees and random forests
- Project Five, learn about Gradio and other types of model configurations (e.g. summarise)
- Project Six, more custom Gradio apps and advanced models
## π Project Structure
project_one/
βββ notes.txt
βββ requirements.txt
βββ pipeline.py
βββ expanded_pipeline.py
βββ tokenization_demo.py
βββ temperature_demo.py
βββ prompt_batching.py
project_two/
βββ notes.txt
βββ requirements.txt
βββ load_shakespeare.py
βββ tokenize_shakespeare.py
βββ training_shakespeare.py
βββ training_shakespeare_theory.py
project_three/
βββ notes.txt
βββ requirements.txt
βββ basic_linear_regression.py
βββ basic_logistic_regression.py
βββ graph_linear_regression.py
βββ graph_logistic_regression.py
project_four/
βββ notes.txt
βββ requirements.txt
βββ basic_decision_tree.py
βββ basic_random_forest.py
βββ Housing.csv
βββ house_price_prediction.py
project_five/
βββ notes.txt
βββ requirements.txt
βββ summariser.py
βββ summariser_gradio.py
βββ summariser_gradio_upgrade.py
project_six/
βββ notes.txt
βββ requirements.txt
βββ gradio_app.py
- Clone the repo
git clone https://github.com/darkcom109/Machine-Learning.git
cd Machine-Learning
- Set up a virtual environment in a project
python -m venv venv
- Install dependencies in a project
pip install -r requirements.txt