Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent Folder Path Usage When Changing Bindings #1

Open
nanangarsyad opened this issue Jul 1, 2023 · 1 comment
Open

Inconsistent Folder Path Usage When Changing Bindings #1

nanangarsyad opened this issue Jul 1, 2023 · 1 comment

Comments

@nanangarsyad
Copy link

I encountered an issue where the folder path specified in the lollms application is not consistently used when switching to a different binding. Despite setting the folder path correctly, the application fails to respect the designated folder path, causing inconsistencies in file storage and access.

I set the Folder path to /home/xyz-abc/data/lollms but it just changed back to /home/xyz-abc/Documents when setting up the binding.

Here is the relevant log

$ lollms-settings 
Personalities zoo found in your personal space.
Pulling last personalities zoo
Already up to date.
Personalities zoo found in your personal space.
Pulling last personalities zoo
Already up to date.
------ Lollms Paths ------
Global paths configuration Path: /home/xyz-abc/lollms_server_global_paths_cfg.yaml
Personal Configuration Path: /home/xyz-abc/data/lollms/configs
Personal Data Path: /home/xyz-abc/data/lollms/data
Personal Databases Path: /home/xyz-abc/data/lollms/databases
Personal Models Path: /home/xyz-abc/data/lollms/models
Personal Uploads Path: /home/xyz-abc/proj/falcon-llm/lollms-webui/env/lib/python3.11/site-packages/lollms/uploads
Personal Log Path: /home/xyz-abc/proj/falcon-llm/lollms-webui/env/lib/python3.11/site-packages/lollms/logs
Bindings Zoo Path: /home/xyz-abc/data/lollms/bindings_zoo
Personalities Zoo Path: /home/xyz-abc/data/lollms/personalities_zoo
------ ------------ ------
Couldn't load personality. Please verify your configuration file at /home/xyz-abc/data/lollms/configs/lollms_server_local_config.yaml or use the next menu to select a valid personality
Binding returned this exception : 'Settings' object has no attribute 'model'
personalities_zoo_path: /home/xyz-abc/data/lollms/personalities_zoo
Personalities:['english/generic/lollms']
Active personality id:0
Please select a valid model or install a new one from a url

      ___       ___           ___       ___       ___           ___      
     /\__\     /\  \         /\__\     /\__\     /\__\         /\  \     
    /:/  /    /::\  \       /:/  /    /:/  /    /::|  |       /::\  \    
   /:/  /    /:/\:\  \     /:/  /    /:/  /    /:|:|  |      /:/\ \  \   
  /:/  /    /:/  \:\  \   /:/  /    /:/  /    /:/|:|__|__   _\:\~\ \  \  
 /:/__/    /:/__/ \:\__\ /:/__/    /:/__/    /:/ |::::\__\ /\ \:\ \ \__\ 
 \:\  \    \:\  \ /:/  / \:\  \    \:\  \    \/__/~~/:/  / \:\ \:\ \/__/ 
  \:\  \    \:\  /:/  /   \:\  \    \:\  \         /:/  /   \:\ \:\__\   
   \:\  \    \:\/:/  /     \:\  \    \:\  \       /:/  /     \:\/:/  /   
    \:\__\    \::/  /       \:\__\    \:\__\     /:/  /       \::/  /    
     \/__/     \/__/         \/__/     \/__/     \/__/         \/__/     

Version: 2.1.11
By : ParisNeo



Current binding : None
Current model : None


Main Menu:
1 - Select Binding
2 - Select Model
3 - Select Personality
4 - Reinstall current Binding
5 - Reinstall current Personality
6 - Reset all installs
7 - Reset paths
0 - Back to app
-1 - Help
-2 - Exit app
Enter your choice: 1

Current binding: None
Menu:
1 -  gpt4all (by Nomic-ai)
2 -  GPT-J (by marella)
3 -  This is a binding template (Not usable) (by the binding author)
4 -  PyLLamaCpp (by abdeladim)
5 -  C Transformer (by marella)
6 -  Hugging Face (by Hugging face Inc)
7 -  GPT-J (by abdeladim)
8 -  Lord of LLMs Remote nodes (by ParisNeo)
9 -  AutoGPTQ (by PanQiWei)
10 -  Official llamacpp binding (by abetlen)
11 -  The original GPT (by Open AI)
12 - Back
Enter your choice: 6
You selected binding: hugging_face
No personalities found in your personal space.
Cloning the personalities zoo
Cloning into '/home/xyz-abc/Documents/lollms/personalities_zoo'...
@nanangarsyad
Copy link
Author

I opened a PR to ask for confirmation regarding my fix here.
ParisNeo/lollms_bindings_zoo#4
please let me know you thought when you have the chance, thanks.

ParisNeo pushed a commit that referenced this issue Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant