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
(venv) (base) admin@testbench:~/mistral-finetune$ python -m utils.validate_data --train_yaml example/7B.yaml
Traceback (most recent call last):
File "/opt/conda/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/conda/lib/python3.10/runpy.py", line 157, in _get_module_details
code = loader.get_code(mod_name)
File "<frozen importlib._bootstrap_external>", line 1017, in get_code
File "<frozen importlib._bootstrap_external>", line 947, in source_to_code
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/admin/mistral-finetune/utils/validate_data.py", line 113
else:
TabError: inconsistent use of tabs and spaces in indentation
There is an error on line number 113 of the file utils/validate_data.py due to improper indentation.
Expected Behavior
Expected Behaviour is that the script should run properly without crashing due to unhandled indentation in the else statement
Additional Context
No response
Suggested Solutions
Simple fix is fixing the indentation properly so that the code does not break. Will open a PR for the same and link it here.
Python Version
Pip Freeze
Reproduction Steps
mistral-finetune
python -m utils.validate_data --train_yaml example/7B.yaml
Output:
There is an error on line number
113
of the fileutils/validate_data.py
due to improper indentation.Expected Behavior
Expected Behaviour is that the script should run properly without crashing due to unhandled indentation in the else statement
Additional Context
No response
Suggested Solutions
Simple fix is fixing the indentation properly so that the code does not break. Will open a PR for the same and link it here.
From this:
To this:
The text was updated successfully, but these errors were encountered: