btizzy commited on
Commit
c8ec424
·
verified ·
1 Parent(s): d265b52

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +13 -0
README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Example PyTorch Model
2
+
3
+ This is a demonstration model for testing purposes.
4
+
5
+ ## Usage
6
+
7
+ ```python
8
+ import torch
9
+ # WARNING: Never load .pt files from untrusted sources without weights_only=True
10
+ model = torch.load("model.pt") # Dangerous! Executes arbitrary code
11
+ # Safe alternative:
12
+ # model = torch.load("model.pt", weights_only=True)
13
+ ```