Spaces:
Runtime error
Runtime error
Update small formatting things:
Browse files
app.py
CHANGED
@@ -29,15 +29,15 @@ tokenizer_names_to_test = [
|
|
29 |
]
|
30 |
|
31 |
with st.sidebar:
|
32 |
-
st.subheader('
|
33 |
# TODO multi-select tokenizers
|
34 |
-
tokenizer_name = st.sidebar.selectbox('Select tokenizer', options=tokenizer_names_to_test)
|
35 |
|
36 |
-
st.subheader('Data')
|
37 |
with st.spinner('Loading dataset...'):
|
38 |
val_data = load_data()
|
39 |
st.success(f'Data loaded: {len(val_data)}')
|
40 |
-
|
41 |
languages = st.multiselect(
|
42 |
'Select languages',
|
43 |
options=sorted(val_data.lang.unique()),
|
|
|
29 |
]
|
30 |
|
31 |
with st.sidebar:
|
32 |
+
st.subheader('Tokenizer')
|
33 |
# TODO multi-select tokenizers
|
34 |
+
tokenizer_name = st.sidebar.selectbox('Select tokenizer', options=tokenizer_names_to_test, label_visibility='collapsed')
|
35 |
|
36 |
+
st.subheader('Data Source: [Amazon Massive](https://huggingface.co/datasets/AmazonScience/massive/viewer/af-ZA/validation)')
|
37 |
with st.spinner('Loading dataset...'):
|
38 |
val_data = load_data()
|
39 |
st.success(f'Data loaded: {len(val_data)}')
|
40 |
+
|
41 |
languages = st.multiselect(
|
42 |
'Select languages',
|
43 |
options=sorted(val_data.lang.unique()),
|