Robust, stable, reliable but not the simplest/most flexible option
May 02, 2024

Robust, stable, reliable but not the simplest/most flexible option

Pierre Tassel | TrustRadius Reviewer
Score 6 out of 10
Vetted Review
Verified User

Overall Satisfaction with TensorFlow

Used it in the past with Keras to finetune and deploy a NER model. Keras is a nice library on top of TensorFlow but it is very opinionated, more than Pytorch for example.You can use TensorFlow without Keras to develop your model but in such as case it makes more sense to use Pytorch/JAX.
The big advantage of TensorFlow is also the serving, with TensorFlow serving it is quite easy to deploy the model (literally a matters of minutes with reasonable performance), however performance wise it is not always the best, I often get better throughput with ONNX conversion of the model then deployment with TensorRT at then expense of more intermediary steps (tradeoff depending on the load expected for the model).
I think TensorFlow got a bad wrap in the community due to the handling of the transition from version 1 to version 2 that was a bit chaotic, similarly when Google dropt the support of TensorFlow-Swift fears of "yet another project that Google will kill" intensified, but TensorFlow 2 can still be a good choice for a lot of models especially BERT based (NER, QA, etc.)
  • Model serving
  • Easy install/docker images
  • Lot of open source projects based on it (RL/GNN/etc.)
  • Lot of pre-finetuned BERT based models
  • Too much abstraction
  • Conversion of Pytorch models not that obvious sometimes
  • Good NLP model
  • Fast inference
  • Fast deployment
I prefer Pytorch overall, recent models are often only available with Pytorch
Pytorch is also easier to use and it is often easier to find support for Pytorch code nowadays than TensorFlow
Also it seems like lots of Google internal resource uses JAX. I mostly uses TensorFlow to maintain code already in production.

Do you think TensorFlow delivers good value for the price?

Yes

Are you happy with TensorFlow's feature set?

Yes

Did TensorFlow live up to sales and marketing promises?

No

Did implementation of TensorFlow go as expected?

Yes

Would you buy TensorFlow again?

No

Well suited: - pretrained BERT-base model ready to deploy - IoT with TensorFlow lite and the edge TPUs - Domain where datasets are available in Huggingface (e.g., medical model)

Less well suited: - Small project due to the complexity/less resource to learn - New model tends to use Pytorch