How sanaullah-ai/tech-prime-intern works
1. Repository Role
This is an AI/ML training portfolio, not a single integrated product. It organizes weekly learning materials, executable notebooks, and several standalone model projects spanning computer vision, NLP, and LLM concepts. The root entry point is README.md; runnable entry points are primarily notebooks plus one Python NLP application.
2. PyTorch Image Classification
The first self-contained project trains or evaluates a CIFAR-10 image classifier in PyTorch. Its executable implementation is Week1/Project/image-classifier-cifar-10/CIFAR10.py, supported by an exploratory/training notebook at Week1/Project/image-classifier-cifar-10/image-classifier-cifar-10.ipynb. A serialized model checkpoint, Week1/Project/image-classifier-cifar-10/cifar10_best_model.pth, forms the boundary between training and inference/reuse.
3. Computer-Vision Model Stages
Computer-vision work progresses from CNN practice to object detection and segmentation:
• YOLO-based custom object detection is implemented in Week2/Project/custom-object-detector-YOLO/custom-object-detection-system-yolo-based.ipynb, with pretrained weights in Week2/Project/custom-object-detector-YOLO/yolov8n.pt.
• Medical image segmentation is captured as an end-to-end notebook pipeline in Week3/Project/medical-segmentation-pipeline.ipynb.
• Supporting CV concepts and phase notes are separated from executable work under Computer-Vision/Notes/Phase1.md through Computer-Vision/Notes/Phase10.md.
These projects are independently run notebook workflows, not services connected to one another.
4. NLP Classification and Sequence Models
The Week 4 sentiment system is a notebook-driven text-classification project: Week4/Project/Sentiment-Analysis-System/sentiment-analysis-system.ipynb. It preserves multiple trained recurrent-model artifacts—best_LSTMModel.pt, best_GRUModel.pt, best_BiLSTMModel.pt, and best_BiGRUModel.pt—enabling architecture comparison and inference without retraining. Tokenization, embeddings, and recurrent-network learning experiments remain separate in Week4/tokenization-and-word-embedding.ipynb and Week4/bidirectional-lstm-gru.ipynb.
5. Advanced NLP Application Boundary
The closest component to an application is the NLP Platform. Week5/Project/NLP-Platform/app.py is its runtime entry point; nlp_functions.py contains NLP processing/model-facing logic, while ui_components.py isolates presentation elements. Dependencies are declared in Week5/Project/NLP-Platform/requirements.txt. The project notebook, advance-nlp-project.ipynb, likely serves as the experimentation/training counterpart. This separation establishes an application/UI boundary absent from the notebook-only projects.
6. LLM and RAG Learning Track
Week 6 contains notebook-based LLM stages: architecture/tokenization, pre-training and prompting, fine-tuning/transfer learning, and evaluation/RAG concepts. Core paths are Week6/llm-architecture-tokenization.ipynb, Week6/pre-training-prompt-engineering.ipynb, and Week6/llm-evaluation-rag.ipynb. Although the root README describes future RAG and agentic systems using LangChain, LlamaIndex, LangGraph, and CrewAI, no Week 7 or Week 8 implementation paths are present in this tree.
7. Runtime and Infrastructure
Primary runtime is Python 3.8+ with PyTorch; notebooks require a Jupyter-compatible environment and may use GPU acceleration. Model files (.pth/.pt) are local artifacts, including YOLOv8 pretrained weights. Hugging Face Transformers and LangChain are declared portfolio technologies; their concrete integration is most plausibly within advanced NLP/LLM notebooks, but is not verifiable from the supplied tree. There is no repository-wide package, CI pipeline, database, API gateway, or deployed infrastructure evidenced here.
Main entry points: README.md Portfolio entry point · app.py NLP Platform runtime · sentiment-analysis-system.ipynb Sentiment classifier · image-classifier-cifar-10.ipynb CIFAR-10 training
Components 20
Computer Vision
Independent notebook and PyTorch CV projects.
- CIFAR-10 classifier · Runnable image classification implementation.
Week1/Project/image-classifier-cifar-10/CIFAR10.py - CIFAR-10 training · Exploration and training workflow.
Week1/Project/image-classifier-cifar-10/image-classifier-cifar-10.ipynb - CIFAR-10 checkpoint · Serialized best model for reuse or inference.
Week1/Project/image-classifier-cifar-10/cifar10_best_model.pth - CV phase notes · Phase-based computer-vision concepts and notes.
Computer-Vision/Notes/Phase1.md - YOLO custom detection · Custom object-detection workflow.
Week2/Project/custom-object-detector-YOLO/custom-object-detection-system-yolo-based.ipynb - YOLOv8 pretrained weights · Pretrained detector weights.
Week2/Project/custom-object-detector-YOLO/yolov8n.pt - Medical segmentation · End-to-end medical image segmentation pipeline.
Week3/Project/medical-segmentation-pipeline.ipynb
NLP
Text classification experiments and an executable NLP application.
- Sentiment classifier · Text-classification training and comparison workflow.
Week4/Project/Sentiment-Analysis-System/sentiment-analysis-system.ipynb - Recurrent model artifacts · LSTM, GRU, BiLSTM, and BiGRU checkpoints.
Week4/Project/Sentiment-Analysis-System/best_LSTMModel.pt - Tokenization and embeddings · NLP representation-learning experiments.
Week4/tokenization-and-word-embedding.ipynb - Bidirectional sequence models · BiLSTM and BiGRU learning experiments.
Week4/bidirectional-lstm-gru.ipynb - NLP Platform runtime · Closest standalone application entry point.
Week5/Project/NLP-Platform/app.py - NLP processing logic · Model-facing NLP processing layer.
Week5/Project/NLP-Platform/nlp_functions.py - UI components · Presentation layer isolated from NLP logic.
Week5/Project/NLP-Platform/ui_components.py - Advanced NLP project · Experimentation and training counterpart to the application.
Week5/Project/NLP-Platform/advance-nlp-project.ipynb - Application dependencies
Week5/Project/NLP-Platform/requirements.txt
LLM Learning Track
Notebook-based LLM and RAG learning stages.
- LLM architecture and tokens · Architecture and tokenization learning stage.
Week6/llm-architecture-tokenization.ipynb - Pre-training and prompting · Pre-training, transfer, and prompt engineering stage.
Week6/pre-training-prompt-engineering.ipynb - LLM evaluation and RAG · Evaluation and RAG concepts stage.
Week6/llm-evaluation-rag.ipynb
Other components
- Portfolio entry point · Repository guide to weekly learning material and projects.
README.md
Connections 17
- Portfolio entry point → CIFAR-10 training: indexes
- Portfolio entry point → YOLO custom detection: indexes
- Portfolio entry point → Sentiment classifier: indexes
- Portfolio entry point → NLP Platform runtime: indexes
- Portfolio entry point → LLM architecture and tokens: indexes
- CIFAR-10 training → CIFAR-10 checkpoint: trains
- CIFAR-10 classifier → CIFAR-10 checkpoint: loads
- YOLO custom detection → YOLOv8 pretrained weights: uses
- Sentiment classifier → Recurrent model artifacts: produces
- Tokenization and embeddings → Sentiment classifier: supports concepts
- Bidirectional sequence models → Sentiment classifier: supports architectures
- NLP Platform runtime → UI components: renders UI
- NLP Platform runtime → NLP processing logic: invokes
- Application dependencies → NLP Platform runtime: declares dependencies
- Advanced NLP project → NLP Platform runtime: experimentation counterpart
- LLM architecture and tokens → Pre-training and prompting: learning progression
- Pre-training and prompting → LLM evaluation and RAG: learning progression