Berbex commited on
Commit
8b143c9
Β·
1 Parent(s): 89cadb8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -128,6 +128,11 @@ text = "Bitcoin to the moon"
128
 
129
  encoding = tokenizer(text, return_tensors="pt")
130
 
 
 
 
 
 
131
  # apply sigmoid + threshold
132
  sigmoid = torch.nn.Sigmoid()
133
  probs = sigmoid(logits.squeeze().cpu())
 
128
 
129
  encoding = tokenizer(text, return_tensors="pt")
130
 
131
+
132
+ logits = outputs.logits
133
+ logits.shape
134
+
135
+
136
  # apply sigmoid + threshold
137
  sigmoid = torch.nn.Sigmoid()
138
  probs = sigmoid(logits.squeeze().cpu())