├── .gitignore ├── LICENSE ├── README.md ├── pytorch ├── nlp │ ├── README.md │ ├── build_kaggle_dataset.py │ ├── build_vocab.py │ ├── data │ │ ├── kaggle │ │ │ └── .gitkeep │ │ └── small │ │ │ ├── test │ │ │ ├── labels.txt │ │ │ └── sentences.txt │ │ │ ├── train │ │ │ ├── labels.txt │ │ │ └── sentences.txt │ │ │ └── val │ │ │ ├── labels.txt │ │ │ └── sentences.txt │ ├── evaluate.py │ ├── experiments │ │ ├── base_model │ │ │ └── params.json │ │ └── learning_rate │ │ │ └── params.json │ ├── model │ │ ├── __init__.py │ │ ├── data_loader.py │ │ └── net.py │ ├── requirements.txt │ ├── search_hyperparams.py │ ├── synthesize_results.py │ ├── train.py │ └── utils.py └── vision │ ├── README.md │ ├── build_dataset.py │ ├── data │ └── .gitkeep │ ├── evaluate.py │ ├── experiments │ ├── .gitkeep │ ├── base_model │ │ └── params.json │ └── learning_rate │ │ └── params.json │ ├── model │ ├── __init__.py │ ├── data_loader.py │ └── net.py │ ├── requirements.txt │ ├── search_hyperparams.py │ ├── synthesize_results.py │ ├── train.py │ └── utils.py └── tensorflow ├── nlp ├── README.md ├── build_kaggle_dataset.py ├── build_vocab.py ├── data │ ├── kaggle │ │ └── .gitkeep │ └── small │ │ ├── dev │ │ ├── labels.txt │ │ └── sentences.txt │ │ ├── test │ │ ├── labels.txt │ │ └── sentences.txt │ │ └── train │ │ ├── labels.txt │ │ └── sentences.txt ├── evaluate.py ├── experiments │ ├── .gitkeep │ ├── base_model │ │ └── params.json │ └── learning_rate │ │ └── params.json ├── model │ ├── __init__.py │ ├── evaluation.py │ ├── input_fn.py │ ├── model_fn.py │ ├── training.py │ └── utils.py ├── requirements.txt ├── search_hyperparams.py ├── synthesize_results.py └── train.py └── vision ├── README.md ├── build_dataset.py ├── data └── .gitkeep ├── evaluate.py ├── experiments ├── .gitkeep ├── base_model │ └── params.json └── learning_rate │ └── params.json ├── model ├── __init__.py ├── evaluation.py ├── input_fn.py ├── model_fn.py ├── training.py └── utils.py ├── requirements.txt ├── search_hyperparams.py ├── synthesize_results.py └── train.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/README.md -------------------------------------------------------------------------------- /pytorch/nlp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/README.md -------------------------------------------------------------------------------- /pytorch/nlp/build_kaggle_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/build_kaggle_dataset.py -------------------------------------------------------------------------------- /pytorch/nlp/build_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/build_vocab.py -------------------------------------------------------------------------------- /pytorch/nlp/data/kaggle/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytorch/nlp/data/small/test/labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/data/small/test/labels.txt -------------------------------------------------------------------------------- /pytorch/nlp/data/small/test/sentences.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/data/small/test/sentences.txt -------------------------------------------------------------------------------- /pytorch/nlp/data/small/train/labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/data/small/train/labels.txt -------------------------------------------------------------------------------- /pytorch/nlp/data/small/train/sentences.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/data/small/train/sentences.txt -------------------------------------------------------------------------------- /pytorch/nlp/data/small/val/labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/data/small/val/labels.txt -------------------------------------------------------------------------------- /pytorch/nlp/data/small/val/sentences.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/data/small/val/sentences.txt -------------------------------------------------------------------------------- /pytorch/nlp/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/evaluate.py -------------------------------------------------------------------------------- /pytorch/nlp/experiments/base_model/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/experiments/base_model/params.json -------------------------------------------------------------------------------- /pytorch/nlp/experiments/learning_rate/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/experiments/learning_rate/params.json -------------------------------------------------------------------------------- /pytorch/nlp/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytorch/nlp/model/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/model/data_loader.py -------------------------------------------------------------------------------- /pytorch/nlp/model/net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/model/net.py -------------------------------------------------------------------------------- /pytorch/nlp/requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | Pillow 3 | torch>=1.2 4 | tabulate 5 | tqdm 6 | -------------------------------------------------------------------------------- /pytorch/nlp/search_hyperparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/search_hyperparams.py -------------------------------------------------------------------------------- /pytorch/nlp/synthesize_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/synthesize_results.py -------------------------------------------------------------------------------- /pytorch/nlp/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/train.py -------------------------------------------------------------------------------- /pytorch/nlp/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/nlp/utils.py -------------------------------------------------------------------------------- /pytorch/vision/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/README.md -------------------------------------------------------------------------------- /pytorch/vision/build_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/build_dataset.py -------------------------------------------------------------------------------- /pytorch/vision/data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytorch/vision/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/evaluate.py -------------------------------------------------------------------------------- /pytorch/vision/experiments/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytorch/vision/experiments/base_model/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/experiments/base_model/params.json -------------------------------------------------------------------------------- /pytorch/vision/experiments/learning_rate/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/experiments/learning_rate/params.json -------------------------------------------------------------------------------- /pytorch/vision/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pytorch/vision/model/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/model/data_loader.py -------------------------------------------------------------------------------- /pytorch/vision/model/net.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/model/net.py -------------------------------------------------------------------------------- /pytorch/vision/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/requirements.txt -------------------------------------------------------------------------------- /pytorch/vision/search_hyperparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/search_hyperparams.py -------------------------------------------------------------------------------- /pytorch/vision/synthesize_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/synthesize_results.py -------------------------------------------------------------------------------- /pytorch/vision/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/train.py -------------------------------------------------------------------------------- /pytorch/vision/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/pytorch/vision/utils.py -------------------------------------------------------------------------------- /tensorflow/nlp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/README.md -------------------------------------------------------------------------------- /tensorflow/nlp/build_kaggle_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/build_kaggle_dataset.py -------------------------------------------------------------------------------- /tensorflow/nlp/build_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/build_vocab.py -------------------------------------------------------------------------------- /tensorflow/nlp/data/kaggle/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/nlp/data/small/dev/labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/data/small/dev/labels.txt -------------------------------------------------------------------------------- /tensorflow/nlp/data/small/dev/sentences.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/data/small/dev/sentences.txt -------------------------------------------------------------------------------- /tensorflow/nlp/data/small/test/labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/data/small/test/labels.txt -------------------------------------------------------------------------------- /tensorflow/nlp/data/small/test/sentences.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/data/small/test/sentences.txt -------------------------------------------------------------------------------- /tensorflow/nlp/data/small/train/labels.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/data/small/train/labels.txt -------------------------------------------------------------------------------- /tensorflow/nlp/data/small/train/sentences.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/data/small/train/sentences.txt -------------------------------------------------------------------------------- /tensorflow/nlp/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/evaluate.py -------------------------------------------------------------------------------- /tensorflow/nlp/experiments/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/nlp/experiments/base_model/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/experiments/base_model/params.json -------------------------------------------------------------------------------- /tensorflow/nlp/experiments/learning_rate/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/experiments/learning_rate/params.json -------------------------------------------------------------------------------- /tensorflow/nlp/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/nlp/model/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/model/evaluation.py -------------------------------------------------------------------------------- /tensorflow/nlp/model/input_fn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/model/input_fn.py -------------------------------------------------------------------------------- /tensorflow/nlp/model/model_fn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/model/model_fn.py -------------------------------------------------------------------------------- /tensorflow/nlp/model/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/model/training.py -------------------------------------------------------------------------------- /tensorflow/nlp/model/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/model/utils.py -------------------------------------------------------------------------------- /tensorflow/nlp/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow==1.15.0 2 | tabulate 3 | tqdm 4 | -------------------------------------------------------------------------------- /tensorflow/nlp/search_hyperparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/search_hyperparams.py -------------------------------------------------------------------------------- /tensorflow/nlp/synthesize_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/synthesize_results.py -------------------------------------------------------------------------------- /tensorflow/nlp/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/nlp/train.py -------------------------------------------------------------------------------- /tensorflow/vision/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/README.md -------------------------------------------------------------------------------- /tensorflow/vision/build_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/build_dataset.py -------------------------------------------------------------------------------- /tensorflow/vision/data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/vision/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/evaluate.py -------------------------------------------------------------------------------- /tensorflow/vision/experiments/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/vision/experiments/base_model/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/experiments/base_model/params.json -------------------------------------------------------------------------------- /tensorflow/vision/experiments/learning_rate/params.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/experiments/learning_rate/params.json -------------------------------------------------------------------------------- /tensorflow/vision/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tensorflow/vision/model/evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/model/evaluation.py -------------------------------------------------------------------------------- /tensorflow/vision/model/input_fn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/model/input_fn.py -------------------------------------------------------------------------------- /tensorflow/vision/model/model_fn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/model/model_fn.py -------------------------------------------------------------------------------- /tensorflow/vision/model/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/model/training.py -------------------------------------------------------------------------------- /tensorflow/vision/model/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/model/utils.py -------------------------------------------------------------------------------- /tensorflow/vision/requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | Pillow 3 | tensorflow==1.15.0 4 | tabulate 5 | tqdm 6 | -------------------------------------------------------------------------------- /tensorflow/vision/search_hyperparams.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/search_hyperparams.py -------------------------------------------------------------------------------- /tensorflow/vision/synthesize_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/synthesize_results.py -------------------------------------------------------------------------------- /tensorflow/vision/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cs230-stanford/cs230-code-examples/HEAD/tensorflow/vision/train.py --------------------------------------------------------------------------------