chenjoya commited on
Commit
e5eadad
·
verified ·
1 Parent(s): 06b4412

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -3
README.md CHANGED
@@ -68,9 +68,12 @@ This dataset is used for [LiveCC-7B-Base](https://huggingface.co/chenjoya/LiveCC
68
  seeks = json.loads(readlastline('live_cc_5m_with_seeks.jsonl'))
69
 
70
  # during data loader
71
- with open('live_cc_5m_with_seeks.jsonl') as f:
72
- f.seek(seeks[index])
73
- datum = json.loads(f.readline())
 
 
 
74
  ```
75
 
76
  - Videos: Due to 5M videos are too large, we are sorry that we cannot find way to share them. But,
 
68
  seeks = json.loads(readlastline('live_cc_5m_with_seeks.jsonl'))
69
 
70
  # during data loader
71
+ def __getitem(self, index):
72
+ ...
73
+ with open('live_cc_5m_with_seeks.jsonl') as f:
74
+ f.seek(seeks[index])
75
+ datum = json.loads(f.readline())
76
+ ...
77
  ```
78
 
79
  - Videos: Due to 5M videos are too large, we are sorry that we cannot find way to share them. But,