Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ Most forums were scraped page-by-page using the Firefox extension [Web Scraper](
|
|
20 |
|
21 |
For the process to work properly, it was important not to scrape too many threads per run and using Firefox instead of Chrome, otherwise the process could fail (very quickly in the case of Chrome). Newer versions of Web Scraper solved some reliability issues with Firefox and made exporting the data to `.csv` format much quicker.
|
22 |
|
23 |
-
Using Python (pandas) on the exported data, pages from the same threads were grouped together and concatenated with the string `\n<!-- [NEW PAGE STARTS BELOW] -->\n`, without any further processing, obtaining one row of data per thread. The records were then saved into Parquet files (`compression='zstd', compression_level=7, row_group_size=
|
24 |
|
25 |
## Usage notes
|
26 |
The data is not directly usable for finetuning as-is. You will need to split the threads into messages, extract metadata, clean/convert the HTML, etc. For the NSFW forums it will be probably best to somehow avoid using usernames directly, just to be nice(r).
|
|
|
20 |
|
21 |
For the process to work properly, it was important not to scrape too many threads per run and using Firefox instead of Chrome, otherwise the process could fail (very quickly in the case of Chrome). Newer versions of Web Scraper solved some reliability issues with Firefox and made exporting the data to `.csv` format much quicker.
|
22 |
|
23 |
+
Using Python (pandas) on the exported data, pages from the same threads were grouped together and concatenated with the string `\n<!-- [NEW PAGE STARTS BELOW] -->\n`, without any further processing, obtaining one row of data per thread. The records were then saved into Parquet files (`compression='zstd', compression_level=7, row_group_size=20`). It's important to make sure that the row group size is not too large, or issues can arise when loading the the files later on both with pandas or in the HuggingFace dataset viewer (which supports a maximum row group size of 286 MB).
|
24 |
|
25 |
## Usage notes
|
26 |
The data is not directly usable for finetuning as-is. You will need to split the threads into messages, extract metadata, clean/convert the HTML, etc. For the NSFW forums it will be probably best to somehow avoid using usernames directly, just to be nice(r).
|