Skip to content

LiewZhengXian/Efficient-Similiarity-Based-Index-Task-Routing-For-LLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors