cedricbonhomme commited on
Commit
d21514a
·
verified ·
1 Parent(s): 93b8afc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -48,6 +48,8 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
48
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
49
  model.eval()
50
 
 
 
51
  test_description = "SAP NetWeaver Visual Composer Metadata Uploader is not protected with a proper authorization, allowing unauthenticated agent to upload potentially malicious executable binaries \
52
  that could severely harm the host system. This could significantly affect the confidentiality, integrity, and availability of the targeted system."
53
  inputs = tokenizer(test_description, return_tensors="pt", truncation=True, padding=True)
 
48
  model = AutoModelForSequenceClassification.from_pretrained(model_name)
49
  model.eval()
50
 
51
+ print("Model revision:", model.config._commit_hash)
52
+
53
  test_description = "SAP NetWeaver Visual Composer Metadata Uploader is not protected with a proper authorization, allowing unauthenticated agent to upload potentially malicious executable binaries \
54
  that could severely harm the host system. This could significantly affect the confidentiality, integrity, and availability of the targeted system."
55
  inputs = tokenizer(test_description, return_tensors="pt", truncation=True, padding=True)