Custom classes gives error

#17
by aliacar - opened

Models with custom class (e.g. MPT) cannot be converted with this space.

https://huggingface.co/spaces/safetensors/convert/blob/main/convert.py#L165

The above line throws AttributeError for the transformers package.

Sign up or log in to comment