Prompt-BERT
Prompt-BERT copied to clipboard
PromptBERT: Improving BERT Sentence Embeddings with Prompts
Hello, I was very fortunate to read your paper, and the experimental results are exciting. The paper mentions two observations: Observation 1: Original BERT layers fail to improve the performance....

Hi~ 感谢你们的开源工作 #32 中已经指出对于 PyTorch 2+,应该修改 `run.sh` 中的脚本,由 `python -m torch.distributed.launch` => `torchrun` ```.sh "sup-bert") # BC=(python -m torch.distributed.launch --nproc_per_node 4 train.py) BC=(torchrun --nproc_per_node 4 train.py) TRAIN_FILE=data/nli_for_simcse.csv BATCH=128 EPOCH=3 LR=5e-5...