Mikhail Biriuchinskii commited on
Commit
25e9379
1 Parent(s): 601e911

Delete generation_config.py

Browse files
Files changed (1) hide show
  1. generation_config.py +0 -8
generation_config.py DELETED
@@ -1,8 +0,0 @@
1
- from transformers import GenerationConfig
2
-
3
- class MyGenerationConfig(GenerationConfig):
4
- def __init__(self, **kwargs):
5
- super().__init__(**kwargs)
6
- # Set the non-default generation parameters
7
- self.early_stopping = True
8
- self.forced_eos_token_id = 2