How to setup the model for inference tasks

#6
by smuser4 - opened

@marcelbinz Do you have an example code for using the model in inference tasks?
For example how to run it with this simple prompt:
" What issue matters most to you in this election?
Options:
Economy
Healthcare
Climate
Immigration"

Thanks @marcelbinz .I've seen the code from test_adapter.py. But I don't find a way to use the model to answer to a simple multiple choice question like the one from above message. It just starts to generate text like in a text completion task. It doesn't answer to the question.

Sign up or log in to comment