Skip to content

abtsousa/DrugLM

Repository files navigation

DrugLM

Installation

  1. Clone the repository.

  2. Make sure uv and Ollama are installed.

  3. cd to the cloned directory.

  4. Create a virtual environment with uv sync --frozen

  5. Activate the virtual environment (source .venv/bin/activate)

  6. Pull the required models for local use:

ollama pull hf.co/abtsousa/llama3.2-drugsES-csv-ft:Q4_K_M # finetuned model
ollama pull llama3.2:3b-instruct-q4_K_M # base model
ollama pull jina/jina-embeddings-v2-base-es # embedding model

Running

  1. Run the app with streamlit run app.py

  2. The app is now working fully locally. Enjoy :)

About

A RAG-assisted agent that uses a fine-tuned llama3.2 model to answer questions about the Spanish drug database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages