mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Ignore rope_freq_base if value is 10000
This commit is contained in:
parent
3a9d90c3a1
commit
a49cc69a4a
@ -91,6 +91,10 @@ def get_model_metadata(model):
|
|||||||
if 'desc_act' in metadata:
|
if 'desc_act' in metadata:
|
||||||
model_settings['desc_act'] = metadata['desc_act']
|
model_settings['desc_act'] = metadata['desc_act']
|
||||||
|
|
||||||
|
# Ignore rope_freq_base if set to the default value
|
||||||
|
if model_settings['rope_freq_base'] == 10000:
|
||||||
|
model_settings.pop('rope_freq_base')
|
||||||
|
|
||||||
# Apply user settings from models/config-user.yaml
|
# Apply user settings from models/config-user.yaml
|
||||||
settings = shared.user_config
|
settings = shared.user_config
|
||||||
for pat in settings:
|
for pat in settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user