Closed Symbolk closed 1 year ago
Thanks for your discussion!
The warnings are coming from the replit_lm.py
file where the authors have inserted them to warn/recommend users when customized configuration for the model is used. The warnings
python library is used here.
You can safely ignore them if using our default configs as described in the README.
If you really want to avoid logging them, I think you can add something like this to your main script:
import warnings
warnings.filterwarnings("ignore")
This will have side-effects on other warnings
related usage in our codebase so not the best way to do this.
Hope that helps!
Closing. Author can reopen if needed.
A nice model for code generation! I'd like to test this model on other languages of HumanEval, and here is my code:
Running on CPU seems slowly but ok, if we ignore such warnings (how to get avoid them?):
(Apologize in advance since maybe these issues are from newbies, but I do believe that a complete demo inference code will save us a lot!)