Skip to content

A personal reference repository for scratch implementations of machine learning tools, including neural networks, CNNs, and LLMs. Open for others to explore and learn.

Notifications You must be signed in to change notification settings

hridaya14/ML-Scratch-Implementations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 ML From Scratch: A Personal Learning Journey

Welcome to my repository, where I document my journey through the core concepts of machine learning by implementing models and tools from scratch. This serves as both a personal reference and an educational resource for anyone interested in understanding ML from first principles.


πŸš€ Current Implementations

πŸ”Ή Sequential Neural Network

  • Description: A basic sequential neural network capable of multiclass classification.
  • Dataset: Tested on the MNIST dataset using a 3-layer approach, with ReLU as the activation function for hidden layers.
  • Features: Implements forward propagation, backpropagation, and gradient descent from scratch using only Python and NumPy.

πŸ”Ή Transformer-Based Neural Machine Translation

  • Description: A Transformer model designed for English-to-Spanish translation.
  • Tokenizer: Utilizes BPE Tokenization with a vocabulary size of 10000.
  • Features: Implements attention mechanisms and positional encodings to achieve high-quality translations.

πŸ“Œ What's Next?

βœ… Roadmap for Future Implementations

  • Sequential Neural Network: Implemented and tested.
  • Transformer-Based NLP Model: Successfully implemented and deployed.
  • Retrieval-Augmented Generation (RAG): Integrating retrieval-based techniques with generative models.
  • Reinforcement Learning from Human Feedback (RLHF): Exploring fine-tuning of LLMs with human preferences.

πŸ”₯ Tech Stack

  • Python: Core programming language for all implementations.
  • NumPy & Pandas: Essential for data processing and matrix operations.
  • PyTorch: For deep learning model development.
  • Rust (Planned): Exploring performance improvements for certain implementations.

Stay Tuned! πŸ“‘

I’ll continue adding new implementations and optimizations as I learn more. If you're interested in ML from scratch, feel free to explore, contribute, or follow along!

About

A personal reference repository for scratch implementations of machine learning tools, including neural networks, CNNs, and LLMs. Open for others to explore and learn.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published