Giter Club home page Giter Club logo

curiosity's Introduction

⚠️ **This repo contains ongoing work. For reproducibility, the code used for the paper is archived at https://github.com/lgelderloos/curiosity Where Lieke actively takes care of it.

Curious Word Learning

Welcome. This code representation is related to the Active Word Learning through Self-supervision study.

Citation

If you use this work please cite us as:

Gelderloos, L., Mahmoudi Kamelabad, A., & Alishahi, A. (2020). Active Word Learning through Self-supervision. In S. Denison, M. Mack, Y. Xu, & B. C. Armstrong (Eds.), Proceedings for the 42nd Annual Meeting of the Cognitive Science Society (pp. 1050–1056). Cognitive Science Society.

Alternatively you can download the bib file here as well:

General Variables, Data, and constant definitions

dict_words_boxes

{img_id:(str): {
    obj_id:(str): {
        'bnbox': a list of four coordinations,
        'word':  the linguistic representation of the object
    },
},

Regular data (dictionary with all images and their object ids, corresponding words).

language_input

a tensor of word indexes.

main.py

input

The shape of input to main.py

< Number of Batches: int > < Learning Rate: float > < Curiosity Setting: str > < Seed >

  • Number of Batches: int, (default= 40)
  • Learning Rate: [.1, .01, .001, .0001, .00001] : float
  • Curiosity Setting: ["curious", "plasticity", "sn", "random"], (sn: Subjective Novelty)
  • Seed: The ones used to run the experiment: [123, 234, 345, 456, 567, 678, 789, 890, 901, 12, 23, 34, 45, 56, 67, 78, 89, 90, 1, 100]

Code Structure considerations

Constants

In order to manage constants I made the class UniversalConstants for constants in toolbox.py. All the code files should import this class and make an object of it with specific name uc. Here is how you do it:

from toolbox import UniversalConstants
uc = UniversalConstants()

Bug Problems

please feel free to raise up issue in case you face problems.

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.