Skip to content

Commit

Permalink
Change name from LogIXArgument to LogIXArguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sangkeun00 committed May 31, 2024
1 parent 1871908 commit 0f465d6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/huggingface/bert_influence.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from transformers import default_data_collator, Trainer, TrainingArguments

import logix
from logix.huggingface import patch_trainer, LogIXArgument
from logix.huggingface import patch_trainer, LogIXArguments
from bert_utils import construct_model, get_datasets, set_seed


Expand All @@ -28,7 +28,7 @@ def main():
model.eval()
train_dataset = get_datasets(args.data_name)[-1]

logix_args = LogIXArgument(
logix_args = LogIXArguments(
project=args.project,
config=args.config_path,
lora=True,
Expand Down
4 changes: 2 additions & 2 deletions examples/huggingface/bert_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from transformers import default_data_collator, Trainer, TrainingArguments

import logix
from logix.huggingface import patch_trainer, LogIXArgument
from logix.huggingface import patch_trainer, LogIXArguments
from bert_utils import construct_model, get_datasets, set_seed


Expand All @@ -27,7 +27,7 @@ def main():
model.eval()
train_dataset = get_datasets(args.data_name)[1]

logix_args = LogIXArgument(
logix_args = LogIXArguments(
project=args.project,
config=args.config_path,
lora=True,
Expand Down
4 changes: 2 additions & 2 deletions examples/huggingface/gpt_influence.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from transformers import default_data_collator, Trainer, TrainingArguments

import logix
from logix.huggingface import patch_trainer, LogIXArgument
from logix.huggingface import patch_trainer, LogIXArguments
from gpt_utils import construct_model, get_datasets, set_seed


Expand All @@ -26,7 +26,7 @@ def main():
model.eval()
train_dataset = get_datasets()[-1]

logix_args = LogIXArgument(
logix_args = LogIXArguments(
project=args.project,
config=args.config_path,
lora=True,
Expand Down
4 changes: 2 additions & 2 deletions examples/huggingface/gpt_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from transformers import default_data_collator, Trainer, TrainingArguments

import logix
from logix.huggingface import patch_trainer, LogIXArgument
from logix.huggingface import patch_trainer, LogIXArguments
from gpt_utils import construct_model, get_datasets, set_seed


Expand All @@ -25,7 +25,7 @@ def main():
model.eval()
train_dataset = get_datasets()[0]

logix_args = LogIXArgument(
logix_args = LogIXArguments(
project=args.project,
config=args.config_path,
lora=True,
Expand Down

0 comments on commit 0f465d6

Please sign in to comment.