You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: not all arguments converted during string formatting
Call stack:
File "/mnt/data-poseidon/giuseppe/interim-qe-models-bias/./src/mtgeneval_score_counterfactual.py", line 59, in<module>
fire.Fire(main)
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/fire/core.py", line 143, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/fire/core.py", line 477, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/fire/core.py", line 693, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
File "/mnt/data-poseidon/giuseppe/interim-qe-models-bias/./src/mtgeneval_score_counterfactual.py", line 51, in main
scores = scorer.score(comet_inputs)
File "/mnt/data-poseidon/giuseppe/interim-qe-models-bias/src/utils.py", line 99, in score
return self.generator(texts, **params)
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/codecarbon/emissions_tracker.py", line 1029, in wrapped_fn
fn_result = fn(*args, **kwargs)
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/simple_generation/simple_generation.py", line 437, in __call__
responses = find_batch_size_loop()
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/accelerate/utils/memory.py", line 142, in decorator
return function(batch_size, *args, **kwargs)
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/simple_generation/simple_generation.py", line 431, in find_batch_size_loop
return base_loop(batch_size)
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/simple_generation/simple_generation.py", line 406, in base_loop
logger.info(f"Log decoded text at batch_id {batch_idx}", decoded[0])
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/logging/__init__.py", line 1832, in info
self.log(INFO, msg, *args, **kwargs)
File "/home/giuseppe/miniconda3/envs/qe_bias/lib/python3.10/site-packages/accelerate/logging.py", line 61, in log
self.logger.log(level, msg, *args, **kwargs)
The text was updated successfully, but these errors were encountered:
An example error
The text was updated successfully, but these errors were encountered: