DAMO-NLP-SG / DAMO-NLP-SG/LLM-R2

Having trouble getting run_CLTrain.sh to execute

Open
#4 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
54
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I’m having trouble getting the run_CLTrain.sh script to execute.
1. Where to get 'file_name="data/data_simcse/${train_file}_for_simcse.csv'?
2. I would appreciate some guidance on recommended parameters for training, such as the number of epochs to use, etc.
3. Currently, I downloaded the ‘nli_for_simcse.csv’ from 'https://huggingface.co/datasets/princeton-nlp/datasets-for-simcse/resolve/main/nltasets-for-simcse/resolve/main/nli_for_simcse.csv', I encountered an error with the following line of code: (src/train.py, line 319)
`examples[sent0_cname][idx] = conv_dict(ast.literal_eval(examples[sent0_cname][idx].replace('−inf', '−2e308')))`
The error occurs when trying to parse the string with ast.literal_eval.

I would appreciate your help!!!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.