Skip to content

Commit

Permalink
Merge pull request cgpotts#108 from cgpotts/spring22-prep
Browse files Browse the repository at this point in the history
Spring 2022 updates
  • Loading branch information
cgpotts authored Mar 25, 2022
2 parents 23b120f + e8b07c6 commit 4368090
Show file tree
Hide file tree
Showing 69 changed files with 1,763 additions and 2,766 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@ nlidata/*
rel_ext_data*
*_solved.ipynb
.DS_Store

ColBERT*
experiments*
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@

Code for [the Stanford course](http://web.stanford.edu/class/cs224u/).

Spring 2021
Spring 2022

# Instructors

* [Bill MacCartney](http://nlp.stanford.edu/~wcmac/)
* [Christopher Potts](http://web.stanford.edu/~cgpotts/)
[Christopher Potts](http://web.stanford.edu/~cgpotts/)


# Core components
Expand Down
2 changes: 1 addition & 1 deletion colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import matplotlib.patches as mpatch

__author__ = "Christopher Potts"
__version__ = "CS224u, Stanford, Spring 2021"
__version__ = "CS224u, Stanford, Spring 2022"


TURN_BOUNDARY = " ### "
Expand Down
30 changes: 14 additions & 16 deletions colors_overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"outputs": [],
"source": [
"__author__ = \"Christopher Potts\"\n",
"__version__ = \"CS224u, Stanford, Spring 2021\""
"__version__ = \"CS224u, Stanford, Spring 2022\""
]
},
{
Expand All @@ -26,23 +26,21 @@
"1. [Overview](#Overview)\n",
"1. [Set-up](#Set-up)\n",
"1. [The corpus](#The-corpus)\n",
" 1. [Corpus reader](#Corpus-reader)\n",
" 1. [ColorsCorpusExample instances](#ColorsCorpusExample-instances)\n",
" 1. [Displaying examples](#Displaying-examples)\n",
" 1. [Color representations](#Color-representations)\n",
" 1. [Utterance texts](#Utterance-texts)\n",
" 1. [Far, Split, and Close conditions](#Far,-Split,-and-Close-conditions)\n",
" 1. [Corpus reader](#Corpus-reader)\n",
" 1. [ColorsCorpusExample instances](#ColorsCorpusExample-instances)\n",
" 1. [Far, Split, and Close conditions](#Far,-Split,-and-Close-conditions)\n",
"1. [Toy problems for development work](#Toy-problems-for-development-work)\n",
"1. [Core model](#Core-model)\n",
" 1. [Toy dataset illustration](#Toy-dataset-illustration)\n",
" 1. [Predicting sequences](#Predicting-sequences)\n",
" 1. [Listener-based evaluation](#Listener-based-evaluation)\n",
" 1. [Other prediction and evaluation methods](#Other-prediction-and-evaluation-methods)\n",
" 1. [Cross-validation](#Cross-validation)\n",
" 1. [Toy dataset illustration](#Toy-dataset-illustration)\n",
" 1. [Predicting sequences](#Predicting-sequences)\n",
" 1. [Listener-based evaluation](#Listener-based-evaluation)\n",
" 1. [BLEU scores](#BLEU-scores)\n",
" 1. [Other prediction and evaluation methods](#Other-prediction-and-evaluation-methods)\n",
" 1. [Cross-validation](#Cross-validation)\n",
"1. [Baseline SCC model](#Baseline-SCC-model)\n",
"1. [Modifying the core model](#Modifying-the-core-model)\n",
" 1. [Illustration: LSTM Cells](#Illustration:-LSTM-Cells)\n",
" 1. [Illustration: Deeper models](#Illustration:-Deeper-models)"
" 1. [Illustration: LSTM Cells](#Illustration:-LSTM-Cells)\n",
" 1. [Illustration: Deeper models](#Illustration:-Deeper-models)"
]
},
{
Expand Down Expand Up @@ -1822,7 +1820,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -1836,7 +1834,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
"version": "3.9.7"
}
},
"nbformat": 4,
Expand Down
88 changes: 43 additions & 45 deletions evaluation_methods.ipynb

Large diffs are not rendered by default.

64 changes: 40 additions & 24 deletions evaluation_metrics.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 4368090

Please sign in to comment.