Can't load model with torch
#1
by
Alouettewind
- opened
Hello all,
I want to retrain the model on a dataset but I can't open it with pytorch (or tensorflow, or keras.) Is it classic? I have to work on a local environnent so I can't call model or datas.
I tried to call model with this 2 methods :
with open('models/ggml-gpt4all-j-v1.3-groovy.bin', 'r') as f:
model = torch.load(f)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe0 in position 4: invalid continuation byte
model=torch.load('models/ggml-gpt4all-j-v1.3-groovy.bin',
map_location=torch.device('cpu'))
UnpicklingError: could not find MARK
hello can i get a converted format for this model please?