Dataset Viewer
Auto-converted to Parquet Duplicate
word
string
num_senses
int64
senses
string
bank
2
financial institution::0 savings account::0 investment firm::0 credit union::0 money lender::0 riverbank::1 shore::1 waterside::1 embankment::1 river edge::1
bat
2
flying mammal::0 nocturnal creature::0 winged animal::0 vampire bat::0 baseball bat::1 cricket bat::1 hitting stick::1 wooden club::1
crane
2
wading bird::0 heron::0 tall bird::0 migratory bird::0 construction crane::1 lifting machine::1 heavy equipment::1 tower crane::1
spring
3
coiled metal::0 elastic device::0 mechanical spring::0 water source::1 natural fountain::1 underground spring::1 warm season::2 springtime::2 blooming season::2
bark
2
dog sound::0 canine vocalization::0 howling noise::0 yelp::0 tree covering::1 outer layer::1 tree skin::1 wood surface::1
plant
2
vegetation::0 growing organism::0 flower::0 shrub::0 herb::0 manufacturing facility::1 industrial factory::1 production plant::1 assembly facility::1
bow
3
weapon for arrows::0 archery bow::0 longbow::0 respectful gesture::1 curtsy::1 bending forward::1 ribbon knot::2 decorative bow::2 tied ribbon::2
match
3
fire starter::0 burning stick::0 ignition tool::0 sports contest::1 competition::1 tournament game::1 corresponding pair::2 perfect fit::2 equivalent item::2
light
3
illumination::0 brightness::0 radiance::0 sunlight::0 not heavy::1 lightweight::1 featherweight::1 pale color::2 pastel shade::2 faded tone::2
nail
2
metal fastener::0 iron spike::0 carpentry nail::0 building pin::0 fingernail::1 toenail::1 keratin growth::1 nail bed::1

Word Embeddings and Semantic Similarity (CIS 5300)

Dataset Description

This dataset supports learning about word embeddings — dense vector representations that capture word meaning. It includes a standard similarity benchmark, a word sense disambiguation task, and a Shakespeare corpus for training custom embeddings.

Configs

SimLex-999: Word Similarity Benchmark

SimLex-999 (Hill et al., 2015) is a gold-standard benchmark for evaluating word embeddings. Unlike WordSim-353 (which conflates similarity with relatedness), SimLex-999 specifically measures semantic similarity.

from datasets import load_dataset

simlex = load_dataset("CCB/cis5300-word-embeddings", "simlex999")
print(simlex["test"][0])
# {'word1': 'old', 'word2': 'new', 'pos': 'A', 'similarity': 1.58, ...}
Field Description
word1, word2 The word pair
pos Part of speech (A=adjective, N=noun, V=verb)
similarity Human-rated similarity (0-10 scale)
concreteness_w1/w2 Concreteness ratings
association_usf Free association score (USF norms)

Word Sense Clustering

Polysemous words (words with multiple meanings) and their senses, for evaluating whether embeddings can distinguish word senses.

clustering = load_dataset("CCB/cis5300-word-embeddings", "clustering")
print(clustering["validation"][0])
# {'word': 'bank', 'num_senses': 2, 'senses': 'financial institution::0\tsavings account::0\t...'}

Each entry contains a polysemous word, the number of distinct senses, and paraphrases labeled by sense cluster.

Supplementary Files

File Description
shakespeare/*.txt 12 Shakespeare plays for training Word2Vec embeddings
cooccurrence/*.txt Pre-computed 500-dim co-occurrence vectors for word sense paraphrases
from huggingface_hub import hf_hub_download

# Download a Shakespeare play
path = hf_hub_download("CCB/cis5300-word-embeddings", "shakespeare/hamlet.txt", repo_type="dataset")

Intended Use

This dataset is used for Homework 4 in CIS 5300: Natural Language Processing at the University of Pennsylvania. Students:

  1. Train Word2Vec embeddings on Shakespeare using gensim
  2. Explore word analogies and vector arithmetic
  3. Evaluate embeddings on SimLex-999 (correlation with human similarity judgments)
  4. Cluster polysemous word senses using co-occurrence vectors
  5. Investigate bias in word embeddings

Citation

@article{hill2015simlex,
  title={SimLex-999: Evaluating Semantic Models With (Genuine) Similarity Estimation},
  author={Hill, Felix and Reichart, Roi and Korhonen, Anna},
  journal={Computational Linguistics},
  volume={41},
  number={4},
  pages={665--695},
  year={2015}
}
Downloads last month
34