GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Contents
  • Current events
  • Random article
  • About Wikipedia
  • Contact us
  • Help
  • Learn to edit
  • Community portal
  • Recent changes
  • Upload file
  • Special pages
  • Search
  • Donate

This view

  • Original page
  • New address

GeezerVison is showing en.wikipedia.org — fastText - Wikipedia

This article is about the text classification library. For the teletext feature, see Fastext.
fastText
DeveloperFacebook's AI Research (FAIR) lab[1]
ReleaseNovember 9, 2015 (2015-11-09)
Stable release
0.9.2[2] / April 28, 2020 (2020-04-28)
Written inC++, Python
PlatformLinux, macOS, Windows
TypeMachine learning library
LicenseMIT License
Websitefasttext.cc
Repositorygithub.com/facebookresearch/fastText

fastText is an open-source library developed by Facebook AI Research (FAIR) for learning word representations and performing text classification. It was publicly released in 2016.[3]

For word representation, fastText incorporates subword information using character n-grams, which enables it to construct representations for words not encountered during training.[4] The library also provides supervised methods designed for efficient text classification.[5]

The GitHub repository was archived on March 19, 2024.

Word representations

fastText builds on the skip-gram model used in word2vec, but also takes the internal structure of words into account. Instead of learning a representation for each word only as a whole, it represents words using character n-grams. Words that share character sequences can therefore share some of the same learned information.[6]

This use of subword information is particularly useful for rare words and languages with complex word formation, and also allows fastText to construct representations for words that were not seen during training.[6] Facebook AI Research later released pretrained fastText vectors for many languages, including a collection for 157 languages trained on Common Crawl and Wikipedia.[7]

Text classification

fastText can also be used for supervised text classification. It combines information from the words and word n-grams in a text to predict a class label. The method was designed to be computationally efficient and, in its original evaluation, achieved accuracy comparable to several contemporary deep-learning models while training and making predictions much faster.[8]

See also

  • Word2vec
  • GloVe
  • Neural network (machine learning)
  • Natural language processing
  • Comparison of machine learning software

References

  1. ↑ Mannes, John. "Facebook's fastText library is now optimized for mobile". TechCrunch. Retrieved 12 January 2018.
  2. ↑ Onur Çelebi (2020-04-28). "facebookresearch/fastText/releases/tag/v0.9.2". Facebook. Retrieved 2020-11-21.
  3. ↑ "Releasing fastText". fastText. 18 August 2016. Retrieved 16 August 2026.
  4. ↑ Bojanowski, Piotr; Grave, Edouard; Joulin, Armand; Mikolov, Tomas (2017). "Enriching Word Vectors with Subword Information". Transactions of the Association for Computational Linguistics. 5: 135–146. arXiv:1607.04606. doi:10.1162/tacl_a_00051.
  5. ↑ Joulin, Armand; Grave, Edouard; Bojanowski, Piotr; Mikolov, Tomas (2017). "Bag of Tricks for Efficient Text Classification". Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers. Association for Computational Linguistics. pp. 427–431.
  6. 1 2 Bojanowski, Piotr; Grave, Edouard; Joulin, Armand; Mikolov, Tomas (2017). "Enriching Word Vectors with Subword Information". Transactions of the Association for Computational Linguistics. 5: 135–146. arXiv:1607.04606. doi:10.1162/tacl_a_00051.
  7. ↑ Grave, Edouard; Bojanowski, Piotr; Gupta, Prakhar; Joulin, Armand; Mikolov, Tomas (2018). "Learning Word Vectors for 157 Languages". Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018). European Language Resources Association.
  8. ↑ Joulin, Armand; Grave, Edouard; Bojanowski, Piotr; Mikolov, Tomas (2017). "Bag of Tricks for Efficient Text Classification". Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics: Volume 2, Short Papers. Association for Computational Linguistics. pp. 427–431.

External links

  • fastText
Stub icon

This free and open-source software article is a stub. You can help Wikipedia by adding missing information.

  • v
  • t
  • e
Retrieved from "https://en.wikipedia.org/w/index.php?title=FastText&oldid=1384644205"
Categories:
  • Natural language processing software
  • Software using the MIT license
  • Free and open-source software stubs
Hidden categories:
  • Articles with short description
  • Short description is different from Wikidata
  • All stub articles
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.