Coder Social home page Coder Social logo

benevolentai / relvm Goto Github PK

View Code? Open in Web Editor NEW
14.0 3.0 3.0 35 KB

This repository contains the code accompanying the paper "Learning Informative Representations of Biomedical Relations with Latent Variable Models", Harshil Shah and Julien Fauqueur, EMNLP SustaiNLP 2020.

License: MIT License

Python 100.00%
nlp-machine-learning emnlp2020 biomedical information-extraction probabilistic-models representation-learning

relvm's People

Contributors

quaf avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

relvm's Issues

Question on the unsupervised representation learning part

Large corpora like PubMed abstracts are assumed to be tagged with entity types. Can you describe how this is done? If this is done by dictionary matching, how many sentences are satisfied when the requirements are 1) each sentence should have at least 2 entities, and 2) one is a gene type and the other is a disease type?

Confusing parts in the entities_x definition

In the make_memmap code description, there is the following statement:
'''entities_x : np.memmap The first entity in a sentence. The first column contains the index to the UUIDS; the second contains the index to the entity type.'''
which my understanding is that entities_x.mmap is a 2d array with two columns. While in the readme you describe it as a one-dimensional array. Also, the code is a little bit confusing when you define the shape of mm as num_data, 1, but also use mm[:, 0]=

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.