初始化项目,由ModelHub XC社区提供模型
Model: augustoafleal/gpt2-ptbr-218m Source: Original Platform
This commit is contained in:
10
generation_config.json
Normal file
10
generation_config.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"eos_token_id": 2,
|
||||
"pad_token_id": 3,
|
||||
"bos_token_id": 1,
|
||||
"max_length": 256,
|
||||
"do_sample": true,
|
||||
"temperature": 1.0,
|
||||
"top_k": 50,
|
||||
"top_p": 1.0
|
||||
}
|
||||
Reference in New Issue
Block a user