Skip to content

Version 1.0.0

Choose a tag to compare

@10kH 10kH released this 23 Jul 05:40
· 9 commits to main since this release
a845e7a

LOGIC: LLM-Originated Guidance for Internal Cognitive Improvement of Small Language Models in Stance Detection

Project Structure

The essential files for our experiments are organized within a folder named LOGIC. This folder contains the following structure:

Data

data/raw_data/:

This subfolder includes:

data/:

This folder includes:

  • Additional datasets created by us for experimental purposes (LLM target knowledge, LLM reasoning).

Source Files

  • dataset.py: Script for handling and processing datasets.
  • main.py: Main script for running experiments on the VAST dataset.
  • models.py: Script containing model definitions and related functions.
  • run.sh: Shell script for executing experiments on the VAST dataset.

Reproducing the Experiments

To reproduce our experiments, follow these steps:

Modify Parser Variables:

  • Refer to the parser variables defined in main.py.
  • Adjust these variables according to your experimental needs.

Adjust Shell Scripts:

  • Edit the variables in run.sh to match your setup.

Execute Shell Scripts:

  • Run the shell script to start the experiments. The execution results will be logged and stored in a new folder named logs, created during execution.

Further Information

For a more comprehensive theoretical background, detailed methodologies and experimental setting, please refer to the body of our paper.