Text Generation
Transformers
PyTorch
4 languages
xglm
Inference Endpoints

what is pytorch_model-00002-of-00002.bin model type?

#1
by nutkung1 - opened

llm = CTransformers(model="pytorch_model-00002-of-00002.bin", model_type="WangchanBERTa",
config={'max_new_tokens':256,'temperature':0.01})
from this code it told me that it cannot [create the model](RuntimeError: Failed to create LLM 'WangchanBERTa' from 'pytorch_model-00002-of-00002.bin'.)

Sign up or log in to comment