Skip to content

FlorianMehnert/kp_digital_humanities

Repository files navigation

KP digital humanities group 5

This repo contains some streamlit applications that help at interacting with Llama3 and plot results as diagrams.

llama streamlit app

To execute this simple app setup a new virtual environment then (for linux) run

download this project

git clone https://github.com/FlorianMehnert/kp_digital_humanities.git dh_5
cd dh_5

setup and activate your python venv

python -m venv dh_5
source dh_5/bin/activate

install requirements

pip install -r requirements.txt
curl -fsSL https://ollama.com/install.sh | sh
ollama pull llama3

run any streamlit app

streamlit run st_llama_automate.py

if you run the app using streamlit run llama.py your app should look like this:

app startup upon entering the start computation button the llm tries to answer your predefined questions based on the paragraphs in the original text. system prompt questions entered in the sidebar are answered one by one upon finishing the current generation process system prompt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages