Mitzi4132 commited on
Commit
4cb4569
1 Parent(s): 2c4ed9a

Create VideoLLava.py

Browse files
Files changed (1) hide show
  1. 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())