Compare a job description to a resume and extract the number of years of relevant work experience from the resume.
Docker:
Docker Compose:
Build the app with Docker Compose:
docker-compose build
Start the app with Docker Compose:
docker-compose up
Build the Docker image:
docker build -t resume_experience_streamlit -f streamlit.Dockerfile .
docker build -t resume_experience_ollama -f ollama.Dockerfile .
Start an individual container:
docker run --gpus all -p 8501:8501 -v ${PWD}/src/models:/models -v ${PWD}/src:/src:ro resume_experience_streamlit
docker run --gpus all -p 11434:11434 resume_experience_ollama
Ollama:
ollama pull mistral:v0.3
poppler:
sudo apt install -y poppler-utils
tesseract:
sudo apt install tesseract-ocr
Mistral:
download_model.py
:python download_model.py
src/models
directory:ls src/models
Python packages:
requirements.txt
:pip install -r requirements.txt
Start Ollama:
ollama serve
Run the app:
streamlit run main.py
Run the tests:
cd src
python -m pytest