Skip to content

Commit

Permalink
fix args name mismatch (#91)
Browse files Browse the repository at this point in the history
* fix args name mismatch

* add devcontainer config

* update transformers dependency

* remove devcontainer config
  • Loading branch information
vukasin authored Nov 21, 2024
1 parent f08984f commit 7f9d783
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ numpy = ">=1.21.6" # ">=1.23.4"
pandas = ">=1.3.5" # ">=1.5.1"
scikit-learn = ">=1.0.2" # ">=1.1.3"
tqdm = ">=4.64.1"
transformers = {extras = ["torch", "sentencepiece"], version = ">=4.41.0"}
transformers = {extras = ["torch", "sentencepiece"], version = ">=4.46.0"}
shapely = ">=1.8.5.post1"

[tool.poetry.urls]
Expand Down
22 changes: 11 additions & 11 deletions src/realtabformer/rtf_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,17 @@ def __init__(
callbacks.append(SaveEpochEndCallback(save_epochs=save_epochs))

super().__init__(
model,
args,
data_collator,
train_dataset,
eval_dataset,
tokenizer,
model_init,
compute_metrics,
callbacks,
optimizers,
preprocess_logits_for_metrics,
model=model,
args=args,
data_collator=data_collator,
train_dataset=train_dataset,
eval_dataset=eval_dataset,
processing_class=tokenizer,
model_init=model_init,
compute_metrics=compute_metrics,
callbacks=callbacks,
optimizers=optimizers,
preprocess_logits_for_metrics=preprocess_logits_for_metrics,
)
self.target_epochs = target_epochs

Expand Down

0 comments on commit 7f9d783

Please sign in to comment.