Installation¶
This guide walks you through setting up AniSearch Model on your system.
Prerequisites¶
- Python 3.8 or higher
- pip (Python package manager)
- Git (optional, for cloning the repository)
Setup Steps¶
1. Get the Code¶
Either clone the repository using Git:
Or download and extract the ZIP file from the GitHub repository.
2. Install Dependencies¶
Install all required packages using pip:
This will install:
- Sentence-transformers
- PyTorch
- Transformers (Hugging Face)
- Pandas
- NumPy
- tqdm
- and other dependencies
3. Prepare the Datasets¶
Download and process the anime and manga datasets:
This script will:
- Download datasets from various sources
- Clean and process the data
- Create merged datasets in the
model/
directory: merged_anime_dataset.csv
merged_manga_dataset.csv
Note
The dataset preparation step may take several minutes depending on your internet connection and system performance.
Verifying Installation¶
To verify that everything works correctly, try running a simple search:
If you see search results displayed, your installation is successful!
Troubleshooting¶
If you encounter any issues during installation:
-
Make sure you're using Python 3.8 or higher:
-
Ensure pip is up to date:
-
For GPU acceleration (optional), check your PyTorch installation has CUDA support:
-
If you face issues with specific packages, try installing them individually with specific versions as listed in
requirements.txt
.