Spaces:
Runtime error
Runtime error
how to solve You should probably TRAIN this model on a down-stream task
#1
by
joebnb
- opened
hello im using your code to do a test in local environment,when runing app.py it's throw
Some weights of ReviewerModel were not initialized from the model checkpoint at ../models/codereviewer and are newly initialized: ['cls_head.weight', 'cls_head.bias']
You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
just change model path to local
Hi
I think, that model available on HuggingFace just does not have some weights. That's how I understand this reply:
https://github.com/microsoft/CodeBERT/issues/242
If I'm wrong, please let me know where to change it
thanks for answer this not good question.finally its running as expect,with your space code. this upper link i was subscribed,thanks again for example code.
joebnb
changed discussion status to
closed