Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.43 KB

File metadata and controls

54 lines (39 loc) · 1.43 KB

Efficient-Similarity-Based-Index-Task-Routing-For-LLM

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/your-repo/Efficient-Similarity-Based-Index-Task-Routing-For-LLM
    cd Efficient-Similarity-Based-Index-Task-Routing-For-LLM
  2. Install the required dependencies using pip:

    pip install -r FYP/requirements.txt

Running the Streamlit Application

To run the Streamlit application:

  1. Navigate to the ui folder:

    cd FYP/ui
  2. Run the Streamlit app:

    streamlit run app.py
  3. Open the provided URL in your browser to access the application.

Running the Notebook on Kaggle

To run the notebook on Kaggle:

  1. Navigate to the notebook folder:

    cd FYP/notebook
  2. Upload the fyp2-notebook.ipynb file to Kaggle:

    • Go to Kaggle Notebooks.
    • Click on "New Notebook" and then "Upload Notebook".
    • Select the fyp2-notebook.ipynb file from the notebook folder.
  3. Once uploaded, ensure the required dependencies are installed in the Kaggle environment. You can add the following command to a cell in the notebook:

    !pip install -r /kaggle/working/requirements.txt

    (Make sure to upload the requirements.txt file alongside the notebook if needed.)

  4. Run the notebook cells as required.