Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

DistilBERT / GPT-2 for on-device inference thanks to TensorFlow Lite with Android demo apps

License

NotificationsYou must be signed in to change notification settings

huggingface/tflite-android-transformers

Repository files navigation

Convert Transformers modelsimported from the🤗 Transformers libraryand use them on Android. You can also check out ourswift-coreml-transformers repoif you're looking for Transformers on iOS.

Demo of theDistilBERT model(97% of BERT’s performance on GLUE) fine-tuned for Question answering on the SQuAD dataset.It provides 48 passages from the dataset for users to choose from.

demo gif

On-device text generation usingGPT-2 orDistilGPT2 (same distillation process than DistilBERT, 2x faster and 33% smaller than GPT-2)

demo gif


Models generation

Example scripts used to convert the models are available in themodels_generation directory.Please note that they require the nightly version of TensorFlow and might thus be unstable.

License

Apache License 2.0

About

DistilBERT / GPT-2 for on-device inference thanks to TensorFlow Lite with Android demo apps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp