Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
huggingface
/
data-measurements-tool
like
98
Build error
App
Files
Files
Community
6
6a9c993
data-measurements-tool
/
data_measurements
14 contributors
History:
9 commits
meg-huggingface
Removes extraneous debugging print statements
6a9c993
about 3 years ago
__init__.py
Safe
0 Bytes
:tada: init
about 3 years ago
dataset_statistics.py
Safe
45.1 kB
Removes extraneous debugging print statements
about 3 years ago
dataset_utils.py
Safe
9.76 kB
Removing any need for a dataframe in expander_general_stats; instead making sure to cache and load the small amount of details needed for this widget. Note I also moved around a couple functions -- same content, just moved -- so that it was easier for me to navigate through the code. I also pulled out a couple of sub-functions from larger functions, again to make the code easier to work with/understand, as well as helping to further modularize so we can limit what needs to be cached.
about 3 years ago
embeddings.py
Safe
16.3 kB
:tada: init
about 3 years ago
npmi.py
Safe
10.5 kB
:bug: really make sure log_files/ exists
about 3 years ago
streamlit_utils.py
Safe
20.4 kB
Begins modularizing so that each widget can be independently loaded without having a requirement on the ordering of load_or_preparing in app.py. This means that each function corresponding to a widget will check if the variables it depends on have been calculated yet. If not, it will call back to calculate them. Because of the messiness this causes with passing the use_cache variable around, I've now set use_cache as a global variable, set when the DatasetStatisticsCacheClass is initialized, and removed the use_cache arguments appearing in nearly every function.
about 3 years ago
zipf.py
Safe
8.86 kB
:bug: really make sure log_files/ exists
about 3 years ago