parquet-converter commited on
Commit
96117f7
·
verified ·
1 Parent(s): 12ddc46

Update parquet files

Browse files
Files changed (3) hide show
  1. README.md +0 -64
  2. default/train/0000.parquet +3 -0
  3. gb2_2024_11_16.json +0 -0
README.md DELETED
@@ -1,64 +0,0 @@
1
- ---
2
- language:
3
- - en
4
- license: apache-2.0
5
- ---
6
- ![image/png](https://huggingface.co/nbeerbower/gemma2-gutenberg-27B/resolve/main/gutenberg2-header.png?download=true)
7
-
8
- # Gutenberg2 DPO
9
-
10
- A DPO dataset meant to enhance the writing capabilities of LLMs using public domain books from [Project Gutenberg](https://gutenberg.org/).
11
-
12
- Inspired by Jon Durbin's Gutenberg DPO dataset: [jondurbin/gutenberg-dpo-v0.1](https://huggingface.co/datasets/jondurbin/gutenberg-dpo-v0.1)
13
-
14
- ## Process
15
-
16
- Various books were selected from Project Gutenberg by personal preference and recommendation by Claude 3.5 Sonnet.
17
-
18
- They were then parsed by chapter using [chapterize](https://github.com/JonathanReeve/chapterize). Books that failed to parse or had mangled results were dropped from consideration.
19
-
20
- Chapters were then manually edited to remove: illustration tags, notes, etc. Superfluous line breaks were removed with a regular expression.
21
-
22
- Each chapter had a summary generated by an LLM. The summary of the previous chapter and the text from the current chapter were then used to generate a prompt that would result in an LLM writing that chapter.
23
-
24
- The prompts were then used to generate a "rejected" value, while the original chapter text was used as "chosen."
25
-
26
- [nbeerbower/mistral-nemo-bophades-12B](https://huggingface.co/nbeerbower/mistral-nemo-bophades-12B) was used to generate summaries, prompts, and rejected values.
27
-
28
- ## Code
29
-
30
- [gutenberg-tools](https://github.com/nbeerbower/gutenberg-tools) is MIT licensed on GitHub.
31
-
32
- ## Acknowledgements
33
-
34
- - __Jon Durbin__ for the original idea and process, thank you for your contributions to the open source community
35
- - __Jonathan Reeve__ for the chapterize library
36
- - __Mistral AI__ for their state of the art, permissively licensed, open LLMs
37
- - __Project Gutenberg__ and all their volunteers, thank you for preserving literary history and making it available to all
38
- - __koboldcpp__ for providing a fast and easy way to run LLM inference (shoutout to the KoboldAI Discord)
39
- - __llama.cpp__ and Georgi Gerganov for GGUF
40
- - __Michael Radermacher__ for quantizing my models and especially the one used to generate this dataset
41
-
42
- Dedicated to my late grandfather, George F. Beerbower, an engineer and avid reader.
43
-
44
- ## Selected Works
45
-
46
- - Alice's Adventures in Wonderland - Lewis Carroll
47
- - Around the World in Eighty Days - Jules Verne
48
- - The Awakening - Kate Chopin
49
- - The Canterville Ghost - Oscar Wilde
50
- - The Invisible Man - H.G. Wells
51
- - The Island of Dr. Moreau - H.G. Wells
52
- - The Metamorphosis - Franz Kafka
53
- - Peter Pan - J.M. Barrie
54
- - The Picture of Dorian Gray - Oscar Wilde
55
- - The Red Badge of Courage - Stephen Crane
56
- - The Secret Agent - Joseph Conrad
57
- - The Adventures of Tom Sawyer - Mark Twain
58
- - The Wonderful Wizard of Oz - L. Frank Baum
59
-
60
- ## Disclaimer
61
-
62
- This dataset is provided for free and as-is with absolutely no warranty. Some data may contain errors and be periodically modified.
63
-
64
- You are free to modify and redistribute it as you wish.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
default/train/0000.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a362c96222f4a36a0b7ab8fe31bf2d0879b61120e4f066a8de2727e899a05de8
3
+ size 3057849
gb2_2024_11_16.json DELETED
The diff for this file is too large to render. See raw diff