Skip-Gram Word2Vec model with Hierarchical Softmax in PyTorch
Project description
SkipGram-HS 🧠
A PyTorch implementation of the Skip-Gram model with Hierarchical Softmax from scratch.
Features
- Train skip-gram embeddings on your own corpus or NLTK's Brown corpus.
- Hierarchical softmax for efficient training on large vocabularies.
- Save trained embeddings and training loss history.
- Analogy evaluation (e.g., king - man + woman ≈ queen).
Installation
Install directly from GitHub:
pip install git+https://github.com/agentksimha/skip_gram.git
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
skip_gram-0.1.0.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skip_gram-0.1.0.tar.gz.
File metadata
- Download URL: skip_gram-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28d3a3cd1ae0155a208cf20dd51ffd1d9e18c05669db45c104360146916c5c28
|
|
| MD5 |
af117b9e85e98531616de489ba170014
|
|
| BLAKE2b-256 |
ff73783200495ec766b0b573783ea718a7c6fe020a9853f17ae26584cfa14d77
|
File details
Details for the file skip_gram-0.1.0-py3-none-any.whl.
File metadata
- Download URL: skip_gram-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4b26febb2e078ce2b94f33b7577eba0691d3856a1f71675da3a59426bc89ebb
|
|
| MD5 |
bd77bb701765b3ca206f9e3a77fed42f
|
|
| BLAKE2b-256 |
387e1df70269343d36798c72a34ef96470865a680985b3ad4493cbaaa082d103
|