Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ccgilroy/word-embeddings-workshop
CSS workshop on word embeddings for the social sciences, 3/19/21
https://github.com/ccgilroy/word-embeddings-workshop
Last synced: 16 days ago
JSON representation
CSS workshop on word embeddings for the social sciences, 3/19/21
- Host: GitHub
- URL: https://github.com/ccgilroy/word-embeddings-workshop
- Owner: ccgilroy
- Created: 2021-03-18T01:53:23.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-19T17:11:05.000Z (over 3 years ago)
- Last Synced: 2024-08-01T00:57:47.981Z (3 months ago)
- Language: Jupyter Notebook
- Homepage: https://ccgilroy.github.io/word-embeddings-workshop/
- Size: 2.3 MB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CSS Workshop: Word Embeddings for the Social Sciences
Author: Connor Gilroy
This repository contains the materials for a 1-hour work embeddings workshop to be held on 3/19/21, organized by the Computational Social Science reading group at TechnoSoc. Follow the instructions below to run the notebook, word-embeddings-workshop.ipynb.
View a static web version of the workshop tutorial at https://ccgilroy.github.io/word-embeddings-workshop/. Introductory slides are [here](https://docs.google.com/presentation/d/1V4SaADerFMph9wB7pES76vYUWhIzvQ_LMpSyAIB6f_o/edit?usp=sharing).
## Setup
If you use [conda](https://docs.conda.io/en/latest/) to manage your Python environments, you can install the key packages you need for this work shop by running this command in your terminal:
```
conda env create -f environment.yml
```The whatlies package isn't available through conda. For the optional part of the workshop that uses whatlies, install it with `pip install whatlies` (after activating the conda environment!).
To open the notebook from your terminal, first activate the new environment, then run `jupyter lab`:
```
conda activate emb-workshop
jupyter lab
```---
(Here's the full code to create the conda environment. If creating it from the environment file works, you won't need this.)
```
conda create -n emb-workshop
conda activate emb-workshop
conda config --env --add channels conda-forge
conda config --env --set channel_priority strict
conda install python=3.8 jupyterlab gensim scikit-learn
# optional, to use whatlies
pip install whatlies
```