gbyuvd commited on
Commit
ef3682c
1 Parent(s): 1d657b1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -129,7 +129,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
129
  import torch.nn.functional as F
130
  import json
131
 
132
- model_id = "./epfin"
133
  tokenizer = AutoTokenizer.from_pretrained(model_id)
134
  model = AutoModelForSequenceClassification.from_pretrained(model_id)
135
 
@@ -198,7 +198,7 @@ You can also use pipeline:
198
  ```python
199
  from transformers import pipeline
200
 
201
- classifier = pipeline("text-classification", model="./epfin")
202
  classifier("[C] [C] [C] [C] [=C] [N] [C] [=C] [C] [=C] [C] [=C] [C] [=C] [C] [Ring1] [=Branch1] [=N] [C] [Ring1] [=Branch2] [=C] [Ring1] [=N] [C] [=C] [Ring1] [P] [C] [Ring2] [Ring1] [Branch1]") #Sempervirine (CID168919)
203
  # [{'label': 'LABEL_25', 'score': 0.5924742221832275}]
204
 
@@ -264,7 +264,7 @@ Adaptive Gradient Clipping = True
264
  I turned off the warm down, since in prior experiments it led to instability of losses in my case.
265
  For more information about Ranger21, you could check out [this repository](https://github.com/lessw2020/Ranger21).
266
 
267
- Final training epoch:
268
  - Training Loss: 0.772700
269
  - Validation Loss: 1.299520
270
  - Accuracy: 0.619050
 
129
  import torch.nn.functional as F
130
  import json
131
 
132
+ model_id = "gbyuvd/drugtargetpred-chemselfies"
133
  tokenizer = AutoTokenizer.from_pretrained(model_id)
134
  model = AutoModelForSequenceClassification.from_pretrained(model_id)
135
 
 
198
  ```python
199
  from transformers import pipeline
200
 
201
+ classifier = pipeline("text-classification", model="gbyuvd/drugtargetpred-chemselfies")
202
  classifier("[C] [C] [C] [C] [=C] [N] [C] [=C] [C] [=C] [C] [=C] [C] [=C] [C] [Ring1] [=Branch1] [=N] [C] [Ring1] [=Branch2] [=C] [Ring1] [=N] [C] [=C] [Ring1] [P] [C] [Ring2] [Ring1] [Branch1]") #Sempervirine (CID168919)
203
  # [{'label': 'LABEL_25', 'score': 0.5924742221832275}]
204
 
 
264
  I turned off the warm down, since in prior experiments it led to instability of losses in my case.
265
  For more information about Ranger21, you could check out [this repository](https://github.com/lessw2020/Ranger21).
266
 
267
+ Metrics at the last epoch (36th) :
268
  - Training Loss: 0.772700
269
  - Validation Loss: 1.299520
270
  - Accuracy: 0.619050