Skip to content

huggingface prompts templates package for Text Generator

License

Notifications You must be signed in to change notification settings

text-gen/huggingface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huggingface

Huggingface offers many models that can be used for various tasks such as classification, text generation and summarization. The models that have the API option available, can be used with Text Generator Plugin.

In this repository, there are three examples provided: classification (bart-large-mnli), text generation (bloom) and summarization (bart-large-cnn).

To use the models provided in this repository:

  • You need to create an account in the Huggingface website first.
  • After that, you can generate an API Key by going to Access Tokens in the settings page.
  • Lastly, replace all 'You_API_KEY_HERE' with your API Key in TemplatesPath/huggingface/*.