# cs230-stanford/cs230-code-examples

Code examples in pyTorch and Tensorflow for CS230

Repository: https://github.com/cs230-stanford/cs230-code-examples
Canonical: https://ross.abutalabs.com/products/cs230-code-examples
Language: Python
License: NOASSERTION
License Family: other
Topics: tensorflow, pytorch, computer-vision, natural-language-processing
Last push: 2023-03-24T23:40:51+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3154, "days_push": 1258, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4228, forks 1006 (observed 2026-08-28T04:08:39.386718+00:00)

## What it is
A collection of PyTorch and TensorFlow code examples created for Stanford's CS230 deep learning course, covering computer vision and NLP tasks. It serves as starter templates and tutorials for students building deep learning projects.

## Use cases
- learn pytorch with example code
- tensorflow starter template for a deep learning project
- example code for a computer vision project
- nlp project starter code
- course project boilerplate for deep learning
- compare pytorch and tensorflow implementations

## When to choose
- you are a student starting a CS230-style deep learning project
- you want simple, well-structured PyTorch or TensorFlow templates for vision or NLP
- you are learning deep learning and want reference implementations

## When to avoid
- you need production-grade, actively maintained ML code
- you need models or tasks beyond the included vision and NLP examples
- you require a permissive license for redistribution

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: machine-learning, deep-learning, nlp, computer-vision
- domain: deep-learning, computer-vision, tutorials
- platform: python
- tags: stanford, cs230, pytorch, tensorflow, educational, starter-code, natural-language-processing

## Member repositories
- cs230-stanford/cs230-code-examples (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:39.386718+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:21.559298+00:00, confidence not recorded.
  - readme: https://github.com/cs230-stanford/cs230-code-examples (fetched 2026-08-28T04:08:39.386718+00:00, sha cb52e0c0871a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
