Skip to content

How to get started with Agentic Instruction Task

  1. Register to NTCIR-19 and select AgenticInstruction as a participating task
  2. Decide which language(s) to participate (English only, Japanese only, or both)
  3. Obtain a copy of datasets based on your language choice.

    • We suggest starting with train/dev datasets first.
    Language Set Dataset
    English Train/Dev TREC Robust 2004 with disk45/nocr
    English Test TREC Robust 2005 with Aquaint
    💡 Not free. Obtain the test set only when you decide to submit a run.
    Japanese Train/Dev NTCIR-1 (IR and Term Extraction/Role Analysis Test Collections)
    Japanese Test NTCIR-2 (IR Test Collection)
    💡 Obtain the test set only when you decide to submit a run.
  4. Run preprocessing notebooks to gain access to the datasets using ir_datasets

    Language Set Notebook/Notes
    English Train/Dev TREC Robust 2004 with disk45/nocr
    💡 Use disks45/nocr/trec-robust-2004/fold1 and disks45/nocr/trec-robust-2004/fold2 as training.
    English Test TREC Robust 2005 with Aquaint
    Japanese Train/Dev NTCIR-1 (IR and Term Extraction/Role Analysis Test Collections)
    💡 You need to download ntcir1-adhoc.yaml and ntcir1_adhoc.py to the same folder as the notebook.
    Japanese Test NTCIR-2 (IR Test Collection)
    💡 You need to download ntcir2-adhoc.yaml and ntcir2_adhoc.py to the same folder as the notebook.
  5. Obtain a free API key from groq Participants are expected to purchase additional API credits to complete experiments.

    • Set up Amazon Bedrock access instead:
      • Create an AWS account
      • Enable model access for gpt-oss-120b in the Amazon Bedrock console of your region (e.g. us-east-1)
      • Generate an Amazon Bedrock API key
    • 💡 See the FAQ for a cost estimate.
    • 💡 You can use a locally deployed model via ollama or vllm.
  6. Clone the dev branch of geniie-lab repo

    • Run the following commands to install
      git clone https://github.com/geniie-lab/geniie-lab.git -b dev
      python -m venv venv
      source venv/bin/activate
      (venv) python -m pip install -U pip
      (venv) python -m pip install -r requirements.txt
      (venv) python -m pip install -e .
      
    • Set the environmental variables in .env file at the root of the repo folder
    • 💡 Note that each registered group has its own username/password
      OPENSEARCH_HOST="[Contact the organiser to obtain the URL]"
      OPENSEARCH_ADMIN_USER="[Contact the organiser to obtain your username]"
      OPENSEARCH_ADMIN_PASS="[Contact the organiser to obtain your password]"
      BEDROCK_API_KEY="[your Amazon Bedrock API key]"
      BEDROCK_REGION="[your region, e.g. us-east-1]"
      
    • Download run_session_experiment_ntcir19.py and save it to the scripts folder of geniie-lab repo and
      • Run the script to conduct a pilot experiment
        • Initial query formulation based on topic information, followed by ranking by BM25
          python scripts/run_session_experiment_ntcir19.py
          
      • Check logs folder for outputs.
        • .jsonl is the search log file of experiments
        • .log is the error/warning log file for reference
    • Read the documentation of geniie-lab as needed
  7. You're ready to go! Move on to Task Description

Questions?

Contact us via Discord server or email agenticinstruction-org at googlegroups dot com.