Skip to content

Datata1/wikipedia-api

Repository files navigation

wikipedia-api

  1. Clone the repository
git clone --recurse-submodules https://github.com/Datata1/wikipedia-api
  1. Create a virtual environment
python -m venv .venv
  1. Activate the virtual environment
source .venv/bin/activate
  1. Install the dependencies
pip install -r requirements.txt
  1. Download the model
wget -P ./llama.cpp/models https://huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGUF/resolve/main/Llama-3.2-1B-Instruct-Q5_K_M.gguf
  1. build Llama.cpp
cd llama.cpp
cmake -B build
cmake --build build --config Release
  1. start uvicorn (from the root directory)
uvicorn main:app --reload
  1. Open the browser and go to http://127.0.0.1:8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published