Sachinkelenjaguri commited on
Commit
a384587
1 Parent(s): bc48f04
Files changed (1) hide show
  1. README.md +9 -4
README.md CHANGED
@@ -11,7 +11,12 @@ datasets:
11
  co2_eq_emissions:
12
  emissions: 0.0015416078395342335
13
  ---
14
-
 
 
 
 
 
15
  # Model Trained Using AutoTrain
16
 
17
  - Problem type: Multi-class Classification
@@ -38,7 +43,7 @@ co2_eq_emissions:
38
  You can use cURL to access this model:
39
 
40
  ```
41
- $ 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-climate-tcfd-recommendation-55122128742
42
  ```
43
 
44
  Or Python API:
@@ -46,9 +51,9 @@ Or Python API:
46
  ```
47
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
48
 
49
- model = AutoModelForSequenceClassification.from_pretrained("Sachinkelenjaguri/autotrain-climate-tcfd-recommendation-55122128742", use_auth_token=True)
50
 
51
- tokenizer = AutoTokenizer.from_pretrained("Sachinkelenjaguri/autotrain-climate-tcfd-recommendation-55122128742", use_auth_token=True)
52
 
53
  inputs = tokenizer("I love AutoTrain", return_tensors="pt")
54
 
 
11
  co2_eq_emissions:
12
  emissions: 0.0015416078395342335
13
  ---
14
+ # Class
15
+ 0 - None <br>
16
+ 1 - Metrics and Targets <br>
17
+ 2 - Strategy <br>
18
+ 3 - Risk Management <br>
19
+ 4 - Governance <br>
20
  # Model Trained Using AutoTrain
21
 
22
  - Problem type: Multi-class Classification
 
43
  You can use cURL to access this model:
44
 
45
  ```
46
+ $ 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-climate-tcfd-recommendation
47
  ```
48
 
49
  Or Python API:
 
51
  ```
52
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
53
 
54
+ model = AutoModelForSequenceClassification.from_pretrained("Sachinkelenjaguri/autotrain-climate-tcfd-recommendation", use_auth_token=True)
55
 
56
+ tokenizer = AutoTokenizer.from_pretrained("Sachinkelenjaguri/autotrain-climate-tcfd-recommendation", use_auth_token=True)
57
 
58
  inputs = tokenizer("I love AutoTrain", return_tensors="pt")
59