Git Product home page Git Product logo

efficient-nlp's Introduction


Apache License


KD-NLP

This repository is a collection of Knowledge Distillation (KD) methods implemented by the Huawei Montreal NLP team.

Included Projects

License

This project's license is under the Apache 2.0 license.

efficient-nlp's People

Contributors

arefjafari avatar ehsk avatar huawei-noah-admin avatar mojivalipour avatar teddli 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  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  avatar  avatar

efficient-nlp's Issues

A question about Annealing KD

Well, it seems that hugging-face has rebuilt their repository and in your ReadMe.md, you just provide the link to the original position of run_glue.py to tune the teacher. Is there any possibility that you might provide the target version of run_glue.py?

Where is the genrative task part of Dylora

Hi thanks for your work.
I am studying LoRA and I noticed that the your work Dylora dose not contain the implementation of NLG part.
I am simply writing to ask in order to reproduce the results of generative tasks, should I change the hyper-parameter lora-dim in as you did with lora_r in the NLU task?

questions about MATE-KD

hi, the mate-kd is an excellent work on NLP KD. Here I have a question about the codes of this paper.

In the section 4.1 of the paper, the authors said that two different teacher models (Roberta large and BERT base) were used in the two steps, but the codes showed that only one teacher model is used. Is it right?

on the other hand, the two steps should be trained separately? But the codes showed that in the training procedure, 10 steps for updating the params of generator, then 100 steps for updating the student model. That makes me feel wired.

Question about Table. 2 LoRA baseline

Hi, thanks for sharing your code of this amazing paper!

I have a probably naive question regarding the LoRA baseline implementation. How did you find the low-rank matrix in table to accommodate small-device deployment? Was it done by selecting the first r vectors in LoRA?

Thanks for your response in advance.

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.