Skip to content

Commit

Permalink
Merge pull request #264 from Renumics/readme_update_huggingface_example
Browse files Browse the repository at this point in the history
readme update huggingface example
  • Loading branch information
neindochoh authored Oct 10, 2023
2 parents 936e107 + 52bf5b1 commit 40927bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ from renumics import spotlight

ds = datasets.load_dataset('renumics/emodb-enriched', split='all')
layout= spotlight.layouts.debug_classification(label='gender', prediction='m1_gender_prediction', embedding='m1_embedding', features=['age', 'emotion'])
df = ds.to_pandas()
spotlight.show(df, layout=layout)
spotlight.show(ds, layout=layout)
```
Here, the data types are discovered automatically from the dataset and we use a pre-defined layout for model debugging. Custom layouts can be built programmatically or via the UI.

Expand Down

0 comments on commit 40927bc

Please sign in to comment.