Global Constants (nip.constants
)#
Global constants for the NIP project.
- nip.constants.CACHED_MODELS_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/model_cache')#
The path to the directory containing cached model files
- nip.constants.CACHED_MODELS_METADATA_FILENAME = 'metadata.json'#
The filename for the metadata file in the cached models directory
- nip.constants.CV_DATA_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/data/code_validation')#
The path to the directory containing code validation dataset files
- nip.constants.DATABASE_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/databases')#
The path to the directory where databases are saved
- nip.constants.DATA_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/data')#
The path to the directory containing dataset files
- nip.constants.ENV_FILE = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/.env')#
The path to the file containing environment variables.
- nip.constants.EXPERIMENT_STATE_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/experiment_checkpoints')#
The path to the directory where experiment checkpoints are saved
- nip.constants.GI_DATA_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/data/graph_isomorphism')#
The path to the directory containing graph isomorphism dataset files
- nip.constants.HF_BUGGY_APPS_REPO = 'lrhammond/buggy-apps'#
The repository containing the buggy apps dataset
- nip.constants.HF_PRETRAINED_MODELS_USER = 'SamAdamDay'#
The user hosting the pretrained models
- nip.constants.HF_TRAINER_OUTPUT_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/hf_trainer_output')#
The path to the directory where Hugging Face Trainer outputs are saved
- nip.constants.IC_DATA_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/data/image_classification')#
The path to the directory containing image classification dataset files
- nip.constants.LANGUAGE_MODEL_DB_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/databases/language_models.csv')#
The path to the database containing language model metadata
- nip.constants.LM_SERVER_TRAINING_LOG_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/log/lm_server_training')#
The path to the directory containing logs for the language model server training
- nip.constants.LM_SERVER_TRAINING_STATUS_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/status/lm_server_training')#
The directory containing status files for language model server training
- nip.constants.LOG_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/log')#
The path to the directory containing general log files
- nip.constants.PACKAGE_ROOT = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/nip')#
The root directory of the NIP package.
- nip.constants.REPOSITORY_ROOT = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs')#
The root directory of the repository.
- nip.constants.SEEDS = [8144, 820, 4173, 3992, 4506, 9876, 5074, 446, 5147, 9030]#
The default seeds to use for experiments
- nip.constants.STATUS_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/status')#
The path to the directory files for communicating status between processes
- nip.constants.VLLM_LOG_DIR = PosixPath('/home/runner/work/neural-interactive-proofs/neural-interactive-proofs/log/vllm')#
The path to the directory containing vLLM log files