DLMveloper commited on
Commit
c2acdda
·
verified ·
1 Parent(s): 95581c1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -47,7 +47,7 @@ Based on the compilation process, each data instance is expected to contain the
47
  }
48
 
49
 
50
- How to Use & Integration Guide
51
  Since the dataset is quite large (ranging between 10 million and 100 million rows), loading it entirely into RAM might be inefficient depending on your hardware setup. Below are the recommended ways to handle the data.
52
 
53
 
@@ -58,7 +58,7 @@ If you want to download and cache the dataset automatically, make sure you have
58
  from datasets import load_dataset
59
 
60
 
61
- # Load the entire dataset into memory/cache
62
 
63
 
64
  dataset = load_dataset("DLMveloper/DLM_DATASET")
@@ -66,7 +66,7 @@ print("Dataset loaded successfully:")
66
  print(dataset)
67
 
68
 
69
- # Access a specific slice or sample
70
 
71
 
72
  first_sample = dataset['train'][0]
@@ -80,13 +80,13 @@ To avoid high memory overhead and start training or preprocessing immediately wi
80
  from datasets import load_dataset
81
 
82
 
83
- # Initialize a streaming instance of the dataset
84
 
85
 
86
  streaming_dataset = load_dataset("DLMveloper/DLM_DATASET", streaming=True)
87
 
88
 
89
- # Iterate through the data dynamically on-the-fly
90
 
91
 
92
  print("Streaming the first 5 examples:")
@@ -119,7 +119,7 @@ with open(file_path, "r", encoding="utf-8") as file:
119
 
120
 
121
 
122
- Intended Applications
123
  This dataset is highly versatile and can be adapted for several downstream tasks:
124
  Multilingual Language Modeling: Enhancing model capabilities across English, Russian, and especially Kazakh (kk), which is highly valuable due to the scarcity of high-quality Kazakh datasets.
125
  Code Intelligence and Syntactical Modeling: Training models to generate, complete, or document python and javascript code snippets.
 
47
  }
48
 
49
 
50
+ ### How to Use & Integration Guide
51
  Since the dataset is quite large (ranging between 10 million and 100 million rows), loading it entirely into RAM might be inefficient depending on your hardware setup. Below are the recommended ways to handle the data.
52
 
53
 
 
58
  from datasets import load_dataset
59
 
60
 
61
+ ### Load the entire dataset into memory/cache
62
 
63
 
64
  dataset = load_dataset("DLMveloper/DLM_DATASET")
 
66
  print(dataset)
67
 
68
 
69
+ ### Access a specific slice or sample
70
 
71
 
72
  first_sample = dataset['train'][0]
 
80
  from datasets import load_dataset
81
 
82
 
83
+ ### Initialize a streaming instance of the dataset
84
 
85
 
86
  streaming_dataset = load_dataset("DLMveloper/DLM_DATASET", streaming=True)
87
 
88
 
89
+ ### Iterate through the data dynamically on-the-fly
90
 
91
 
92
  print("Streaming the first 5 examples:")
 
119
 
120
 
121
 
122
+ ### Intended Applications
123
  This dataset is highly versatile and can be adapted for several downstream tasks:
124
  Multilingual Language Modeling: Enhancing model capabilities across English, Russian, and especially Kazakh (kk), which is highly valuable due to the scarcity of high-quality Kazakh datasets.
125
  Code Intelligence and Syntactical Modeling: Training models to generate, complete, or document python and javascript code snippets.