All Projects → cedias → HAN-pytorch

cedias / HAN-pytorch

Licence: other
(Deprecated) Hierarchical Attention Networks for Document Classification (https://www.cs.cmu.edu/~diyiy/docs/naacl16.pdf) - in Pytorch

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to HAN-pytorch

rql-scala
RethinkDB Scala Driver
Stars: ✭ 13 (-66.67%)
Mutual labels:  deprecated
node-bandwidth
NodeJS Client library for Bandwidth Voice and Messaging APIs
Stars: ✭ 38 (-2.56%)
Mutual labels:  deprecated
apiblueprintorg
old apiblueprint.org site
Stars: ✭ 19 (-51.28%)
Mutual labels:  deprecated
ton-client-rs
TON Labs SDK Client Library for Rust
Stars: ✭ 15 (-61.54%)
Mutual labels:  deprecated
geoservices-js
Deprecated - please consider using @esri/arcgis-rest-js
Stars: ✭ 53 (+35.9%)
Mutual labels:  deprecated
angular-karma test-explorer
vscode extension for easy angular testing and debugging
Stars: ✭ 67 (+71.79%)
Mutual labels:  deprecated
worker
[DEPRECATED]
Stars: ✭ 12 (-69.23%)
Mutual labels:  deprecated
Kwicks
⛔ Kwicks for jQuery - fork of jQuery Kwicks by Jeremy Martin
Stars: ✭ 50 (+28.21%)
Mutual labels:  deprecated
shake
緊急地震速報プログラム – Desktop Earthquake Warnings
Stars: ✭ 31 (-20.51%)
Mutual labels:  deprecated
jog arm
A real-time robot arm jogger.
Stars: ✭ 39 (+0%)
Mutual labels:  deprecated
rocketpwa
[DEPRECATED] Command-line toolbelt for PWA developers
Stars: ✭ 37 (-5.13%)
Mutual labels:  deprecated
nord
An unofficial NordVPN client [DEPRECATED]
Stars: ✭ 25 (-35.9%)
Mutual labels:  deprecated
is-safe-integer
ES2015 Number.isSafeInteger() ponyfill
Stars: ✭ 16 (-58.97%)
Mutual labels:  deprecated
Sphero-AR-SDK
🚫 DEPRECATED: Sphero's augmented reality SDK
Stars: ✭ 46 (+17.95%)
Mutual labels:  deprecated
react-infinity-menu
A react component that displays an unlimited deep menu
Stars: ✭ 59 (+51.28%)
Mutual labels:  deprecated
OSM-Completionist
⛔️ DEPRECATED iOS companion app for OpenStreetMap that allows contributors to complete missing information
Stars: ✭ 17 (-56.41%)
Mutual labels:  deprecated
AASecondaryScreen
[Deprecated] · Approachable implementation of iOS AirPlay-Mirroring using Swift.
Stars: ✭ 40 (+2.56%)
Mutual labels:  deprecated
cleverbot
Deprecated/unmaintained. See https://www.cleverbot.com/api/
Stars: ✭ 23 (-41.03%)
Mutual labels:  deprecated
react-native-apple-sign-in
Apple Signin for your React Native applications
Stars: ✭ 16 (-58.97%)
Mutual labels:  deprecated
steam
DEPRECATED Build, manage and deploy H2O's high-speed machine learning models.
Stars: ✭ 59 (+51.28%)
Mutual labels:  deprecated

Deprecated code

A faster and up to date implementation is in my other repo


HAN-pytorch

Batched implementation of Hierarchical Attention Networks for Document Classification paper

Requirements

  • Pytorch (>= 0.2)
  • Spacy (for tokenizing)
  • Gensim (for building word vectors)
  • tqdm (for fancy graphics)

Scripts:

  • prepare_data.py transforms gzip files as found on Julian McAuley Amazon product data page to lists of (user,item,review,rating) tuples and builds word vectors if --create-emb option is specified.
  • main.py trains a Hierarchical Model.
  • Data.py holds data managing objects.
  • Nets.py holds networks.
  • beer2json.py is an helper script if you happen to have the ratebeer/beeradvocate datasets.

Note:

The whole dataset is used to create word embeddings which can be an issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].