TLDRocket
Sign in

Hugging Face

243 summarised stories about Hugging Face, each linking back to the original source. Browse all topics →

+ Follow this topic

Friday, 12 August 2022

Hugging Face's TensorFlow Philosophy

Hugging Face 4 years ago 27

Hugging Face adopted four design philosophies for its TensorFlow implementation: models must be Keras objects with built-in loss functions, labels follow standard Keras conventions, and data pipelines integrate with the Hugging Face datasets library. The library allows users to load pretrained models in a single line of code—for example, `TFAutoModel.from_pretrained("bert-base-cased")`—and train them with standard Keras methods like `fit()` without writing custom training loops. This approach lets TensorFlow engineers leverage transfer learning and compose multiple pretrained models together while staying within familiar Keras abstractions.

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.