diff --git a/README.md b/README.md index 49776b05d..c5b48e908 100644 --- a/README.md +++ b/README.md @@ -11,25 +11,19 @@

- - NPM - - - NPM Downloads - - - jsDelivr Hits - - - License - - - Documentation - + NPM + NPM Downloads + jsDelivr Hits + License + Documentation

-State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server! +

+

State-of-the-art Machine Learning for the Web

+

+ +Run 🤗 Transformers directly in your browser, with no need for a server! Transformers.js is designed to be functionally equivalent to Hugging Face's [transformers](https://github.com/huggingface/transformers) python library, meaning you can run the same pretrained models using a very similar API. These models support common tasks in different modalities, such as: - 📝 **Natural Language Processing**: text classification, named entity recognition, question answering, language modeling, summarization, translation, multiple choice, and text generation. diff --git a/docs/scripts/build_readme.py b/docs/scripts/build_readme.py index 611c5b3f6..49a2e6400 100644 --- a/docs/scripts/build_readme.py +++ b/docs/scripts/build_readme.py @@ -13,21 +13,11 @@

- - NPM - - - NPM Downloads - - - jsDelivr Hits - - - License - - - Documentation - + NPM + NPM Downloads + jsDelivr Hits + License + Documentation

{intro} diff --git a/docs/snippets/0_introduction.snippet b/docs/snippets/0_introduction.snippet index d25a0e513..34d71bccb 100644 --- a/docs/snippets/0_introduction.snippet +++ b/docs/snippets/0_introduction.snippet @@ -1,5 +1,9 @@ -State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server! +

+

State-of-the-art Machine Learning for the Web

+

+ +Run 🤗 Transformers directly in your browser, with no need for a server! Transformers.js is designed to be functionally equivalent to Hugging Face's [transformers](https://github.com/huggingface/transformers) python library, meaning you can run the same pretrained models using a very similar API. These models support common tasks in different modalities, such as: - 📝 **Natural Language Processing**: text classification, named entity recognition, question answering, language modeling, summarization, translation, multiple choice, and text generation.