Open masterj7874 opened 11 months ago
This could be solved by mkdir confidence
in the EntST/
folder.
It worked when I added "/log/confidence". However, I ran into another issue: usage: python prompt_cst.py [-h] [--domain DOMAIN] [--train-model TRAIN_MODEL] [--train-size TRAIN_SIZE] [--ft-mode FT_MODE] [--exp-id EXP_ID] [--eval-mode EVAL_MODE] [--model-type-str MODEL_TYPE_STR] python prompt_cst.py: error: argument --train-model: expected one argument
Could you try deleting line 49 --train-mode $train_mode \
from the prompt_script.sh
file?
I deleted both --train-mode $train_mode \ and --train-model $train_model, then it worked. However, I ran into what it seems to be CUDA-related error as the following:
RuntimeError: CUDA error: device-side assert triggered
Compile with TORCH_USE_CUDA_DSA
to enable device-side assertions.
Thank you for your support in advance.
Hi, I think this might because of your torch installation. Please check with torch.cuda.is_available()
torch.cuda.is_available() returns True. I believe torch installation is properly done on my end. Could it be something else?
Sorry for the delayed response. What is the version of your pytorch?
It's 2.0.1.
Thanks, let me test pytorch 2 and get back to you!
No such file or directory: 'log/confidence/rte_ent_deberta_base.json'