<commit_before>.. How to use TensorFlow models and Gaia SVM classifiers 

Machine learning models
=======================

Essentia includes algorithms for running inference with two types of data-driven machine learning models that can be used for high-level annotation of music audio:

* TensorFlow models
* Gaia's SVM classifiers

We provide various pre-trained models of both types for various music classification tasks (see `downloads page <download.html>`_).



Using pre-trained TensorFlow models
-----------------------------------

Most recently, Essentia provides a wrapper for inference with TensorFlow deep learning models. Follow `these instructions <https://mtg.github.io/essentia-labs/news/tensorflow/2019/10/19/tensorflow-models-in-essentia/>`_ to install and use Essentia with this wrapper.

We provide many `pre-trained TensorFlow models <https://mtg.github.io/essentia-labs/news/tensorflow/2020/01/16/tensorflow-models-released/>`_ for auto-tagging and music classification that can be used out of the box.

See the demos of these models `here <demos.html>`_.

TODO text with recommendations how to build your own models.

<commit_msg>Small updates to the text about TensorFlow models<commit_after>.. How to use TensorFlow models and Gaia SVM classifiers 

Machine learning models
=======================

Essentia includes algorithms for running inference with two types of data-driven machine learning models that can be used for high-level annotation of music audio:

* TensorFlow models
* Gaia's SVM classifiers

We provide various pre-trained models of both types for various music classification tasks (see `downloads page <download.html>`_).



Using pre-trained TensorFlow models
-----------------------------------

Most recently, Essentia provides a wrapper for TensorFlow deep learning models, designed to offer the flexibility of use, easy extensibility, and real-time inference. It allows using virtually any TensorFlow model within our audio analysis framework. Follow `these instructions <https://mtg.github.io/essentia-labs/news/tensorflow/2019/10/19/tensorflow-models-in-essentia/>`_ to install and use Essentia with this wrapper.

We provide many `pre-trained TensorFlow models <https://mtg.github.io/essentia-labs/news/tensorflow/2020/01/16/tensorflow-models-released/>`_ for auto-tagging and music classification that can be used out of the box.

See the demos of these models `here <demos.html>`_.

Some of our models can work in real-time, opening many possibilities for audio developers. For example, `see the demo and code <https://mtg.github.io/essentia-labs/news/tensorflow/2020/04/23/tensorflow-real-time/>`_ for the MusiCNN model performing music auto-tagging on a live audio stream.

TODO text with recommendations how to build your own models.


{'fraction_non_alphanumeric': 0.10626118067978534, 'fraction_numerical': 0.014311270125223614, 'mean_word_length': 4.2164179104477615, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '108192', 'n_tokens_mistral': 765, 'n_tokens_neox': 702, 'n_words': 315}