add roberta script
This commit is contained in:
parent
1c4f054533
commit
8f410ae809
@ -32,7 +32,6 @@ def prepare(data_train_X, data_train_Y):
|
|||||||
|
|
||||||
return train_dataset, model
|
return train_dataset, model
|
||||||
|
|
||||||
|
|
||||||
def trainer(train_dataset, model):
|
def trainer(train_dataset, model):
|
||||||
training_args = TrainingArguments(
|
training_args = TrainingArguments(
|
||||||
output_dir='./results', # output directory
|
output_dir='./results', # output directory
|
||||||
@ -53,7 +52,6 @@ def trainer(train_dataset, model):
|
|||||||
|
|
||||||
trainer.train()
|
trainer.train()
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
#data
|
#data
|
||||||
X_train = get_data(PATHS[0])
|
X_train = get_data(PATHS[0])
|
Loading…
Reference in New Issue
Block a user