Datasets:

ArXiv:
License:
orionweller commited on
Commit
d56af9e
·
verified ·
1 Parent(s): a7a5b96

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -16
README.md CHANGED
@@ -63,22 +63,7 @@ This enables rapid learning of new languages while maintaining performance on hi
63
  For decay phase training, see the ModernBERT repo: https://github.com/AnswerDotAI/ModernBERT
64
 
65
  ### Direct Access
66
-
67
- ```python
68
- from streaming import StreamingDataset
69
-
70
- # Load the streaming dataset
71
- dataset = StreamingDataset(
72
- remote='https://huggingface.co/datasets/jhu-clsp/mmbert-decay',
73
- local='/tmp/mmbert-decay-data',
74
- shuffle=True
75
- )
76
-
77
- # Access samples
78
- for sample in dataset:
79
- text = sample['text']
80
- # Process your data...
81
- ```
82
 
83
  ## 🎯 Performance Impact
84
 
 
63
  For decay phase training, see the ModernBERT repo: https://github.com/AnswerDotAI/ModernBERT
64
 
65
  ### Direct Access
66
+ Use the script at [this link](https://github.com/JHU-CLSP/mmBERT/blob/main/data/online_streaming.py) to load any section of the dataset on the fly. This will fail if you try to access too many samples though, due to HF rate-limiting. To download the full dataset, use HF Hub's [Snapshot Download](https://huggingface.co/docs/huggingface_hub/v1.0.0.rc6/en/package_reference/file_download#huggingface_hub.snapshot_download).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
  ## 🎯 Performance Impact
69