LabSmart commited on
Commit
73f7eb2
·
verified ·
1 Parent(s): 3e20738

Update Readme.md

Browse files
Files changed (1) hide show
  1. README.md +26 -1
README.md CHANGED
@@ -21,4 +21,29 @@ See on :[liuhaotian/llava-v1.5-7b](https://huggingface.co/liuhaotian/llava-v1.5-
21
 
22
  **Paper or resources for more information:**
23
 
24
- Our source code publish on : https://github.com/SmartLab-Roy/visual-qa-tem.git
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
  **Paper or resources for more information:**
23
 
24
+ Our source code publish on : https://github.com/SmartLab-Roy/visual-qa-tem.git
25
+
26
+ ### Download Model
27
+ ```python
28
+ from huggingface_hub import snapshot_download
29
+ import os
30
+
31
+ # Download the model to local directory
32
+ model_path = snapshot_download(
33
+ repo_id="LabSmart/visual-qa-tem",
34
+ cache_dir="./models", # Local cache directory
35
+ resume_download=True
36
+ )
37
+
38
+ print(f"Model downloaded to: {model_path}")
39
+ ```
40
+ ### Quick Start
41
+
42
+ Reference [LLaVA](https://github.com/haotian-liu/LLaVA.git) for environment setup and CLI inference:
43
+
44
+ ```
45
+ python -m llava.serve.cli \
46
+ --model-path "model_path from the download output"\
47
+ --image-file "path/to/your/tem_image.jpg" \
48
+ --load-4bit
49
+ ```