-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,811 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ misc/ | |
lecture_slide/ | ||
data/ | ||
.pytest_cache/ | ||
|
||
*.py[cod] | ||
*.npy | ||
*.pickle | ||
*.pickle | ||
.DS_store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Welcome to CS224N! | ||
|
||
We'll be using Python throughout the course. If you've got a good Python setup already, great! But make sure that it is at least Python version 3.5. If not, the easiest thing to do is to make sure you have at least 3GB free on your computer and then to head over to (https://www.anaconda.com/download/) and install the Python 3 version of Anaconda. It will work on any operating system. | ||
|
||
After you have installed conda, close any open terminals you might have. Then open a new terminal and run the following command: | ||
|
||
# 1. Create an environment with dependencies specified in env.yml: | ||
|
||
conda env create -f env.yml | ||
|
||
# 2. Activate the new environment: | ||
|
||
conda activate cs224n | ||
|
||
# 3. Inside the new environment, instatll IPython kernel so we can use this environment in jupyter notebook: | ||
|
||
python -m ipykernel install --user --name cs224n | ||
|
||
|
||
# 4. Homework 1 (only) is a Jupyter Notebook. With the above done you should be able to get underway by typing: | ||
|
||
jupyter notebook exploring_word_vectors.ipynb | ||
|
||
# 5. To make sure we are using the right environment, go to the toolbar of exploring_word_vectors.ipynb, click on Kernel -> Change kernel, you should see and select cs224n in the drop-down menu. | ||
|
||
# To deactivate an active environment, use | ||
|
||
conda deactivate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: cs224n | ||
channels: | ||
- defaults | ||
- anaconda | ||
dependencies: | ||
- jupyter | ||
- matplotlib | ||
- numpy | ||
- python=3.7 | ||
- ipykernel | ||
- scikit-learn | ||
- nltk | ||
- gensim | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.