Update README.md
Browse files
README.md
CHANGED
|
@@ -13,7 +13,7 @@ tags:
|
|
| 13 |
- multimodal
|
| 14 |
- LLM
|
| 15 |
---
|
| 16 |
-
# LiveCC-7B-
|
| 17 |
|
| 18 |
## Introduction
|
| 19 |
|
|
@@ -177,7 +177,7 @@ class LiveCCDemoInfer:
|
|
| 177 |
state['past_ids'] = outputs.sequences[:, :-1]
|
| 178 |
yield (start_timestamp, stop_timestamp), self.processor.decode(outputs.sequences[0, inputs.input_ids.size(1):], skip_special_tokens=True), state
|
| 179 |
|
| 180 |
-
model_path = 'chenjoya/LiveCC-7B-
|
| 181 |
video_path = "spacex_falcon9.mp4"
|
| 182 |
query = """Let's wait together!"""
|
| 183 |
|
|
@@ -296,7 +296,7 @@ class LiveCCDemoInfer:
|
|
| 296 |
response = self.processor.decode(outputs.sequences[0, inputs.input_ids.size(1):], skip_special_tokens=True)
|
| 297 |
return response, state
|
| 298 |
|
| 299 |
-
model_path = 'chenjoya/LiveCC-7B-
|
| 300 |
video_path = "spacex_falcon9.mp4"
|
| 301 |
|
| 302 |
infer = LiveCCDemoInfer(model_path=model_path)
|
|
|
|
| 13 |
- multimodal
|
| 14 |
- LLM
|
| 15 |
---
|
| 16 |
+
# LiveCC-7B-Base
|
| 17 |
|
| 18 |
## Introduction
|
| 19 |
|
|
|
|
| 177 |
state['past_ids'] = outputs.sequences[:, :-1]
|
| 178 |
yield (start_timestamp, stop_timestamp), self.processor.decode(outputs.sequences[0, inputs.input_ids.size(1):], skip_special_tokens=True), state
|
| 179 |
|
| 180 |
+
model_path = 'chenjoya/LiveCC-7B-Base'
|
| 181 |
video_path = "spacex_falcon9.mp4"
|
| 182 |
query = """Let's wait together!"""
|
| 183 |
|
|
|
|
| 296 |
response = self.processor.decode(outputs.sequences[0, inputs.input_ids.size(1):], skip_special_tokens=True)
|
| 297 |
return response, state
|
| 298 |
|
| 299 |
+
model_path = 'chenjoya/LiveCC-7B-Base'
|
| 300 |
video_path = "spacex_falcon9.mp4"
|
| 301 |
|
| 302 |
infer = LiveCCDemoInfer(model_path=model_path)
|