Spaces:
Running
Running
API
#8
by
trnt
- opened
Can I ask this chatbot a question and get answers using the API? Form like this
client = Client("https://api-inference.huggingface.co/models/timdettmers/guanaco-33b-merged")
question = "What is Deep Learning?"
print(client.answer(question))
many thanks
many thanks, @xsa-face
I followed the instructions and it works, but the result is not the same as using the UI. Sometimes the bot even gives the wrong answer, which has nothing to do with the question. Can you explain?