macedonizer commited on
Commit
83e359d
1 Parent(s): 9b76d3f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -14,14 +14,14 @@ Pretrained model on English language using a causal language modeling (CLM) obje
14
  and first released at [this page](https://openai.com/blog/better-language-models/).
15
 
16
  ## Model description
17
- mk-gpt2 is a transformers model pretrained on a very large corpus of Macedonian data in a self-supervised fashion. This
18
  means it was pretrained on the raw texts only, with no humans labeling them in any way (which is why it can use lots
19
  of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely,
20
  it was trained to guess the next word in sentences.
21
  More precisely, inputs are sequences of the continuous text of a certain length and the targets are the same sequence,
22
  shifted one token (word or piece of a word) to the right. The model uses internally a mask-mechanism to make sure the
23
  predictions for the token `i` only uses the inputs from `1` to `i` but not the future tokens.
24
- This way, the model learns an inner representation of the Macedonian language that can then be used to extract features
25
  useful for downstream tasks. The model is best at what it was pretrained for, however, which is generating texts from a
26
  prompt.
27
 
@@ -37,7 +37,7 @@ input_text = 'Η Αθήνα είναι'
37
 
38
  if len(input_text) == 0: \
39
  encoded_input = tokenizer(input_text, return_tensors="pt") \
40
- output = model.generate( \
41
  bos_token_id=random.randint(1, 50000), \
42
  do_sample=True, \
43
  top_k=50, \
 
14
  and first released at [this page](https://openai.com/blog/better-language-models/).
15
 
16
  ## Model description
17
+ gr-gpt2 is a transformers model pretrained on a very large corpus of Greek data in a self-supervised fashion. This
18
  means it was pretrained on the raw texts only, with no humans labeling them in any way (which is why it can use lots
19
  of publicly available data) with an automatic process to generate inputs and labels from those texts. More precisely,
20
  it was trained to guess the next word in sentences.
21
  More precisely, inputs are sequences of the continuous text of a certain length and the targets are the same sequence,
22
  shifted one token (word or piece of a word) to the right. The model uses internally a mask-mechanism to make sure the
23
  predictions for the token `i` only uses the inputs from `1` to `i` but not the future tokens.
24
+ This way, the model learns an inner representation of the Greek language that can then be used to extract features
25
  useful for downstream tasks. The model is best at what it was pretrained for, however, which is generating texts from a
26
  prompt.
27
 
 
37
 
38
  if len(input_text) == 0: \
39
  encoded_input = tokenizer(input_text, return_tensors="pt") \
40
+ output = model.generate( \
41
  bos_token_id=random.randint(1, 50000), \
42
  do_sample=True, \
43
  top_k=50, \