wn3 commited on
Commit
6d07eb8
·
verified ·
1 Parent(s): ec834fa

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md CHANGED
@@ -14,6 +14,29 @@ tags:
14
  - code
15
  ---
16
  # Model Name
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
 
18
  This model is a fine-tuned version of GPT-2. To use it, simply run:
19
 
 
14
  - code
15
  ---
16
  # Model Name
17
+ GPT-2
18
+ Test the whole generation capabilities here: https://transformer.huggingface.co/doc/gpt2-large
19
+
20
+ Pretrained model on English language using a causal language modeling (CLM) objective. It was introduced in this paper and first released at this page.
21
+
22
+ Disclaimer: The team releasing GPT-2 also wrote a model card for their model. Content from this model card has been written by the Hugging Face team to complete the information they provided and give specific examples of bias.
23
+
24
+ Model description
25
+ 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.
26
+
27
+ More precisely, inputs are sequences of continuous text of a certain length and the targets are the same sequence, shifted one token (word or piece of word) to the right. The model uses internally a mask-mechanism to make sure the predictions for the token i only uses the inputs from 1 to i but not the future tokens.
28
+
29
+ This way, the model learns an inner representation of the English language that can then be used to extract features useful for downstream tasks. The model is best at what it was pretrained for however, which is generating texts from a prompt.
30
+
31
+ This is the smallest version of GPT-2, with 124M parameters.
32
+
33
+ Related Models: GPT-Large, GPT-Medium and GPT-XL
34
+
35
+ Intended uses & limitations
36
+ You can use the raw model for text generation or fine-tune it to a downstream task. See the model hub to look for fine-tuned versions on a task that interests you.
37
+
38
+ How to use
39
+ You can use this model directly with a pipeline for text generation. Since the generation relies on some randomness, we set a seed for reproducibility:
40
 
41
  This model is a fine-tuned version of GPT-2. To use it, simply run:
42