Mim commited on
Commit
f2bab18
1 Parent(s): 73aad22

Update Readme

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -1,14 +1,14 @@
1
  ---
2
- tags: autotrain
3
  language: unk
4
  widget:
5
- - text: "I love AutoTrain 🤗"
6
  datasets:
7
  - Mim/autotrain-data-biobert-procell
8
  co2_eq_emissions: 0.5988414315305852
9
  ---
10
 
11
- # Model Trained Using AutoTrain
12
 
13
  - Problem type: Binary Classification
14
  - Model ID: 896229149
@@ -28,7 +28,7 @@ co2_eq_emissions: 0.5988414315305852
28
  You can use cURL to access this model:
29
 
30
  ```
31
- $ 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/Mim/autotrain-biobert-procell-896229149
32
  ```
33
 
34
  Or Python API:
@@ -40,7 +40,7 @@ model = AutoModelForSequenceClassification.from_pretrained("Mim/autotrain-biober
40
 
41
  tokenizer = AutoTokenizer.from_pretrained("Mim/autotrain-biobert-procell-896229149", use_auth_token=True)
42
 
43
- inputs = tokenizer("I love AutoTrain", return_tensors="pt")
44
 
45
  outputs = model(**inputs)
46
  ```
 
1
  ---
2
+ tags: biobert
3
  language: unk
4
  widget:
5
+ - text: "Cell lines expressing proteins 🤗"
6
  datasets:
7
  - Mim/autotrain-data-biobert-procell
8
  co2_eq_emissions: 0.5988414315305852
9
  ---
10
 
11
+ # Model Trained Using biobert
12
 
13
  - Problem type: Binary Classification
14
  - Model ID: 896229149
 
28
  You can use cURL to access this model:
29
 
30
  ```
31
+ $ curl -X POST -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{"inputs": "Cell lines expressing proteins"}' https://api-inference.huggingface.co/models/Mim/autotrain-biobert-procell-896229149
32
  ```
33
 
34
  Or Python API:
 
40
 
41
  tokenizer = AutoTokenizer.from_pretrained("Mim/autotrain-biobert-procell-896229149", use_auth_token=True)
42
 
43
+ inputs = tokenizer("Cell lines expressing proteins", return_tensors="pt")
44
 
45
  outputs = model(**inputs)
46
  ```