Giter Club home page Giter Club logo

court-of-xai's People

Contributors

michaeljneely avatar sfschouten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

court-of-xai's Issues

nan-loss on entmax with Quora dataset.

It seems the entmax function can't handle an alpha of <=1, but it still returns gradients that allow it to get there during training.
This causes the loss to become 'nan'.

Display progress of interpretation

Use Tqdm to show how far along the interpretation is for each SaliencyInterpreter. So we can have some idea of how much longer it will take.

Instantiate Evaluator from JsonNet file.

  • Allow for specifying:
    • directory of trained model to experiment on;
    • which interpreters to include and/or which combinations of interpreters to include;
    • wether to run experiments on cuda;
    • batch size to use during experiment;
  • Rename Evaluator to AttentionExperiment[er] to avoid confusion with the evaluate command in AllenNLP.
  • [Optional] Add attn_experiment command that starts the experiment from the commandline.

We can use Params.from_file and FromParams.from_params like it is done in allennlp/commands/train.py

LIME on DistilBERT

The LIME code fails when there's a datareader that concatenates the sequences for DistilBERT. We convert instances back to text, but the concatenated sequence gets converted to a single string, but the datareader expects two separate string sequences to make an Instance.

There's a way to fix this that would also make the code nicer. The implementation of LIME we use assumes unprocessed text, which is why we convert our tokenized Instances back to strings. Instead we should replace some of the LIME code so we can do the replacing of some of the tokens with UNKs ourselves, that way the datareader wouldn't be involved anymore.

This would also have as an added benefit that it would eliminate (possible) mistakes occuring in converting back to raw text and then re-tokenizing. I suspect this is introducing at least some weirdness.

Add Machine Translation Task

Attention was originally proposed in the context of Machine Translation, so it makes since to include it in our list of tasks.

Components:

  • Select dataset
  • Add Recurrent seq2seq model
  • Add Transformer seq2seq model

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.