Yukang commited on
Commit
c755fcb
·
verified ·
1 Parent(s): 4c0f0de

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -50,7 +50,7 @@ model_path = "Efficient-Large-Model/LongVILA-R1-7B"
50
  model = AutoModel.from_pretrained(model_path, trust_remote_code=True, device_map="auto")
51
 
52
  # You can disable FPS control by setting it to 0, and customize the number of processed num_video_frames as desired.
53
- model.config.num_video_frames, model.config.fps = 512, 0
54
 
55
  use_thinking = True # Switching between thinking and non-thinking modes
56
  system_prompt_thinking = "You are a helpful assistant. The user asks a question, and then you solves it.\n\nPlease first think deeply about the question based on the given video, and then provide the final answer. The reasoning process and answer are enclosed within <think> </think> and <answer> </answer> tags, respectively, i.e., <think> reasoning process here </think> <answer> answer here </answer>.\n\n Question: {question}"
 
50
  model = AutoModel.from_pretrained(model_path, trust_remote_code=True, device_map="auto")
51
 
52
  # You can disable FPS control by setting it to 0, and customize the number of processed num_video_frames as desired.
53
+ #model.config.num_video_frames, model.config.fps = 512, 0
54
 
55
  use_thinking = True # Switching between thinking and non-thinking modes
56
  system_prompt_thinking = "You are a helpful assistant. The user asks a question, and then you solves it.\n\nPlease first think deeply about the question based on the given video, and then provide the final answer. The reasoning process and answer are enclosed within <think> </think> and <answer> </answer> tags, respectively, i.e., <think> reasoning process here </think> <answer> answer here </answer>.\n\n Question: {question}"