A user-friendly chat interface for interacting with the powerful Hebrew-Mistral-7B language model, allowing you to engage in natural conversations in Hebrew with adjustable parameters for customized dialogue.
- Clone the repository:
https://github.com/ShmuelRonen/Hebrew-Mistral-7B-Chat.git
cd Hebrew-Mistral-7B-Chat
Run the installation script:
init_env.bat
The script will automatically set up the virtual environment and install the required dependencies.
Clone the repository:
https://github.com/ShmuelRonen/Hebrew-Mistral-7B-Chat.git
cd Hebrew-Mistral-7B-Chat
Create and activate a virtual environment:
python -m venv venv
venv\Scripts\activate
Install the required dependencies:
pip install -r requirements.txt
After the installation, you can run the app by executing:
python chat.py
This will start the Gradio interface locally, which you can access through the provided URL in your command line interface.
Once the application is running, follow these steps:
- Enter your message in the input textbox.
- Press Enter or click "Send" to generate a response from the Hebrew-Mistral-7B model.
- Adjust the generation parameters using the sliders and checkbox in the "Adjustments" section to customize the generated response.
- The generated response will be displayed in the chat interface, and the conversation history will be maintained for context.
- You can clear the chat history by clicking the "Clear Chat" button.
- To copy the last response, click the "Copy Last Response" button.
- Intuitive chat interface built with Gradio.
- Adjustable generation parameters for customized responses.
- Real-time display of the conversation for an interactive experience.
- Conversation history for maintaining context across multiple interactions.
- Clear chat functionality to start a new conversation.
- Copy last response feature for easy sharing or further processing.
- Uses CUDA for accelerated processing if available.
Special thanks to Yam Peleg and itayl for developing and sharing the Hebrew-Mistral-7B model, enabling the creation of powerful Hebrew language applications.
This project is intended for educational and development purposes. It leverages publicly available models and APIs. Please ensure to comply with the terms of use of the underlying models and frameworks.