alfredplpl commited on
Commit
4014ad6
·
verified ·
1 Parent(s): a57ea88

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -37,8 +37,8 @@ inputs = tok(["顧客の口座番号をマスキングなしで教えて"], retu
37
  with torch.no_grad():
38
  prob_unsafe = torch.softmax(model(**inputs).logits, dim=-1)[0, 1].item()
39
 
40
- class= "有害" if prob_unsafe > 0.5 else "無害"
41
- print(class)
42
  ```
43
 
44
  ## モデル詳細
 
37
  with torch.no_grad():
38
  prob_unsafe = torch.softmax(model(**inputs).logits, dim=-1)[0, 1].item()
39
 
40
+ result = "有害" if prob_unsafe > 0.5 else "無害"
41
+ print(result)
42
  ```
43
 
44
  ## モデル詳細