1
0
Fork 0
QuaPy/Ordinal/finetuning_batch.sh

12 lines
376 B
Bash
Executable File

#!/bin/bash
set -x
#conda activate torch
transformer=roberta-base
#python3 finetune_bert.py ./data/Books/training_data.txt $transformer
#python3 generate_bert_vectors_npytxt.py "$transformer"-finetuned last
#python3 generate_bert_vectors_npytxt.py "$transformer"-finetuned average
PYTHONPATH=.:.. python3 generate_bert_vectors_npytxt.py "$transformer"-finetuned posteriors