mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-09-09 11:15:08 +08:00
[fix] Tidy up todo and trainer comments
This commit is contained in:
@@ -92,7 +92,7 @@ class RankTrainer(Trainer):
|
||||
|
||||
if __name__ == "__main__":
|
||||
training_conf = argument_parsing(parser)
|
||||
|
||||
|
||||
model_name = training_conf['model_name']
|
||||
model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=1, problem_type='regression')
|
||||
if 'freeze_layer' in training_conf:
|
||||
|
||||
Reference in New Issue
Block a user