# Federated learning in android device and use BERT in it

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffederated-learning-in-android-device-and-use-bert-in-it%2F62047%3E%5C
**Category:** Beginners\
**Created:** [November 13, 2023, 8:44am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffederated-learning-in-android-device-and-use-bert-in-it%2F62047 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fchiransh)%5C
**Post date:** [November 13, 2023, 8:44am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ffederated-learning-in-android-device-and-use-bert-in-it%2F62047%2F1 "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.
