← all repositories

huggingface/tflite-android-transformers

Android demo apps that run DistilBERT and GPT-2 models on-device using TensorFlow Lite for offline question answering and text generation.

tflite-android-transformers
Velocity · 7d
+0.2
★ / day
Trend
steady
star history

This repository provides Android demo applications and conversion scripts for running transformer models on mobile devices. It includes a DistilBERT model fine-tuned on SQuAD for question answering and a GPT-2/DistilGPT2 model for text generation, both optimized via TensorFlow Lite for on-device inference. The models can run entirely offline on Android devices with GPU acceleration.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.