genialo555 commited on
Commit
9a0747b
·
verified ·
1 Parent(s): c829e11

Add usage instructions

Browse files
Files changed (1) hide show
  1. USAGE.md +35 -0
USAGE.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Model Usage Instructions
2
+
3
+ ## Loading the Model
4
+
5
+ ```python
6
+ import torch
7
+ from pathlib import Path
8
+
9
+ # Load the main LAM model (14GB)
10
+ model_path = "model_weights/lam_model.pt"
11
+ model = torch.load(model_path, map_location='cuda' if torch.cuda.is_available() else 'cpu')
12
+
13
+ # Or load the smaller checkpoint
14
+ checkpoint = torch.load("checkpoints/best.pt")
15
+ ```
16
+
17
+ ## Model Files
18
+
19
+ - `model_weights/lam_model.pt` - Main unified model (14GB)
20
+ - `checkpoints/best.pt` - Best training checkpoint (6MB)
21
+ - `model_weights/sample_vision_weights.pt` - Vision module weights
22
+ - `model_weights/config.json` - Model configuration
23
+ - `model_weights/capabilities.json` - Model capabilities definition
24
+
25
+ ## Requirements
26
+
27
+ ```bash
28
+ pip install torch torchvision transformers pillow
29
+ ```
30
+
31
+ ## Inference Example
32
+
33
+ ```python
34
+ # Coming soon - full inference pipeline
35
+ ```