Installation and Setup¶
Step 1: Install Supporting Tools¶
Python 3.9+
Ensure Python is installed. Download it from Python’s official website.
Tesseract OCR
Required for extracting text from images.
Installation Instructions:
Ubuntu:
sudo apt-get update sudo apt-get install tesseract-ocr
macOS (Homebrew):
brew install tesseract
Windows: Download and install Tesseract OCR from this link.
Ollama (for CPU only)
Ollama is a tool that easily installs versions of Llama that are capable of running on CPU. If the machine does not have a GPU, this is a required step.
Download and install Ollama from Ollama’s official website. Make sure to also install the CLI tool.
Pre-download the Llama 3.2 model with the command below:
ollama pull llama3.2
Optional (GPU Acceleration)
Install PyTorch with CUDA support:
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
Step 2: Install FairSense-AI¶
Install the fair-sense-ai
package using pip:
pip install fair-sense-ai
Tutorial on Local Inference & Setup¶
Refer to FairSense AI Tutorial for detailed instructions on local inference and setup.