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

Dev/add delphi #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Dev/add delphi #8

wants to merge 2 commits into from

Conversation

billray0259
Copy link
Contributor

@billray0259 billray0259 commented Jun 30, 2023

The large pytorch model binary can be downloaded directly from Google Drive to numenor with:

pip install gdown
gdown https://drive.google.com/uc?id=1YvyUmbWQiAO7iX8hQpnN_0YADizp7Il3

Downloading the model locally and uploading the model to numenor is slower and may corrupt the file causing confusing issues.

Both config.json and pytorch_model.bin should be placed in the relative directory ../models/delphi-large

This bash function may be useful for running the baseline_system_files_bbn.py script with the Delphi model

function run_delphi_local_files_bbn() {
    python baseline_system_local_files.py \
           -s ../data/bbn_adept_demo_data/scenario.json \
           -t ../data/bbn_adept_demo_data/alignment_target.json \
           --algorithm "delphi" \
           --model "large" \
           --print-details \
           ../data/bbn_adept_demo_data/probe{1,2,3,4}.json
}

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

Successfully merging this pull request may close these issues.

1 participant