Skip to content

Having trouble getting run_CLTrain.sh to execute #4

Open
@Elfinwang

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!!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions