Create VideoLLava.py
Browse files- VideoLLava.py +7 -0
VideoLLava.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datasets import load_dataset
|
2 |
+
|
3 |
+
# 加载数据集,指定配置名称
|
4 |
+
dataset = load_dataset('path/to/dataset.yaml', name='light')
|
5 |
+
|
6 |
+
# 打印数据集中的前几条数据
|
7 |
+
print(dataset['train'].head())
|