osushinekotan / llm-detect-ai-generated-text

Home Page:https://www.kaggle.com/competitions/llm-detect-ai-generated-text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Env

set environment variables

cp .env.example .env
echo 'export $(cat .env | grep -v ^#)' >> ~/.bashrc

create bucket

source gcp/create_bucket.sh

install gcsfuse & mount bucket

source gcp/install_gcsfuse.sh
source gcp/mount_bucket.sh

Rye

curl -sSf https://rye-up.com/get | bash
echo 'source "$HOME/.rye/env"' >> ~/.bashrc

Bitstandbytes

bitsandbytes-foundation/bitsandbytes#620 (comment)

.venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/env_vars.py

def to_be_ignored(env_var: str, value: str) -> bool:
    ignorable = {
        "PWD",  # PWD: this is how the shell keeps track of the current working dir
        "OLDPWD",
        "SSH_AUTH_SOCK",  # SSH stuff, therefore unrelated
        "SSH_TTY",
        "HOME",  # Linux shell default
        "TMUX",  # Terminal Multiplexer
        "XDG_DATA_DIRS",  # XDG: Desktop environment stuff
        "XDG_GREETER_DATA_DIR",  # XDG: Desktop environment stuff
        "XDG_RUNTIME_DIR",
        "MAIL",  # something related to emails
        "SHELL",  # binary for currently invoked shell
        "DBUS_SESSION_BUS_ADDRESS",  # hardware related
        "PATH",  # this is for finding binaries, not libraries
        "LESSOPEN",  # related to the `less` command
        "LESSCLOSE",
        "GOOGLE_VM_CONFIG_LOCK_FILE",  # <----------------------- add 
        "_",  # current Python interpreter
    }
    return env_var in ignorable

About

https://www.kaggle.com/competitions/llm-detect-ai-generated-text

License:MIT License


Languages

Language:Jupyter Notebook 53.5%Language:Python 45.2%Language:Shell 1.3%