Skip to content

dev0root6/Lab-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

πŸš€ Lab Programs: GenAI + Machine Learning

Welcome to my Lab Programs Repository, featuring hands-on projects in:

  • 🧠 Generative AI
  • πŸ“Š Machine Learning

This repo contains practical Python programs and Jupyter notebooks that showcase modern AI & ML techniques using real-world datasets and modern APIs.

Python Badge Last Commit Stars

πŸ“‚ Repository Structure

lab-programs/
β”œβ”€β”€ Gen-AI/
β”‚   β”œβ”€β”€ 1_explore_pretrained_word_vectors.py
β”‚   β”œβ”€β”€ 2_visualize_word_embeddings_dimensionality_reduction.py
β”‚   β”œβ”€β”€ 3_train_custom_word2vec_domain_specific.py
β”‚   β”œβ”€β”€ 4_enrich_prompt_with_embeddings.py
β”‚   β”œβ”€β”€ 5_generate_sentences_from_embeddings.py
β”‚   β”œβ”€β”€ 6_sentiment_analysis_huggingface.py
β”‚   β”œβ”€β”€ 7_summarize_text_huggingface.py
β”‚   └── 8_cohere_chat_example.py
β”œβ”€β”€ ML-Lab/
β”‚   β”œβ”€β”€ ML_Lab.ipynb
β”‚   └── ML-Lab-datasets/
β”‚       β”œβ”€β”€ auto-mpg.csv
β”‚       β”œβ”€β”€ BostonHousing.csv
β”‚       β”œβ”€β”€ breastcancer_modified.csv.csv
β”‚       β”œβ”€β”€ california_housing.csv
β”‚       β”œβ”€β”€ Filtered_Students.xlsx
β”‚       β”œβ”€β”€ heart.csv
β”‚       β”œβ”€β”€ housing.csv
β”‚       β”œβ”€β”€ iris.csv
β”‚       └── olivettifaces.mat

🧠 GenAI Program Highlights

Program No. Task
1 Explore Pre-trained Word Vectors
2 Visualize Word Embeddings (Dimensionality Reduction)
3 Train Custom Word2Vec on Domain Data
4 Enrich Prompts with Embeddings
5 Generate Sentences from Embeddings
6 Sentiment Analysis using HuggingFace Transformers
7 Text Summarization using HuggingFace Transformers
8 Chat Example with Cohere API

πŸ“Š Machine Learning Lab

Component Description
ML_Lab.ipynb End-to-end ML notebook covering data preprocessing, visualization, and model training
Datasets 9+ diverse datasets included for ML experimentation

✨ Visual Sneak Peek

🌌 Word Embeddings Visualization

Word Embeddings Visualization

πŸ“ˆ KMeans Clusters + PCA (ML_Lab.ipynb)

KMeans PCA Visualization

πŸš€ Getting Started

1️⃣ Clone the repo

git clone https://github.com/Dev-0618/Lab-Programs.git
cd Lab-Programs

2️⃣ Install dependencies

pip install -r requirements.txt

3️⃣ Run GenAI programs

cd Gen-AI
python 1_explore_pretrained_word_vectors.py
# or any other program

4️⃣ Launch ML Lab notebook

cd ML-Lab
jupyter notebook ML_Lab.ipynb

πŸ›  Tech Stack

  • Python 3.x
  • HuggingFace Transformers
  • Cohere API
  • Word2Vec (Gensim / custom training)
  • Scikit-learn
  • Pandas
  • Matplotlib / Seaborn
  • Jupyter Notebooks

🀝 Contributing

Contributions are welcome! Feel free to fork this repo and submit pull requests to improve or extend the projects.

⭐️ If you find this repo useful, please consider giving it a ⭐️!

Crafted with ❀️ by [Dev-0618](https://github.com/Dev-0618)


About

Lab Programs for VTU 2022 Scheme - Computer Science & Data Science

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors