hierarchical-attention-networks icon indicating copy to clipboard operation
hierarchical-attention-networks copied to clipboard

Document classification with Hierarchical Attention Networks in TensorFlow. WARNING: project is currently unmaintained, issues will probably not be addressed.

Results 17 hierarchical-attention-networks issues
Sort by recently updated
recently updated
newest added

Bumps [ujson](https://github.com/ultrajson/ultrajson) from 1.35 to 5.4.0. Release notes Sourced from ujson's releases. 5.4.0 Added Add support for arbitrary size integers (#548) @​JustAnotherArchivist Fixed CVE-2022-31116: Replace wchar_t string decoding implementation with...

dependencies

Bumps [numpy](https://github.com/numpy/numpy) from 1.14.2 to 1.22.0. Release notes Sourced from numpy's releases. v1.22.0 NumPy 1.22.0 Release Notes NumPy 1.22.0 is a big release featuring the work of 153 contributors spread...

dependencies

I used the same dataset (Download link: http://ir.hit.edu.cn/~dytang/paper/emnlp2015/emnlp-2015-data.7z), but can only get 68.5% on yelp 2015 (The paper said they can get 71%), is there any wrong with my parameters?...

Hi, The code runs fine, thanks, and gives the accuracy results but I am trying to visualize the attention weights as shown in the paper (color-wise). Any suggestion on its...

The performance reported in the Readme has not been computed on the same dataset used in the original paper ([Hierarchical Attention Networks for Document Classification](https://www.cs.cmu.edu/~diyiy/docs/naacl16.pdf), Tang et al. 2016). It...

In the file data_util.py, the code is as follows: `def batch(inputs): batch_size = len(inputs) document_sizes = np.array([len(doc) for doc in inputs], dtype=np.int32) # Different batch will # have different document_sizes....

In worker.py looking at lines 70-80, it seems you are using the same cell for word and sentence level, but it should be a different lstm cell

I ran the program on small data not a few values in review.json. I get the value of dev accuracy = nan during training. I checked the file dev.dataset and...

Sorry to bother you again. I used the tensorflow=1.2.1, python=3.6, run worker.py as your instructions, but it encountered an error. **ValueError:** Trying to share variable tcm/word/fw/multi_rnn_cell/cell_0/bn_lstm/w_xh, but specified shape(100,320) and...

Thank you ematvey for this paper. I wonder the uw and us are two vectors as global weights, or there are different uw(s) for each sentence, and different us(s) for...