Jorge Lopez Grisman commited on
Commit
3f266b1
1 Parent(s): 5a1e98d

adding examples and Usage

Browse files
Files changed (1) hide show
  1. README.md +7 -0
README.md CHANGED
@@ -56,4 +56,11 @@ This model was trained using Amazon SageMaker and the new Hugging Face Deep Lear
56
  | eval_recall | 0.8234375 |
57
  | eval_precision | 0.831230283911672 |
58
 
 
 
 
 
 
 
 
59
  """
 
56
  | eval_recall | 0.8234375 |
57
  | eval_precision | 0.831230283911672 |
58
 
59
+ ## Usage
60
+ You can use cURL to access this model:
61
+ ```
62
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I got a rash from taking acetaminophen"}' https://api-inference.huggingface.co/models/Jorgeutd/bert-base-uncased-ade-Ade-corpus-v2
63
+ ```
64
+
65
+
66
  """