sronnqvist / discourse-ablstm Goto Github PK
View Code? Open in Web Editor NEWAttention-based Bidirectional Long Short-Term Memory neural network for classification of Chinese implicit discourse relations
Attention-based Bidirectional Long Short-Term Memory neural network for classification of Chinese implicit discourse relations
I just read your paper, I want to see the format of data. But the webpage of CoNLL 2016 shared task data is closed. Can you send a dataset to me?
Thank you very much.
mldl@ub1604:~/ub16_prj/discourse-ablstm$ python3 train.py
Using TensorFlow backend.
Reading conll16st-zh-04-27-2016-blind-test/
Parses...
Relations...
5944 read
Reading conll16st-zh-04-27-2016-blind-test/
Parses...
Relations...
5944 read
Reading conll16st-zh-04-27-2016-blind-test/
Parses...
Relations...
1486 read
Maximum sequence length 256
Vocabulary: 5352
Classes: 10
Reading word vectors...
Mapping word vectors...
Validation size 5944
2018-09-14 15:05:57.956743: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-09-14 15:05:58.056369: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-09-14 15:05:58.056754: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce GTX 950M major: 5 minor: 0 memoryClockRate(GHz): 1.124
pciBusID: 0000:01:00.0
totalMemory: 3.95GiB freeMemory: 3.61GiB
2018-09-14 15:05:58.056781: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce GTX 950M, pci bus id: 0000:01:00.0, compute capability: 5.0)
Traceback (most recent call last):
File "train.py", line 147, in
attention1 = F.FarATTN(name="M_ATTN1")(lstm1)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 572, in call
self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 635, in add_inbound_node
Node.create_node(self, inbound_layers, node_indices, tensor_indices)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 166, in create_node
output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
File "/home/mldl/ub16_prj/discourse-ablstm/FarrokhAttentionLayer.py", line 33, in call
alpha = K.softmax (K.dot(M, self.W) )
File "/usr/local/lib/python3.5/dist-packages/keras/backend/tensorflow_backend.py", line 819, in dot
y_permute_dim = [y_permute_dim.pop(-2)] + y_permute_dim
IndexError: pop index out of range
mldl@ub1604:~/ub16_prj/discourse-ablstm$
Dear Samuel:
I downloaded this project, but I can't get the data from the CoNLL-2016 Shared Task, so I was wondering if I can ask for you help? Could you send me the data? My e-mail is: [email protected]. Thank you very much.
Best wishes.
Tang Yi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.