Update README.md
Browse files
README.md
CHANGED
|
@@ -142,7 +142,7 @@ with torch.no_grad():
|
|
| 142 |
probs = mdl(**enc).logits.softmax(-1).squeeze()
|
| 143 |
|
| 144 |
print({mdl.config.id2label[i]: float(probs[i]) for i in range(len(probs))})
|
| 145 |
-
|
| 146 |
|
| 147 |
📘 Discover my **40 AI and STEM** science projects here :
|
| 148 |
👉 [github.com/Jerome-openclassroom](https://github.com/Jerome-openclassroom)
|
|
|
|
| 142 |
probs = mdl(**enc).logits.softmax(-1).squeeze()
|
| 143 |
|
| 144 |
print({mdl.config.id2label[i]: float(probs[i]) for i in range(len(probs))})
|
| 145 |
+
```
|
| 146 |
|
| 147 |
📘 Discover my **40 AI and STEM** science projects here :
|
| 148 |
👉 [github.com/Jerome-openclassroom](https://github.com/Jerome-openclassroom)
|