Chat with gpt4all language model created using pyllamacpp and django framework
There are some features of this project:
- User system: you can log in or register on the site.
- Post system: you can post the response you got.
- Model chat itself: you can chat with language model. (Sometimes it can give meaningless response because of current settings. Waiting for your suggestions)
⚠️ Prompts to the model are processed locally. Check if your device is suitable for these tasks
- Download your model (I use this model) and put it in
model_chat/models(don't forget to change__pathvariable inmodel_chat/llama.pyif you use different model than I use) - Install required modules in terminal:
pip install -r requirements.txt - Apply migrations to database:
python manage.py migrate - Create superuser:
python manage.py createsuperuser(optional as you can register directly on the site) - Run test server:
python manage.py runserver