Views
No views yet
final-year-project/
├── fine_tuned_models_path_insert_here/
│ ├── .gitkeep # Placeholder (delete this)
│ ├── fine_tuned_model/ # add from hugging face first fine-tuned model
│ └── fine_tuned_model_2/ # add second from hugging face fine-tuned model
├── folds/ # Cross-validation splits
├── MTEB/ # MTEB benchmark results
├── src/
│ ├── course_data/ # JSON datasets (security_courses.json, unseen_data.json)
│ ├── data/ # Dataset loaders
│ ├── model_training_evaluation/ # Training and evaluation scripts
│ └── retrieval/ # SemanticSearchPipeline and indexing
├── tests/ # Unit tests for core functionality
├── environment.yml # Conda environment definition
├── requirements.txt # pip dependencies (if not using Conda)
├── .env # Optional environment variables
├── .gitignore # Files to ignore in Git
├── faiss_index.index # Example index (can be regenerated)
└── README.md1git clone https://github.com/NotMash/Final-Year-Project-IBM.git
2cd Final-Year-Project-IBM1conda env create -f environment.yml
2conda activate finalyearproject1conda env create -f environment_windows.yml
2conda activate finalyearproject1python -m venv venv
2source venv/bin/activate # or .\venv\Scripts\activate on Windows
3pip install -r requirements.txtBefore running the pipeline, you must delete the.gitkeepfile and add the fine-tuned SentenceTransformer models.
rm fine_tuned_models_path_insert_here/.gitkeepfine_tuned_models_path_insert_here/
├── fine_tuned_model/
├── fine_tuned_model_2/config.json, pytorch_model.bin, tokenizer.json, etc.python -m src.main --config src/configs/config.yamlpytest tests/security_courses.json is present in src/course_data/.