3 ms·
make this change and it will run under Python 3.8 in google colab #name = name.removeprefix("model/") name = name[len('model/'):] in function:
by lvwarren 4y ago
make this change and it will run under Python 3.8 in google colab
#name = name.removeprefix("model/")
name = name[len('model/'):]
in function: load_gpt2_params_from_tf_ckpt in the utils.py module