tensorized commited on
Commit
80e5448
1 Parent(s): 761cf8b

removing dependency

Browse files
Files changed (1) hide show
  1. streamlit.py +0 -23
streamlit.py DELETED
@@ -1,23 +0,0 @@
1
- import streamlit as st
2
- import pandas as pd
3
- import numpy as np
4
- from bigbio.dataloader import BigBioConfigHelpers
5
-
6
-
7
- from datasets import load_dataset
8
- dataset = load_dataset("bigbio/scitail", name="scitail_bigbio_te")
9
-
10
- ds = pd.DataFrame(dataset["train"])
11
- st.write(ds)
12
-
13
-
14
- conhelps = BigBioConfigHelpers()
15
- conhelps = conhelps.filtered(lambda x: x.dataset_name != "pubtator_central")
16
- conhelps = conhelps.filtered(lambda x: x.is_bigbio_schema)
17
- conhelps = conhelps.filtered(lambda x: not x.is_local)
18
- st.write(
19
- "loaded {} configs from {} datasets".format(
20
- len(conhelps),
21
- len(set([helper.dataset_name for helper in conhelps])),
22
- )
23
- )