textClassifier icon indicating copy to clipboard operation
textClassifier copied to clipboard

Text classifier for Hierarchical Attention Networks for Document Classification

Results 30 textClassifier issues
Sort by recently updated
recently updated
newest added

When I ran by using python textClassifierHATT.py in Anaconda, I got this error: Using TensorFlow backend. (25000, 3) textClassifierHATT.py:56: UserWarning: No parser was explicitly specified, so I'm using the best...

In textClassifierHATT.py, I try to save the model using the following callback: `mcp = ModelCheckpoint('HANmodel_weights.h5', monitor="val_acc", save_best_only=True, save_weights_only=False)` `model.fit(x_train, y_train, validation_data=(x_val, y_val), epochs=20, batch_size=50, callbacks = [mcp])` But the following...

hi, this is an awesome implementation. However, when I use AttLayer, I got an IndexError: pop index out of range. It is found in eij = K.tanh(K.dot(x, self.W)). Then, y_permute_dim...

I cannot get the same result as their paper said. 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...

I am currently working on a project to improve code analysis using deep learning model. Because my project is based on tensorflow, I found myself having to make significant code...

ValueError: Dimension 1 in both shapes must be equal, but are 100 and 10000. Shapes are [?,100] and [?,10000]. for 'bidirectional_20/while/Select' (op: 'Select') with input shapes: [?,10000], [?,100], [?,100].

we use this code to build our project, but we found the acc dropped. So , we review the code, and find the following issues. 1. This code did not...

Need some help in writing the code to obtain and visualize the attention weights like that in the HAN paper (heat map). To obtain the attention weights, I'm currently thinking...

Hi, I test the code on the 'labeledTrainData.tsv' dataset, 80% of the dataset is the testing data, and 20% of the dataset is the validation data. I use theano backend....

Exactly follow the procedure and run the code. But, there is an issue when train the model ValueError: Error when checking target: expected dense_1 to have 2 dimensions, but got...