Deep Learning Community Question

Can TensorFlow keep up with the Generative AI and LLM trend in the coming years?

Posted on 2025-01-18 • In Deep Learning • By Michelle Ortiz

With the explosion of Large Language Models, I notice a lot of repos are using PyTorch. Does TensorFlow have a solid strategy for training and fine-tuning these massive models? I want to know if sticking with the Google ecosystem is viable for someone looking to specialize in Generative AI and Transformers.

3 Answers 17,591 Views

All answers to this question 3 Answers

Sandra Little Answered on 2025-01-20
Answered

While it's true that many researchers use PyTorch for the initial LLM release, TensorFlow is where those models often go to be served at scale. KerasNLP and the newer Generative AI tools from Google are making it much easier to work with Transformers. Also, if you're using Google Cloud's Vertex AI, the integration with TensorFlow for fine-tuning models like BERT or PaLM-style architectures is extremely efficient. The framework is evolving to be more "module-heavy" to handle these large architectures better.

Jason Simmons Answered on 2025-01-23
Answered

Does the ecosystem support PEFT (Parameter-Efficient Fine-Tuning) as well as the Hugging Face libraries do? That's the main concern for me.

Ronald Bryant Commented on 2025-01-25
Commented

Jason, Hugging Face actually has a TFTrainer and supports TensorFlow for many of their models. While the documentation for PEFT is more centered on PyTorch, the TF community is catching up rapidly. You can definitely implement LoRA and other techniques in TF; it just requires a bit more manual setup in the custom training loops for now.

Thomas Jenkins Answered on 2025-01-28
Answered

TensorFlow is still very relevant here because of its ability to handle distributed training across TPU pods, which is essential for training LLMs from scratch.

Sandra Little Commented on 2025-01-30
Commented

True, Thomas. For anyone with access to TPU resources, TensorFlow is usually the most optimized path for training those massive parameter counts.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.