Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed argparser to work with Python 3.10 #8

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

edwardsmith999
Copy link

Copied the code from
https://github.com/huggingface/transformers/blob/2642d8d04b14c18199ebe7b35f976da02df61752/src/transformers/hf_argparser.py
to replace argparser.py but with original physx header but record of hf_argparser version used to aid future debugging.
This fixes issue 6 (#6) and allows the transformer training cylinder code Colab to work (currently broken).

Tried to add 3.10 fix
Remove DataClassType
Added from inspect import isclass
Changed to latest version from tranformers
Updated header and included details of hf_argparser.py which was copied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant