asigalov61
commited on
Commit
•
2f847f1
1
Parent(s):
3469834
Update README.md
Browse files
README.md
CHANGED
@@ -37,5 +37,26 @@ configs:
|
|
37 |
|
38 |
***
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
### Project Los Angeles
|
41 |
### Tegridy Code 2024
|
|
|
37 |
|
38 |
***
|
39 |
|
40 |
+
## Installation and use
|
41 |
+
|
42 |
+
```python
|
43 |
+
from datasets import load_dataset
|
44 |
+
|
45 |
+
monster_piano = load_dataset('asigalov61/Monster-Piano')
|
46 |
+
|
47 |
+
dataset_split = 'train'
|
48 |
+
dataset_entry_index = 0
|
49 |
+
|
50 |
+
dataset_entry = monster_piano[dataset_split][dataset_entry_index]
|
51 |
+
|
52 |
+
midi_hash = dataset_entry['midi_hash']
|
53 |
+
midi_score = dataset_entry['midi_score']
|
54 |
+
|
55 |
+
print(midi_hash)
|
56 |
+
print(midi_score[:15])
|
57 |
+
```
|
58 |
+
|
59 |
+
***
|
60 |
+
|
61 |
### Project Los Angeles
|
62 |
### Tegridy Code 2024
|