Can't use the model load locally

#72
by Alouettewind - opened

Hi everyone,

I use the "# Load model directly" pipeline and register it at .pt format. Then I try the model.eval() method and the pipeline but I always get the same error :

HFValidationError: Repo id must use alphanumeric chars or '-', '_', '.', '--' and '..' are forbidden, '-' and '.' cannot start or end the name, max length is 96: 'OrderedDict([('transformer.word_embeddings.weight', tensor([[-0.0179, 0.0201, -0.0273, ..., -0.0275, -0.0396, -0.0131],
[-0.0510, -0.0079, -0.0383, ..., -0.0481, 0.0581, 0.0282],
[-0.0217, -0.0216, -0.0064, ..., -0.0508, 0.0554, -0.0013],
...

Have you try to use the model locally and succed?
Have you an idea of what I did false?

Cordially.

It would appear that you are putting some configuration in where it's just expecting a model name. Sharing some of your code would make determining what you're trying to do easier.

Sign up or log in to comment