This repository contains code examples for CIS 6270, organized by lecture.
We will develop the implementations alongside the course material, which connect
the mathematical definitions, training objectives, and sampling equations to
the executable PyTorch code herein. Each lecture directory contains its examples, data,
and implementation notes; additional directories will accompany later lectures.
Lecture index
Lectures
Topics
Code and documentation
2 and 3
Continuous generative models, flow matching, diffusion, and guidance
Use Python 3.11, or another compatible Python version at least 3.10, in a new
virtual environment. The current examples were tested with PyTorch 2.9.1 and
Transformers 4.57.6, as specified in
requirements.txt
.
Both scripts train on ESM-2 residue embeddings and compare classifier-free
guidance, single-objective reward steering, and scalarized multi-objective
steering. We use the same property definitions, normalization, and final
constrained decoder to compare the flow and diffusion implementations.
The first run downloads the public ESM-2 checkpoint. Each script then writes
generated sequences and model parameters to its own output directory.
The
lecture guide
describes the data format, training
and sampling settings, property calculations, normalization, and residue-count
constraint, with commands for using a custom dataset.
Installation instructions and the lecture index are maintained at the
repository root. Lecture-specific commands, mathematical explanations, and
references accompany the corresponding code.
Tests
python -m unittest discover -s tests -v
The current unit tests cover property annotations, scalarization weights, reward
gradients, DDPM schedule indexing, and constrained decoding.
License
The repository code is distributed under the
MIT License
.
Pretrained model weights are downloaded from their original repositories
under the corresponding distribution terms.
Runs of ChatterjeeLab CIS6270 on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About CIS6270 huggingface.co Model
CIS6270 huggingface.co is an AI model on huggingface.co that provides CIS6270's model effect (), which can be used instantly with this ChatterjeeLab CIS6270 model. huggingface.co supports a free trial of the CIS6270 model, and also provides paid use of the CIS6270. Support call CIS6270 model through api, including Node.js, Python, http.
CIS6270 huggingface.co is an online trial and call api platform, which integrates CIS6270's modeling effects, including api services, and provides a free online trial of CIS6270, you can try CIS6270 online for free by clicking the link below.
ChatterjeeLab CIS6270 online free url in huggingface.co:
CIS6270 is an open source model from GitHub that offers a free installation service, and any user can find CIS6270 on GitHub to install. At the same time, huggingface.co provides the effect of CIS6270 install, users can directly use CIS6270 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.