mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-22 17:52:35 +00:00
output
This commit is contained in:
parent
7045d3bb23
commit
4d112f5576
@ -201,7 +201,7 @@ class ModelProcess:
|
|||||||
if self.config["model"] is None:
|
if self.config["model"] is None:
|
||||||
print("No model is selected.\nPlease select a backend and a model to start using the ui.")
|
print("No model is selected.\nPlease select a backend and a model to start using the ui.")
|
||||||
else:
|
else:
|
||||||
print("Couldn't build model")
|
print(f"Couldn't build model {self.config['model']} : {ex}")
|
||||||
self.model = None
|
self.model = None
|
||||||
self._set_config_result['status'] ='failed'
|
self._set_config_result['status'] ='failed'
|
||||||
self._set_config_result['binding_status'] ='failed'
|
self._set_config_result['binding_status'] ='failed'
|
||||||
|
@ -44,7 +44,7 @@ class CTRansformers(LLMBinding):
|
|||||||
model_type='dolly-v2'
|
model_type='dolly-v2'
|
||||||
elif 'starcoder' in self.config['model']:
|
elif 'starcoder' in self.config['model']:
|
||||||
model_type='starcoder'
|
model_type='starcoder'
|
||||||
elif 'llama' in self.config['model'] or 'wizardLM' in self.config['model']:
|
elif 'llama' in self.config['model'].lower() or 'wizardlm' in self.config['model'].lower() or 'vigogne' in self.config['model'].lower():
|
||||||
model_type='llama'
|
model_type='llama'
|
||||||
elif 'mpt' in self.config['model']:
|
elif 'mpt' in self.config['model']:
|
||||||
model_type='mpt'
|
model_type='mpt'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user