# Federated learning in android device and use BERT in it

**URL:** <https://discuss.huggingface.co/t/federated-learning-in-android-device-and-use-bert-in-it/62047>\
**Category:** Beginners\
**Created:** [November 13, 2023, 8:44am UTC](https://discuss.huggingface.co/t/federated-learning-in-android-device-and-use-bert-in-it/62047 "2023-11-13T08:44:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiransh](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@chiransh](https://discuss.huggingface.co/u/chiransh)\
**Post date:** [November 13, 2023, 8:44am UTC](https://discuss.huggingface.co/t/federated-learning-in-android-device-and-use-bert-in-it/62047/1 "2023-11-13T08:44:06Z")

</div>

Hello,  
How do we perform inference and train a BERT model on device(android) for Federated Learning  
if we use tflite that only performs inference cannot train a .tflite .  
And if we use graph tensorflow model ( .pb), android tensorflow says that 1.13.1 version is depricated.  
Can you please help in getting BERT model running with Federated learning.
