provider(gpt2): add description

This commit is contained in:
0xMRTT 2023-05-08 22:48:12 +02:00
parent 46c3bcd41e
commit ffdbc1759a
Signed by: 0xmrtt
GPG key ID: 19C1449A774028BD
3 changed files with 7 additions and 1 deletions

View file

@ -5,7 +5,9 @@ class HuggingFaceGPT2Provider(BaseHFProvider):
name = "GPT 2"
slug = "hfgpt2"
model = "gpt2"
description = "GPT-2 is a transformers model pretrained on a very large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely, it was trained to guess the next word in sentences."
languages = "English"
@property
def require_api_key(self):
return False

View file

@ -5,6 +5,8 @@ class HuggingFaceGPT2LargeProvider(BaseHFProvider):
name = "GPT 2 Large"
slug = "hfgpt2large"
model = "gpt2-large"
description = "GPT-2 is a transformers model pretrained on a very large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely, it was trained to guess the next word in sentences."
languages = "English"
@property
def require_api_key(self):

View file

@ -5,6 +5,8 @@ class HuggingFaceGPT2XLProvider(BaseHFProvider):
name = "GPT 2 XL"
slug = "hfgpt2"
model = "gpt2-xl"
description = "GPT-2 is a transformers model pretrained on a very large corpus of English data in a self-supervised fashion. This means it was pretrained on the raw texts only, with no humans labelling them in any way (which is why it can use lots of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely, it was trained to guess the next word in sentences."
languages = "English"
@property
def require_api_key(self):