26.1 hugging configure
Output will be something like:
*** The following required pip packages are already installed:
  torch
*** Installing Python package transformers by pip into
  /home/gjw/.mlhub/hugging/.python
Do you want to pip install transformers [Y/n]?
Collecting transformers
  Downloading transformers-4.22.1-py3-none-any.whl (4.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 17.1 MB/s eta 0:00:00
Collecting requests
  Downloading requests-2.28.1-py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 11.4 MB/s eta 0:00:00
...
*** Installing Python package trafilatura by pip into
  /home/gjw/.mlhub/hugging/.python
Do you want to pip install trafilatura [Y/n]?
Collecting trafilatura
  Downloading trafilatura-1.3.0-py3-none-any.whl (1.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 9.2 MB/s eta 0:00:00
...
*** Downloading required files ...
To view the model's README:
  $ ml readme hugging
meta:
  name         : hugging
  title        : implement various hugging face pipelines and models through MLHUB
  keywords     : python, summarization, transformers, t5, BART, sentiment-analysis
  version      : 0.1.0
  languages    : py
  license      : gpl3
  author       : Shashank Gummuluru, Graham Williams
  url          : https://github.com/gjwgit/summarize
dependencies:
  pip3:
    - torch
    - transformers
    - trafilatura
  files:
    - README.md
    - demo.py
    - utils.py
    - summarize.py
    - sentiment.py
    - summarise.py
    - sentiment.txt
    - microsoft.txt
commands:
  summarize : Summarizes a given piece of text
  sentiment : Provides the sentiment ((pos | neg), score) of a given piece of text
  demo : Provides a demo of the commands implemented so farYour 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