Skip to content

Commit

Permalink
readme update huggingface example
Browse files Browse the repository at this point in the history
  • Loading branch information
ssuwelack committed Oct 10, 2023
1 parent 936e107 commit 52bf5b1
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 52bf5b1

Please sign in to comment.