Because the weights are being loaded from a third party internet address, it's unsafe to use eval. Also with the change I think the code became a little bit more clear as now it's clearer which keys are being transformed.
Co-authored-by: Seba Kreft <sebastian.kreft@houm.com>