Spaces:
Runtime error
Runtime error
Add NER
Browse files25 unmodified lines26272829293031322 unmodified lines3536373839383940414216 unmodified lines5960616263646525 unmodified lines}
# TODO: remove this hardcorded logic and accept any dataset on the HubDATASETS_TO_EVALUATE = ["emotion", "conll2003", "imdb", "squad"]DATASETS_TO_EVALUATE = ["emotion", "conll2003", "imdb", "squad", "xsum", "ncbi_disease"]
############## APP ###2 unmodified linesst.markdown( """ Welcome to Hugging Face's Evaluation as a Service! This application allows you to evaluate any 🤗 Transformers model on the Hub. Please select the dataset and configuration below. you to evaluate any 🤗 Transformers model with a dataset on the Hub. Please select the dataset and configuration below. """)
16 unmodified lines
selected_split = st.selectbox("Select a split", split_names, index=split_names.index(eval_split))
# TODO: add a function to handle the mapping task <--> column mapping col_mapping = metadata[0]["col_mapping"] col_names = list(col_mapping.keys())
app.py+4-3