Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjateen/mentalwellnessprime
https://github.com/jjateen/mentalwellnessprime
Last synced: about 11 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/jjateen/mentalwellnessprime
- Owner: Jjateen
- Created: 2024-03-21T08:06:55.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T15:57:02.000Z (6 months ago)
- Last Synced: 2024-05-17T16:51:29.674Z (6 months ago)
- Language: Jupyter Notebook
- Size: 11.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MentalWellness
# Project Overview
This repository contains a comprehensive project setup including an API for classification, a Language Model API (LLM-API), and a frontend built with React and Vite. The project structure is as follows:
```
ClassificationAPI/
LLM-API/
frontend/
README.md
Training.ipynb
json_to_csv.py
requirements.txt
```## Table of Contents
- [Project Overview](#project-overview)
- [Setup Instructions](#setup-instructions)
- [ClassificationAPI](#classificationapi)
- [LLM-API](#llm-api)
- [Frontend](#frontend)
- [Demo Video](#demo-video)
- [Custom Finetuned LLM](#custom-finetuned-llm)## Setup Instructions
### ClassificationAPI
1. Clone the repository:
```sh
git clone https://github.com/Jjateen/MentalWellnessPrime
cd ClassificationAPI
```2. Install the required dependencies:
```sh
pip install -r requirements.txt
```3. Run the API:
```sh
uvicorn main:app --reload
```### LLM-API
1. Clone the repository:
```sh
git clone https://github.com/Jjateen/MentalWellnessPrime
cd LLM-API
```2. Install the required dependencies:
```sh
pip install -r requirements.txt
```3. Run the API:
```sh
uvicorn main:app --reload
```### Frontend
1. Navigate to the frontend directory:
```sh
cd frontend
```2. Follow the instructions below to set up React with Vite.
#### React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh.
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh.## Demo Video
Watch the demo video [here](https://drive.google.com/file/d/1maYKl6GAC15_8t4Beowe26rjllt0Vb-x/view?usp=sharing).
## Custom Finetuned LLM
Explore the custom finetuned LLM using the QLoRA technique on [Hugging Face](https://huggingface.co/Jjateen/llama-2-7b-mental-chat).