Skip to content

darkcom109/Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

24 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Machine-Learning 🎭

This repository is mainly for creative ideas in regards to machine learning and algorithms.

Highlighted Projects

  • 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

βš™οΈ Setup

  1. Clone the repo
git clone https://github.com/darkcom109/Machine-Learning.git
cd Machine-Learning
  1. Set up a virtual environment in a project
python -m venv venv
  1. Install dependencies in a project
pip install -r requirements.txt

About

Multiple Projects Containing Machine Learning and Algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages