Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Fixed argparser to work with Python 3.10#8

Open
edwardsmith999 wants to merge 6 commits intozabaras:mainfrom
edwardsmith999:main
Open

Fixed argparser to work with Python 3.10#8
edwardsmith999 wants to merge 6 commits intozabaras:mainfrom
edwardsmith999:main

Conversation

@edwardsmith999
Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant