Skip to content

Commit

Permalink
Merge pull request #32 from Herais/Herais
Browse files Browse the repository at this point in the history
Herais
  • Loading branch information
xixiaoyao authored May 7, 2020
2 parents 74ff8fa + 5da6dde commit bd7d34c
Show file tree
Hide file tree
Showing 134 changed files with 559,921 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,35 @@
**/datasets
**/.DS_Store
.gitignore
Assignments/assignment2/Herais/saved_params_10000.npy
Assignments/assignment2/Herais/saved_params_15000.npy
Assignments/assignment2/Herais/saved_params_20000.npy
Assignments/assignment2/Herais/saved_params_25000.npy
Assignments/assignment2/Herais/saved_params_30000.npy
Assignments/assignment2/Herais/saved_params_35000.npy
Assignments/assignment2/Herais/saved_params_40000.npy
Assignments/assignment2/Herais/saved_params_5000.npy
Assignments/assignment2/Herais/saved_state_10000.pickle
Assignments/assignment2/Herais/saved_state_15000.pickle
Assignments/assignment2/Herais/saved_state_20000.pickle
Assignments/assignment2/Herais/saved_state_25000.pickle
Assignments/assignment2/Herais/saved_state_30000.pickle
Assignments/assignment2/Herais/saved_state_35000.pickle
Assignments/assignment2/Herais/saved_state_40000.pickle
Assignments/assignment2/Herais/saved_state_5000.pickle
Assignments/assignment2/Herais/saved_state_5000.pickle
Assignments/assignment2/Herais/saved_state_40000.pickle
Assignments/assignment2/Herais/saved_state_35000.pickle
Assignments/assignment2/Herais/saved_state_30000.pickle
Assignments/assignment2/Herais/saved_state_25000.pickle
Assignments/assignment2/Herais/saved_state_20000.pickle
Assignments/assignment2/Herais/saved_state_15000.pickle
Assignments/assignment2/Herais/saved_state_10000.pickle
Assignments/assignment2/Herais/saved_params_5000.npy
Assignments/assignment2/Herais/saved_params_40000.npy
Assignments/assignment2/Herais/saved_params_35000.npy
Assignments/assignment2/Herais/saved_params_30000.npy
Assignments/assignment2/Herais/saved_params_25000.npy
Assignments/assignment2/Herais/saved_params_20000.npy
Assignments/assignment2/Herais/saved_params_15000.npy
Assignments/assignment2/Herais/saved_params_10000.npy

Large diffs are not rendered by default.

73 changes: 73 additions & 0 deletions Assignments/assignment1/Herais/.nbgrader.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
[NotebookApp | WARNING] No nbgrader_config.py file found (rerun with --debug to see where nbgrader is looking)
[NotebookApp | INFO] Loading the validate_assignment nbgrader serverextension
[NotebookApp | INFO] Serving notebooks from local directory: /Users/Emma/Documents/Winter_2020/cs224n-1920/assignments/prototypes/hw1/student
[NotebookApp | INFO] 0 active kernels
[NotebookApp | INFO] The Jupyter Notebook is running at: http://localhost:8888/?token=92534f25b04229c4a6f1373aad7bce26433fc142c0d263a3
[NotebookApp | INFO] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[NotebookApp | CRITICAL]

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=92534f25b04229c4a6f1373aad7bce26433fc142c0d263a3
[NotebookApp | INFO] Accepting one-time-token-authenticated connection from ::1
[NotebookApp | WARNING] Notebook exploring_word_vectors.ipynb is not trusted
[NotebookApp | WARNING] 404 GET /nbextensions/canopy/training/exercise.js?v=20191224173115 (::1) 13.61ms referer=http://localhost:8888/notebooks/exploring_word_vectors.ipynb?token=c19853ef8a87746f987809bb24a42bd1d7e520048cd51355
[NotebookApp | INFO] Kernel started: 41a1f994-cf42-44bf-b93c-6c395a560248
[NotebookApp | INFO] 302 GET /notebooks/imgs/test_plot.png (::1) 2.03ms
[NotebookApp | INFO] 302 GET /notebooks/imgs/inner_product.png (::1) 5.36ms
[NotebookApp | INFO] 302 GET /notebooks/imgs/svd.png (::1) 1.56ms
[NotebookApp | WARNING] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20191224173115 (::1) 5.59ms referer=http://localhost:8888/notebooks/exploring_word_vectors.ipynb?token=c19853ef8a87746f987809bb24a42bd1d7e520048cd51355
[NotebookApp | INFO] interrupted
[NotebookApp | CRITICAL] Shutdown confirmed
[NotebookApp | INFO] Shutting down kernels
[NotebookApp | INFO] Kernel shutdown: 41a1f994-cf42-44bf-b93c-6c395a560248
[NotebookApp | WARNING] No nbgrader_config.py file found (rerun with --debug to see where nbgrader is looking)
[NotebookApp | INFO] Loading the validate_assignment nbgrader serverextension
[NotebookApp | INFO] Serving notebooks from local directory: /Users/Emma/Documents/Winter_2020/cs224n-1920/assignments/prototypes/hw1/student
[NotebookApp | INFO] 0 active kernels
[NotebookApp | INFO] The Jupyter Notebook is running at: http://localhost:8888/?token=1dedb8e6c4421eff2aa3d7653eee0e47f3f1d2edfa412b88
[NotebookApp | INFO] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[NotebookApp | CRITICAL]

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=1dedb8e6c4421eff2aa3d7653eee0e47f3f1d2edfa412b88
[NotebookApp | INFO] Accepting one-time-token-authenticated connection from ::1
[NotebookApp | WARNING] 404 GET /nbextensions/canopy/training/exercise.js?v=20200106171436 (::1) 14.75ms referer=http://localhost:8888/notebooks/exploring_word_vectors.ipynb
[NotebookApp | INFO] Kernel started: 118645cf-33db-4221-b536-85f3e92ac5e6
[NotebookApp | INFO] 302 GET /notebooks/imgs/test_plot.png (::1) 2.51ms
[NotebookApp | INFO] 302 GET /notebooks/imgs/inner_product.png (::1) 1.48ms
[NotebookApp | INFO] 302 GET /notebooks/imgs/svd.png (::1) 1.65ms
[NotebookApp | WARNING] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20200106171436 (::1) 3.81ms referer=http://localhost:8888/notebooks/exploring_word_vectors.ipynb
[NotebookApp | INFO] interrupted
[NotebookApp | CRITICAL] Shutdown confirmed
[NotebookApp | INFO] Shutting down kernels
[NotebookApp | INFO] Kernel shutdown: 118645cf-33db-4221-b536-85f3e92ac5e6
[NotebookApp | WARNING] No nbgrader_config.py file found (rerun with --debug to see where nbgrader is looking)
[NotebookApp | INFO] Loading the validate_assignment nbgrader serverextension
[NotebookApp | INFO] Serving notebooks from local directory: /Users/Emma/Documents/Winter_2020/cs224n-1920/assignments/prototypes/hw1/student
[NotebookApp | INFO] 0 active kernels
[NotebookApp | INFO] The Jupyter Notebook is running at: http://localhost:8888/?token=09eb4fdc095886a9619784a441a397a62676454c171beaeb
[NotebookApp | INFO] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[NotebookApp | CRITICAL]

Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=09eb4fdc095886a9619784a441a397a62676454c171beaeb
[NotebookApp | INFO] Accepting one-time-token-authenticated connection from ::1
[NotebookApp | WARNING] 404 GET /nbextensions/canopy/training/exercise.js?v=20200106171547 (::1) 10.38ms referer=http://localhost:8888/notebooks/exploring_word_vectors.ipynb
[NotebookApp | INFO] Kernel started: d1c8ed4c-5532-4087-9540-a23cb6f65f7f
[NotebookApp | INFO] 302 GET /notebooks/imgs/test_plot.png (::1) 1.97ms
[NotebookApp | INFO] 302 GET /notebooks/imgs/inner_product.png (::1) 1.47ms
[NotebookApp | INFO] 302 GET /notebooks/imgs/svd.png (::1) 3.09ms
[NotebookApp | WARNING] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20200106171547 (::1) 2.24ms referer=http://localhost:8888/notebooks/exploring_word_vectors.ipynb
[NotebookApp | INFO] Kernel shutdown: d1c8ed4c-5532-4087-9540-a23cb6f65f7f
[NotebookApp | INFO] Kernel started: 6e94ea74-e351-4004-9e37-a666a0217010
[NotebookApp | INFO] Saving file at /exploring_word_vectors.ipynb
[NotebookApp | INFO] Saving file at /exploring_word_vectors.ipynb
[NotebookApp | WARNING] 404 GET /nbextensions/canopy/training/exercise.js?v=20200106171547 (::1) 3.50ms referer=http://localhost:8888/notebooks/exploring_word_vectors.ipynb
[NotebookApp | INFO] 302 GET /notebooks/imgs/svd.png (::1) 1.47ms
[NotebookApp | INFO] 302 GET /notebooks/imgs/test_plot.png (::1) 1.15ms
[NotebookApp | INFO] 302 GET /notebooks/imgs/inner_product.png (::1) 1.43ms
[NotebookApp | WARNING] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20200106171547 (::1) 2.44ms referer=http://localhost:8888/notebooks/exploring_word_vectors.ipynb
[NotebookApp | INFO] Saving file at /exploring_word_vectors.ipynb
28 changes: 28 additions & 0 deletions Assignments/assignment1/Herais/README.txt
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
Binary file added Assignments/assignment1/Herais/__MACOSX/._a1
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions Assignments/assignment1/Herais/env.yml
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

Loading

0 comments on commit bd7d34c

Please sign in to comment.