Commit
·
9777ed9
1
Parent(s):
80b2e2a
Add a bit of formatting
Browse files
README.md
CHANGED
@@ -4,18 +4,18 @@ Dataset was last updated on 15th June 2021. Contains information on 10,354 model
|
|
4 |
Only `train` dataset is provided
|
5 |
|
6 |
## Loading data
|
7 |
-
```
|
8 |
from datasets import load_dataset
|
9 |
modelhub_dataset = load_dataset("dk-crazydiv/huggingface-modelhub")
|
10 |
```
|
11 |
### Useful commands:
|
12 |
-
```
|
13 |
modelhub_dataset["train"] # Access train subset (the only subset available)
|
14 |
modelhub_dataset["train"][0] # Access the dataset elements by index
|
15 |
modelhub_dataset["train"].features # Get the columns present in the dataset.
|
16 |
```
|
17 |
### Sample dataset:
|
18 |
-
```
|
19 |
{
|
20 |
"files": [
|
21 |
".gitattributes",
|
|
|
4 |
Only `train` dataset is provided
|
5 |
|
6 |
## Loading data
|
7 |
+
```python
|
8 |
from datasets import load_dataset
|
9 |
modelhub_dataset = load_dataset("dk-crazydiv/huggingface-modelhub")
|
10 |
```
|
11 |
### Useful commands:
|
12 |
+
```python
|
13 |
modelhub_dataset["train"] # Access train subset (the only subset available)
|
14 |
modelhub_dataset["train"][0] # Access the dataset elements by index
|
15 |
modelhub_dataset["train"].features # Get the columns present in the dataset.
|
16 |
```
|
17 |
### Sample dataset:
|
18 |
+
```json
|
19 |
{
|
20 |
"files": [
|
21 |
".gitattributes",
|