Giter Club home page Giter Club logo

gen's Introduction

gen's People

Contributors

jinheonbaek avatar

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gen's Issues

Task formulation for meta-learning enquiry

Hi there,
Firstly, thank you for your work.
I have read your paper and I have a few questions to clarify.
Mainly, how do you "... formulate a set of tasks such that the model
learns to generalize over unseen entities, which are simulated using seen entities." Your paper also mentioned sampling a task from the distribution p(T) but how is p(T) obtained? Is it predefined?

In other words, in the aspect of code, how did you pre-process your data such that it is split into meta-train/meta-valid/meta-test triplets?

self.filtered_triplets, self.meta_train_task_triplets, self.meta_valid_task_triplets, self.meta_test_task_triplets, \
        self.meta_train_task_entity_to_triplets, self.meta_valid_task_entity_to_triplets, self.meta_test_task_entity_to_triplets \
            = utils.load_processed_data('./Dataset/processed_data/{}'.format(args.data))

Other than that, do you mind elaborating on "our meta-learning framework can simulate the unseen entities during meta-training." cause I am still a confused by how your model works.

Thanks!!!

Question about pre-trained embedding setting

Hi,

thanks for your great work first!

I have a question about the pre-trained embedding generated with Distmult. Do we need to ignore "unseen entities" when we pre-train, i.e., remove all the triples which contain unseen entities? Or we just put the whole KG into the pre-training process, and then mask them in inductive/transductive training?

Thanks!

About Training Gmatching MetaR and FSRL

Hi,

I am wondering how you train these methods in your task. As I understand, these three methods use entity pair matching and they do not use embeddings of sparse relations during training and evaluation. Do you also neglect the triple relations (relations in the triples containing unseen entities) while training them?

And also I think Gmatching, MetaR and FSRL are originally using meta-learning framework. What is the difference between, e.g., Gmatching and Gmatching*?

Split of the Unseen entities

Thank you for your excellent work!

Unseen entities are split into (meta-)train/val/test. In your code, i found that the triplets in self.meta_train_task_entity_to_triplets, self.meta_val_task_entity_to_triplets and self.meta_test_task_entity_to_triplets are disjoint respectively. Is this just a coincidence or a must? Because i have a question, if entity s is divided into train and entity o into test, the triplet (s,r,o) belongs to which? In this case, the triplets in train and test will not be disjoint.

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.