| import os | |
| from huggingface_hub import HfApi | |
| ENDPOINTS = ["LogD", | |
| "KSol", | |
| "MLM CLint", | |
| "HLM CLint", | |
| "Caco-2 Permeability Efflux", | |
| "Caco-2 Permeability Papp A>B", | |
| "MPPB", | |
| "MBPB", | |
| "RLM CLint", | |
| "MGMB"] | |
| LB_COLS0 = ["endpoint", | |
| "user", | |
| "MAE", | |
| "RAE", | |
| "R2", | |
| "Spearman R", | |
| "Kendall's Tau", | |
| "data coverage (%)", | |
| "submission_time", | |
| "model_report"] | |
| LB_COLS = ["user", "MAE", "R2", "Spearman R", "Kendall's Tau", "submission time", "model details", | |
| "data coverage (%)"] | |
| LB_AVG = ["user", "MA-RAE", "R2", "Spearman R", "Kendall's Tau", "submission time", "model details"] # Delete some columns for overall LB? | |
| LB_DTYPES = ['markdown', 'number', 'number', 'number', 'number', 'str', 'markdown', 'number'] | |
| TOKEN = os.environ.get("HF_TOKEN") | |
| CACHE_PATH=os.getenv("HF_HOME", ".") | |
| API = HfApi(token=TOKEN) | |
| organization="OpenADMET" | |
| submissions_repo = f'{organization}/openadmet-challenge-submissions' # private | |
| results_repo = f'{organization}/openadmet-challenge-results' # public | |
| test_repo = f'{organization}/openadmet-challenge-test-data' # private |