24 Hugging Face Model Repository


Package: hugging by Shashank Gummuluru.

The Hugging Face initiative provides a repository of pre-built deep learning models that are made freely available through Python. Models range from natural language understanding through to computer vision. There is a wealth of capability provided for the developer and data scientist.

This MLHub package, hugging, demonstrates some of the capability of the Hugging Face repository, but through the command line using the MLHub framework. The aim is that within 5 minutes you will explore some of the capabilities and decied whether it is worth further exploration.

To install, configure, and demonstrate the package:

ml install   shashank-gv/hugging
ml configure hugging
ml readme    hugging
ml commands  hugging
ml demo      hugging

In addition to the demo command the package supports sentiment, and summarize.


ml summarize hugging https://www.abc.net.au/news/2022-09-22/nasa-releases-clearest-view-of-neptunes-rings-in-decades/101466864
The new webb image also clearly shows Neptune's fainter dust bands. 
Some of the planet's rings have not been detected since 1989. 
Webb's images show the ice giant in a whole new light.


ml summarize hugging https://www.abc.net.au/news/2022-08-16/morrison-secret-ministerial-appointments-legal-or-not-icac/101318718

A message to stderr says:

Your input text is greater than 1024 words. 
Results are calculated on the first 1024 words of the input. 
If you want more accurate results input a text file with lower than 1024 words.

The output to STDOUT is

Scott Morrison's secret ministerial appointments likely legal and outside federal ICAC remit, experts say. 
Independent MPs say the former prime minister's actions should be investigated by a federal integrity body. 
A former NSW ICAC assistant commissioner says many questions remain unanswered. 
Prime Minister Anthony Albanese is expected to provide an update today after receiving briefings from the


Use in a pipeline

ml summarize hugging https://www.abc.net.au/news/2022-09-22/nasa-releases-clearest-view-of-neptunes-rings-in-decades/101466864 | head -1 | ml sentiment hugging

Or do this for all sentences

ml summarize hugging https://www.abc.net.au/news/2022-09-22/nasa-releases-clearest-view-of-neptunes-rings-in-decades/101466864 |  xargs -I@ bash -c 'ml sentiment hugging @'

Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0