Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About Self-CRAG #9

Open
innovation64 opened this issue Mar 26, 2024 · 1 comment
Open

About Self-CRAG #9

innovation64 opened this issue Mar 26, 2024 · 1 comment

Comments

@innovation64
Copy link

When I reproduce your self-CRAG results, it can only reproduce popqa dataset, when I use other dataset that deal with your scritps, it will run IndexError: list index out of range, so What;s the problems.

Here's my instruction:

  • for arc
python run_short_form.py \
  --model_name selfrag/selfrag_llama2_7b \
  --input_file ../../CRAG/data/arc_challenge/output/arc_challenge_selfcrag.json\
  --max_new_tokens 50 --threshold 0.2 \
  --output_file ./output/popqa_llama_arcselfcrag.jsonl \
  --metric match --ndocs 5 --use_groundness --use_utility --use_seqscore \
  --task arc_c

-for pub

python run_short_form.py \
  --model_name selfrag/selfrag_llama2_7b \
  --input_file ../../CRAG/data/pubqa/output/pubqa_selfcrag.json \
  --max_new_tokens 50 \
  --threshold 0.2 --output_file ./output/pobqa_llama_pubselfcrag.jsonl \
  --metric match --ndocs 5 \
  --use_groundness --use_utility --use_seqscore \
  --task fever
@ShayekhBinIslam
Copy link

Hi @HuskyInSalt @JasonForJoy,
If you kindly address this issue, it would be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants