zabaras / transformer-physx

Transformers for modeling physical systems
https://zabaras.github.io/transformer-physx/
MIT License
127 stars 32 forks source link

Fixed argparser to work with Python 3.10 #8

Open edwardsmith999 opened 1 year ago

edwardsmith999 commented 1 year ago

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 (https://github.com/zabaras/transformer-physx/issues/6) and allows the transformer training cylinder code Colab to work (currently broken).