GithubHelp home page GithubHelp logo

sronnqvist / discourse-ablstm Goto Github PK

View Code? Open in Web Editor NEW
34.0 34.0 16.0 79.44 MB

Attention-based Bidirectional Long Short-Term Memory neural network for classification of Chinese implicit discourse relations

Python 100.00%

discourse-ablstm's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discourse-ablstm's Issues

hello, I want to get the data.

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.

IndexError: pop index out of range with keras==1.2.2

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$

For Help.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.