mahdin70 commited on
Commit
8fc8fb1
·
verified ·
1 Parent(s): 436bcbb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -60,7 +60,7 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
60
  import torch
61
 
62
  # Load the fine-tuned model
63
- tokenizer = AutoTokenizer.from_pretrained("mahdin70/unixcoder-code-vulnerability-detector")
64
  model = AutoModelForSequenceClassification.from_pretrained("mahdin70/unixcoder-code-vulnerability-detector")
65
 
66
  # Sample code snippet
 
60
  import torch
61
 
62
  # Load the fine-tuned model
63
+ tokenizer = AutoTokenizer.from_pretrained("microsoft/unixcoder-base")
64
  model = AutoModelForSequenceClassification.from_pretrained("mahdin70/unixcoder-code-vulnerability-detector")
65
 
66
  # Sample code snippet