Giter VIP home page Giter VIP logo

deep_srlbr's People

Contributors

guilhermevarela avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

diggleweb

deep_srlbr's Issues

SIGKILL

Computations using PropBank English -- using up to 40GB of RAM.

  • Avoid loading full development set and evaluation set into memory
  • Avoid storing embedded representations and compute embeddings from ids using tf.nn.embedding_lookup -- Using up less memory but increasing computing overhead

Refactor: estimator to Agent

  • Add SrlAgent(*args, **kwargs)
  • Add fit() -- train
  • Add eval(X, T) -- avaliate a dataset
  • Add pred(X) -- predict tags

Software engineering: Decouple DBLSTM class

Decouple DBLSTM using the composition design pattern, some associated tasks:

  • gather word embeddings
  • propagate the features thru stacked LSTM layers --> interleaving LSTM*? GRU? BILSTM?
  • make the last prediction --> CRF*? SOFTMAX? A*?

duallabel

Previous works show that the argument recognition subtask is important to the development of srl --

Instead of having
B-A0, I-A0, B-V, B-A1, I-A1, I-A1

Have:
(B, A0), (I, A0), (B, V), (B, A1), (I, A1), (I, A1)

Refactor: config file

Save binary information within a file -- especially column dimensions which are needed to declare graph tensors and also pull information from the binaries

Chunks: Include shallow chunk as feature

Besides PoS tagging another linguistic feature that may contribute to the model's performance is the inclusion of Semantic Chunks -- This new feature can be computed by extracting sub-trees from the Syntactic Tree included in the golden set.

Beware: Some phrases are more important than others.

Pipeline: Propagator BLSTM

  • Besides interleaving propagator (Dual Bi-directional LSTM DBLSTM) add serial propagator (Bidirectional BLSTM)

crf_decode: tf.__version__ 1.2.1

GPU -- training machine has tensorflow version 1.2.1 installed
development machine has tensorflow version 1.9 installed

There's a function in the latter which is absent from the former and it helps decode the CRF tags from the predictions.

tf 1.9 --> has crf_decode
tf 1.2.1 --> has viterbi_decode ( which is computed outside tensorflow ) How to port crf_decode to the training machine?

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.