Sachinkelenjaguri commited on
Commit
a2673e9
1 Parent(s): b5c068c
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -45,7 +45,7 @@ co2_eq_emissions:
45
  You can use cURL to access this model:
46
 
47
  ```
48
- $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/Sachinkelenjaguri/autotrain-sachin-test-summarizer-55107128708
49
  ```
50
 
51
  Or Python API:
@@ -53,9 +53,9 @@ Or Python API:
53
  ```
54
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
55
 
56
- model = AutoModelForSequenceClassification.from_pretrained("Sachinkelenjaguri/autotrain-sachin-test-summarizer-55107128708", use_auth_token=True)
57
 
58
- tokenizer = AutoTokenizer.from_pretrained("Sachinkelenjaguri/autotrain-sachin-test-summarizer-55107128708", use_auth_token=True)
59
 
60
  inputs = tokenizer("I love AutoTrain", return_tensors="pt")
61
 
 
45
  You can use cURL to access this model:
46
 
47
  ```
48
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "I love AutoTrain"}' https://api-inference.huggingface.co/models/Sachinkelenjaguri/Sachinkelenjaguri/climate_sentiment_classifier
49
  ```
50
 
51
  Or Python API:
 
53
  ```
54
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
55
 
56
+ model = AutoModelForSequenceClassification.from_pretrained("Sachinkelenjaguri/climate_sentiment_classifier", use_auth_token=True)
57
 
58
+ tokenizer = AutoTokenizer.from_pretrained("Sachinkelenjaguri/climate_sentiment_classifier", use_auth_token=True)
59
 
60
  inputs = tokenizer("I love AutoTrain", return_tensors="pt")
61