Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
qbc2016 committed Apr 12, 2024
1 parent dc30fdd commit b285977
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions federatedscope/llm/eval/eval_for_finance/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
from federatedscope.llm.misc.fschat import FSChatBot
from federatedscope.core.data.utils import download_url

# import torch._dynamo
# torch._dynamo.config.suppress_errors = True

transformers.logging.set_verbosity(40)

choices = ["A", "B", "C", "D"]
Expand Down
3 changes: 3 additions & 0 deletions federatedscope/llm/eval/eval_for_mmlu/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
from federatedscope.core.data.utils import download_url
import tarfile

# import torch._dynamo
# torch._dynamo.config.suppress_errors = True

transformers.logging.set_verbosity(40)

choices = ["A", "B", "C", "D"]
Expand Down

0 comments on commit b285977

Please sign in to comment.