Skip to content

irgroup/DIS22_Sim4IA_Prototype

Repository files navigation

Prototype Container for Sim4IA and DIS22

This prototype is build upon the implementation of the SimIIR3 Framework. To facilitate experimentation with this setup, please follow the installation guide below. For easy installation, a Docker setup is used.

Installation

  1. Open the GitHub Repository in Codespaces
  2. Download the Index from Sciebo and unzip the index into example_data/index_CORE.zip file into the `example_data/index_CORE directory.
curl -L -o index_CORE.zip "https://th-koeln.sciebo.de/s/F9AEa1CXyk2RTpf/download"
unzip index_CORE.zip -d ./example_data/
  1. Build the container by executing:
docker-compose up -d --build

If the container has already been built, you can start it with:

docker-compose up -d
  1. All dependencies should be installed automatically
  2. You can access Docker shell via
docker exec -it SIM4IA_DIS22_container bash
  1. At the end of the session you should shutdown the container and delete the project from your Codespaces
docker-compose down

How to do the experiments?

  1. Adjust your query reformulation approach
    • You can find existing implementations in simiir/user/query_generators/
  2. Create a new user configuration that uses your query reformulation approach
    • Existing user configurations can be found in example_sims/users/
  3. Add your new user configuration to the experimental setup
    • The setup is located in example_sims/users/core_bm25_DIS22_Sim4IA.xml
  4. Navigate to the simiir directory in the terminal
  5. Run the configuration file with:
python run_simiir.py ../example_sims/core_bm25_DIS22_Sim4IA.xml 
  1. Evaluate the results using the provided notebook
    • The evaluation notebook is located in evaluation/eval_core.ipynb

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published