main-horse
commited on
Commit
•
3744bb7
1
Parent(s):
e784467
add readme and new csv
Browse files- README.md +36 -0
- ratio0.8_likes10.csv +3 -0
README.md
CHANGED
@@ -15,3 +15,39 @@ dataset_info:
|
|
15 |
download_size: 2446111268
|
16 |
dataset_size: 4112502210
|
17 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
download_size: 2446111268
|
16 |
dataset_size: 4112502210
|
17 |
---
|
18 |
+
|
19 |
+
this is a testing dataset for future model testing. you should not use this (yet)
|
20 |
+
|
21 |
+
there are multiple datasets,
|
22 |
+
* `notebook_defaults`
|
23 |
+
* `notebook_defaults_ratio0.8_likes10`
|
24 |
+
|
25 |
+
you can load each like this:
|
26 |
+
|
27 |
+
```python
|
28 |
+
import datasets
|
29 |
+
# see FFV4.BUILDER_CONFIGS for all possible names
|
30 |
+
ds = datasets.load_dataset('./dataset_code.py', name='notebook_defaults_ratio0.8_likes10')
|
31 |
+
```
|
32 |
+
|
33 |
+
then use them like this
|
34 |
+
```python
|
35 |
+
ds_real = ds['everything'] # there is no such thing as a train/test split here
|
36 |
+
one_item = ds_real[0] # grab first story, and truncuate the text of it to first 1000 characters
|
37 |
+
one_item_truncuated = one_item | {'story': one_item['story'][:1000]}
|
38 |
+
|
39 |
+
print(ds)
|
40 |
+
print(one_item_truncuated)
|
41 |
+
```
|
42 |
+
|
43 |
+
this will show something vaguely useful
|
44 |
+
|
45 |
+
```python
|
46 |
+
DatasetDict({
|
47 |
+
everything: Dataset({
|
48 |
+
features: ['id', 'header', 'story'],
|
49 |
+
num_rows: 52357
|
50 |
+
})
|
51 |
+
})
|
52 |
+
{'id': 394130, 'header': '<|info|>\ntitle: Broken, But Getting Better\nauthor: Rose Quill\ntags: character:Tempest Shadow, character:Twilight Sparkle, genre:Slice of Life, series:My Little Pony: Friendship is Magic', 'story': "=== Broken ===\nI stared at the paper, a pencil in my mouth as I considered the next words. I was not the most well read of ponies, having always taken the stance that actions speak louder, but I felt that this time needed some words to explain. I scanned what I had already written to try and jog my vocabulary.\nPrincess Twilight,\nBy the time you read this, I'll have left. I know you offered me your friendship, but I think it would do me well to be apart from other ponies for a few days…give or take a week.\nThis is not running away, no. Far from it. I have been away from my kind for so long I fear I have forgotten what it means to even be Equestrian. I need time to observe with no metric standing against me.\nI sighed and glanced out the window at the town of Ponyville, the town square filled with banners and other evidence of an upcoming party. In the glass of the portal, I saw the snapped stub of my horn, and I felt the dull pain that I had lived with for most of my life.\nI reached up a"}
|
53 |
+
```
|
ratio0.8_likes10.csv
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:60335133a82f0f72c615414bee3cb78f07b081abf7aa5e7bdb71733aec6155e1
|
3 |
+
size 4151832302
|