TLDRocket
Sign in

Tools & Coding

975 summarised stories in Tools & Coding, each linking back to the original source. Browse all topics →

Friday, 12 August 2022

Hugging Face's TensorFlow Philosophy

Hugging Face 4 years ago 22

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.

Introducing Skops

Hugging Face 4 years ago 9

Hugging Face released Skops, a new library that allows users to host scikit-learn machine learning models on the Hugging Face Hub with automatic documentation and collaboration features. The library enables users to serialize models, generate model cards with metadata and evaluation metrics, and push repositories to the Hub using a few lines of Python code. Users can now share scikit-learn models publicly with inference widgets and discoverable metadata without manual configuration.

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.