Skip to content

changminbark/Lantern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lantern 🏮

A custom PyTorch neural network engine and course notebooks for CSCI 357 - AI and Neural Networks.

Description

This repo has two main components:

  • src/lantern — A custom PyTorch neural network engine that provides reusable building blocks for training and evaluating models. Includes support for configurable model architectures (MLP, CNN, NLP), training loops, optimizers, learning rate schedulers, checkpointing, early stopping, metrics, and W&B sweep utilities.

  • notebooks/ — Jupyter notebooks containing class notes, labs, and homework assignments for CSCI 357.

It supports Weights and Biases (wandb) logging for both regular training and sweep training.

Installation

Using VSCode with Google Colab extension (no Python environment/package management required)

Class Information

Name(s): Chang Min
Course: CSCI 357 - AI and Neural Networks
Section: 01 - 1:00pm
Semester: Spring 2026
Instructor: Prof. King

AI usage

Some of the code may have been generated by LLMs (will be indicated in comment)

Note

Some of the Jupyter notebooks may not run successfully as the neural network training framework/engine has evolved continuously

Commands

I use the following command to make uv point to a local .venv:

export UV_PROJECT_ENVIRONMENT=/Users/changminbark/Desktop/Bucknell/2026SS/CSCI357/.venv

About

🏮 Custom PyTorch Deep Neural Network Engine and Notes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors