Skip to content

which file to run in order to train a model #6

@JaceJu-frog

Description

@JaceJu-frog

hello I'm new to this repo,when I want to try to train my model,running "transformer-cnn.py",but it produces nothing.
I see the hints in readme of this repo :

[Task]
   train_mode = True
   model_file = model.tar
   train_data_file = train.csv
[Details]
   canonize = True
   gpu = 0
   seed = 100666
   n_epochs = 30
   batch_size = 16

it contains a file called model.tar,I can learn that it's target of this training job,but there doesn't exist a "model.tar" after my running "transformer-cnn.py",So is my way of training wrong ? And what is the difference between "transformer-cnn.py" and "transformer-cnn-ob.py" ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions