Skip to content

Commit

Permalink
black pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaniel-hudson committed Apr 18, 2024
1 parent 0f18cec commit bb815b3
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 24.4.0
hooks:
- id: black
language_version: python3.10
1 change: 1 addition & 0 deletions easy_cpu_install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cat requirements.txt | xargs -n 1 pip install
File renamed without changes.
File renamed without changes.
38 changes: 38 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,39 @@
certifi==2024.2.2
charset-normalizer==3.3.2
contourpy==1.2.1
cycler==0.12.1
filelock==3.9.0
fonttools==4.51.0
fsspec==2024.3.1
huggingface-hub==0.22.2
idna==3.7
Jinja2==3.1.2
kiwisolver==1.4.5
MarkupSafe==2.1.3
matplotlib==3.8.4
mpmath==1.3.0
networkx==3.2.1
numpy==1.26.3
pre-commit==3.7.0
packaging==24.0
pillow==10.2.0
pip==23.3.1
pyparsing==3.1.2
python-dateutil==2.9.0.post0
PyYAML==6.0.1
regex==2023.12.25
requests==2.31.0
safetensors==0.4.2
setuptools==68.2.2
six==1.16.0
sympy==1.12
tokenizers==0.15.2
torch==2.2.2
torchaudio==2.2.2
torchvision==0.17.2
tqdm==4.66.2
transformers==4.39.3
triton==2.3.0
typing_extensions==4.8.0
urllib3==2.2.1
wheel==0.41.2
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions src/spectralregexpmemorization.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ def detokenize(tensor):
return detokenized_seq


"""## More challenging Synthetic dataset generation"""


def math_function(starting_val):
# 2+x
return 2 + starting_val
Expand Down

0 comments on commit bb815b3

Please sign in to comment.