Giter VIP home page Giter VIP logo

generalize_lm_nli's People

Contributors

prajjwal1 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

Watchers

 avatar  avatar  avatar  avatar

generalize_lm_nli's Issues

No ckpt.meta file in the Google's release of 24 smaller BERT models

Google's release of the 24 smaller BERT models at https://github.com/google-research/bert do not have the .meta file. For example, the bert-base model (https://storage.googleapis.com/bert_models/2020_02_20/uncased_L-12_H-768_A-12.zip) provided in the list does not the .meta file, while the original release of bert-base by Google at https://storage.googleapis.com/bert_models/2018_10_18/uncased_L-12_H-768_A-12.zip contains the .meta file. Is the .meta file needed if we load the TF checkpoints in Pytorch using huggingface?

Training Data for TinyBERT

Hi @prajjwal1,

Thank you very much for this great repo and work.
I would be interested in working with your bert-tiny model.

For this work, it would be of importance to know what data exactly this model was obtained from. I could not find a concrete pointer.
Would you be able to guide me to a specification of this information?

Thank you a lot in advance and kind regards!

getting low results on MNLI

Hi

I have tried to use the bert-small-mnli model hosted on HF, and seems I have a couple of problems:

  1. The tokenizer doesn't seem to have a mxlen provided, so no padding happens AFAICT. Is that correct?
  2. There's a difference in the results I get from the HF API and when I locally run the inference code. Which or all of these should I have in the batch? input_ids, token_type_ids and attention_mask? If I just use input_ids, the results seem to match with the HF API (there's still a small difference, but I am tokenizing a bit differently), but otherwise, there's a huge difference.
  3. In any case, the HF API (and my local inference code) results are surprisingly low: for a sample of 100 validation_matched instances, I get an acc score of 21%. Do you have any insight on this? I am using hf datasets to download mnli data, so don't know if that is responsible for something. I saw something to that effect in the README, but quite not sure how should I change the labels in the dataset, if needed.

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.