pszemraj commited on
Commit
9407fda
·
1 Parent(s): b00a778

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
README.md CHANGED
@@ -33,9 +33,9 @@ ta ohow to remove trents in these nalitives from time series"
33
 
34
  parameters:
35
  max_length: 128
36
- min_length: 4
37
- num_beams: 4
38
- repetition_penalty: 1.21
39
  length_penalty: 1
40
  early_stopping: True
41
  ---
@@ -51,7 +51,7 @@ usage in Python (after `pip install transformers`):
51
  from transformers import pipeline
52
  corrector = pipeline(
53
  'text2text-generation',
54
- 'pszemraj/grammar-synthesis-large',
55
  )
56
  raw_text = 'i can has cheezburger'
57
  results = corrector(raw_text)
 
33
 
34
  parameters:
35
  max_length: 128
36
+ min_length: 2
37
+ num_beams: 8
38
+ repetition_penalty: 1.3
39
  length_penalty: 1
40
  early_stopping: True
41
  ---
 
51
  from transformers import pipeline
52
  corrector = pipeline(
53
  'text2text-generation',
54
+ 'pszemraj/grammar-synthesis-small',
55
  )
56
  raw_text = 'i can has cheezburger'
57
  results = corrector(raw_text)