Some out-of-the-box hooks for pre-commit Python5.7k744 pre-commit.compre-commit.comPublic Python200312 Repositories Type Language Sort mirrors-clang-formatPublic mirror ofhttps://github.com/ssciwr/clang-format-
- black==22.10.0 # keep in sync with black hook # Check for common mistakes - repo: https://github.com/pre-commit/pygrep-hooks rev: "v1.9.0" hooks: - id: python-check-blanket-noqa - id: python-check-blanket-type-ignore - id: python-no-log-warn - id: python-no-eval - id:...
# via pre-commit wcwidth==0.2.6 # via prompt-toolkit werkzeug==2.3.6 3 changes: 1 addition & 2 deletions 3 frameos/vendor/inkyPython/check.py Original file line numberDiff line numberDiff line change @@ -1,8 +1,7 @@ from typing import Dict import sys import json def log(obj:...
Commit Permalink add pre-commit Browse files main (EleutherAI/lm-evaluation-harness#317) Mistobaan committed May 3, 2022 1 parent 7a03811 commit 121b709 Showing 732 changed files with 4,180 additions and 3,430 deletions. Whitespace Ignore whitespace Split Unified ...
python demo.py to automatically download models and data, prepare raw data into db that is ready to use for the program, generate a training scripts. Note that by default thedemo.pywill use a dummy data, please specify the Reddit training data by using option--data. Three options are avai...
Sort tool: blur places most blurred faces at end of folder hist groups images by similar content hist-dissim places most similar to each other images to end. hist-blur sort by blur in groups of similar content brightness hue black Places images which contains black area at end of folder. ...
14 + name: sort all imports (python) 15 + 16 + - repo: https://github.com/psf/black-pre-commit-mirror 17 + rev: 23.9.1 18 + hooks: 19 + - id: black 20 + name: black formatter 21 + args: ['--line-length=120', '--target-version=py37', '--target-version=py38', '-...
python3.6 demo.py Train model with Docker environment To start, first install the docker and Nvidia-docker from their official repos. The image environment for running the code can be loaded as below: Nvidia-docker v2.* $ docker run --gpus all --ipc=host --rm -it -v $PWD:/workspace...
Sort tool: blurplaces most blurred faces at end of folder histgroups images by similar content hist-dissimplaces most similar to each other images to end. hist-blursort by blur in groups of similar content brightness hue blackPlaces images which contains black area at end of folder. Useful to...
python ./LSP_train.py#Single GPU trainingpython -m torch.distributed.launch --nproc_per_node=8 ./LSP_train.py#Training on 8 GPUs The training script accept several arguments to tweak the training: ArgumentTypeDefault valueDescription max_seq_lengthint128Maximum number of tokens for each training...