Help - where is server/models.json?
Where is this file?
If I run the server and go to localhost:5432/models.json there's no file to edit there.
Also, are there any templates for the llama models? I mean, I'm grateful for this entire project for free, but it seems kind of strange to have to write the template for each model manually, but I don't know...🤷♂️ I don't even know what all the parameters are or their ranges.
If you want edit the settings of models you've chosen you can go to localhost:5432/settings. models.json exists in the directory where the package is installed (or if you cloned the repository, wherever you cloned it to)
Take a look at this https://github.com/nat/openplayground/pull/11 for llama
If you want edit the settings of models you've chosen you can go to
localhost:5432/settings.models.jsonexists in the directory where the package is installed (or if you cloned the repository, wherever you cloned it to)Take a look at this #11 for llama
To install, I made a directory /home/user1/repos/openplayground/, created a python virtual environment, then ran python3 -m pip install openplayground. When it finished, I have models.json in two locations:
/home/user1/repos/openplayground/env/lib/python3.10/site-packages/server/models.json
/home/user1/.config/openplayground/models.json
They appear to be identical. Which one do I edit? And why are there two?
/home/user1/.config/openplayground/models.json this one would take effect after restarting the app.