Welcome to this experiment! In this experiment, I'm testing out how to integrate Gemma 7B into a copywriting assistant.
Please run this example in a dedicated virtual environment. Follow these steps to configure the project:
python -m venv .venv
pip install -r requirements.txt
pip install -r dev-requirements.txt
Next, run the project using the following command:
chainlit run app.py
The following sections cover how to work on the code in the project.
| Directory/File | Description |
|---|---|
| .chainlit | The configuration directory for the chainlit frontend |
| templates | The directory containing the prompt templates |
| app.py | Contains the code for the frontend |
| chain.py | Contains the LLM chain code |
| llm.py | Contains code to configure Gemma 7B |
You can turn this assistant into another one by editing the templates/instructions.txt file. Feel free to experiment.
Welcome to this experiment! In this experiment, I'm testing out how to integrate Gemma 7B into a copywriting assistant.
Please run this example in a dedicated virtual environment. Follow these steps to configure the project:
python -m venv .venv
pip install -r requirements.txt
pip install -r dev-requirements.txt
Next, run the project using the following command:
chainlit run app.py
The following sections cover how to work on the code in the project.
| Directory/File | Description |
|---|---|
| .chainlit | The configuration directory for the chainlit frontend |
| templates | The directory containing the prompt templates |
| app.py | Contains the code for the frontend |
| chain.py | Contains the LLM chain code |
| llm.py | Contains code to configure Gemma 7B |
You can turn this assistant into another one by editing the templates/instructions.txt file. Feel free to experiment.