startificial commited on
Commit
fe2afb5
·
verified ·
1 Parent(s): 9f89304

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -0
README.md CHANGED
@@ -32,6 +32,10 @@ label_names = ["entailment", "neutral", "contradiction"]
32
  prediction = {name: round(float(pred) * 100, 1) for pred, name in zip(prediction, label_names)}
33
  print(prediction)
34
  ```
 
 
 
 
35
  ### Training data
36
  This model was trained on the MultiNLI dataset, which consists of 392 702 NLI hypothesis-premise pairs.
37
 
 
32
  prediction = {name: round(float(pred) * 100, 1) for pred, name in zip(prediction, label_names)}
33
  print(prediction)
34
  ```
35
+
36
+ Example cURL:
37
+
38
+ ''''curl YOUR INFERENCE ENDPOINT URL HERE \ -X POST \ -d '{"inputs": {"premise": "A man is walking his dog in the park.", "hypothesis": "A person is outside with an animal."}}' \ -H "Authorization: Bearer hf_YOUR_TOKEN_HERE" \ -H "Content-Type: application/json
39
  ### Training data
40
  This model was trained on the MultiNLI dataset, which consists of 392 702 NLI hypothesis-premise pairs.
41