Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does anyone try to apply this project to BERT? #29

Open
guotong1988 opened this issue Jul 5, 2019 · 7 comments
Open

Does anyone try to apply this project to BERT? #29

guotong1988 opened this issue Jul 5, 2019 · 7 comments
Assignees
Labels
technique:pruning Regarding tfmot.sparsity.keras APIs and docs

Comments

@guotong1988
Copy link

guotong1988 commented Jul 5, 2019

https://github.com/google-research/bert
Thank you very much!

@raziel
Copy link

raziel commented Jul 10, 2019

Not that we know of. I don't believe the open source bert trainer uses Keras. It would beb nice to see somebody trying it out though.

@raziel raziel self-assigned this Jul 10, 2019
@alanchiao alanchiao assigned alanchiao and haozha111 and unassigned raziel and alanchiao Jul 31, 2019
@alanchiao
Copy link

@haozha111 is trying this out

@Jasperty
Copy link

Jasperty commented Aug 1, 2019

@haozha111

how to apply this api to bert? do you train bert by keras? can we use bert trained by tensorflow?

@haozha111
Copy link

The pruning API only supports keras model right now. I'm just starting to trying it out, and don't have any code examples now. Will post here once I get some good results. Thanks!

@alanchiao alanchiao added the technique:pruning Regarding tfmot.sparsity.keras APIs and docs label Feb 6, 2020
@teijeong
Copy link
Contributor

Hi @haozha111, is there some updates?

@lan2720
Copy link

lan2720 commented May 17, 2022

The pruning API only supports keras model right now. I'm just starting to trying it out, and don't have any code examples now. Will post here once I get some good results. Thanks!

Hi @haozha111, is there some updates?

@haozha111
Copy link

no, I haven't tried it recently. if you are interested, please follow docs in https://www.tensorflow.org/model_optimization to apply it to BERT, also cc'ing Jaesung who is currently working on MOT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technique:pruning Regarding tfmot.sparsity.keras APIs and docs
Projects
None yet
Development

No branches or pull requests

8 participants