imkiasu commited on
Commit
1b39a9d
·
verified ·
1 Parent(s): 56190f0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -69,6 +69,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_dir)
69
  model = AutoModelForSequenceClassification.from_pretrained(model_dir)
70
  model.eval()
71
 
 
72
  text = "Apple stock surges after strong earnings report."
73
  inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True, max_length=128)
74
  with torch.no_grad():
 
69
  model = AutoModelForSequenceClassification.from_pretrained(model_dir)
70
  model.eval()
71
 
72
+ # Example
73
  text = "Apple stock surges after strong earnings report."
74
  inputs = tokenizer(text, return_tensors="pt", truncation=True, padding=True, max_length=128)
75
  with torch.no_grad():