Help with running Models Via API
Hello I’m trying to usegoogle-bert/bert-base-uncased · Hugging Face, I have created my API key and created a text file with curl.curlhttps://api-inference.huggingface.co/models/google-bert/bert-base-uncased\ -X POST \ -d ‘{“inputs”: “The answer to the universe is [MASK].”}’ \ -H ‘Content-Type: application/json’ \ -H “Authorization: Bearer REDACTED_TOKEN”I have obviously entered my API key after Bearer and in CMD prompt im getting a barrage of errors. I have tried multiple different things replacing \ with ^ and nothings working I have curl installed. I have also found the notepad location via c: but it’s giving me an error when the cmd is pased to run.url: (3) bad range in URL position 32:The answer to the universe is [MASK].}’Is just one of the errors I could write a dictionary with the amount im getting. I just want to run an opensource API on my computer.