Spaces:
Running
Running
updated libs
Browse files- gitattributes +35 -0
- gitignore +173 -0
- gitlint +143 -0
gitattributes
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
gitignore
ADDED
@@ -0,0 +1,173 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Byte-compiled / optimized / DLL files
|
2 |
+
__pycache__/
|
3 |
+
*.py[cod]
|
4 |
+
*$py.class
|
5 |
+
|
6 |
+
# C extensions
|
7 |
+
*.so
|
8 |
+
|
9 |
+
# Distribution / packaging
|
10 |
+
.Python
|
11 |
+
build/
|
12 |
+
develop-eggs/
|
13 |
+
dist/
|
14 |
+
downloads/
|
15 |
+
eggs/
|
16 |
+
.eggs/
|
17 |
+
lib/
|
18 |
+
lib64/
|
19 |
+
parts/
|
20 |
+
sdist/
|
21 |
+
var/
|
22 |
+
wheels/
|
23 |
+
share/python-wheels/
|
24 |
+
*.egg-info/
|
25 |
+
.installed.cfg
|
26 |
+
*.egg
|
27 |
+
MANIFEST
|
28 |
+
|
29 |
+
# PyInstaller
|
30 |
+
# Usually these files are written by a python script from a template
|
31 |
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
32 |
+
*.manifest
|
33 |
+
*.spec
|
34 |
+
|
35 |
+
# Installer logs
|
36 |
+
pip-log.txt
|
37 |
+
pip-delete-this-directory.txt
|
38 |
+
|
39 |
+
# Unit test / coverage reports
|
40 |
+
htmlcov/
|
41 |
+
.tox/
|
42 |
+
.nox/
|
43 |
+
.coverage
|
44 |
+
.coverage.*
|
45 |
+
.cache
|
46 |
+
nosetests.xml
|
47 |
+
coverage.xml
|
48 |
+
*.cover
|
49 |
+
*.py,cover
|
50 |
+
.hypothesis/
|
51 |
+
.pytest_cache/
|
52 |
+
cover/
|
53 |
+
|
54 |
+
# Translations
|
55 |
+
*.mo
|
56 |
+
*.pot
|
57 |
+
|
58 |
+
# Django stuff:
|
59 |
+
*.log
|
60 |
+
local_settings.py
|
61 |
+
db.sqlite3
|
62 |
+
db.sqlite3-journal
|
63 |
+
|
64 |
+
# Flask stuff:
|
65 |
+
instance/
|
66 |
+
.webassets-cache
|
67 |
+
|
68 |
+
# Scrapy stuff:
|
69 |
+
.scrapy
|
70 |
+
|
71 |
+
# Sphinx documentation
|
72 |
+
docs/_build/
|
73 |
+
|
74 |
+
# PyBuilder
|
75 |
+
.pybuilder/
|
76 |
+
target/
|
77 |
+
|
78 |
+
# Jupyter Notebook
|
79 |
+
.ipynb_checkpoints
|
80 |
+
|
81 |
+
# IPython
|
82 |
+
profile_default/
|
83 |
+
ipython_config.py
|
84 |
+
|
85 |
+
# pyenv
|
86 |
+
# For a library or package, you might want to ignore these files since the code is
|
87 |
+
# intended to run in multiple environments; otherwise, check them in:
|
88 |
+
# .python-version
|
89 |
+
|
90 |
+
# pipenv
|
91 |
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
92 |
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
93 |
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
94 |
+
# install all needed dependencies.
|
95 |
+
#Pipfile.lock
|
96 |
+
|
97 |
+
# UV
|
98 |
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
99 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
100 |
+
# commonly ignored for libraries.
|
101 |
+
#uv.lock
|
102 |
+
|
103 |
+
# poetry
|
104 |
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
105 |
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
106 |
+
# commonly ignored for libraries.
|
107 |
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
108 |
+
#poetry.lock
|
109 |
+
|
110 |
+
# pdm
|
111 |
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
112 |
+
#pdm.lock
|
113 |
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
114 |
+
# in version control.
|
115 |
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
116 |
+
.pdm.toml
|
117 |
+
.pdm-python
|
118 |
+
.pdm-build/
|
119 |
+
|
120 |
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
121 |
+
__pypackages__/
|
122 |
+
|
123 |
+
# Celery stuff
|
124 |
+
celerybeat-schedule
|
125 |
+
celerybeat.pid
|
126 |
+
|
127 |
+
# SageMath parsed files
|
128 |
+
*.sage.py
|
129 |
+
|
130 |
+
# Environments
|
131 |
+
.env
|
132 |
+
.venv
|
133 |
+
env/
|
134 |
+
venv/
|
135 |
+
ENV/
|
136 |
+
env.bak/
|
137 |
+
venv.bak/
|
138 |
+
|
139 |
+
# Spyder project settings
|
140 |
+
.spyderproject
|
141 |
+
.spyproject
|
142 |
+
|
143 |
+
# Rope project settings
|
144 |
+
.ropeproject
|
145 |
+
|
146 |
+
# mkdocs documentation
|
147 |
+
/site
|
148 |
+
|
149 |
+
# mypy
|
150 |
+
.mypy_cache/
|
151 |
+
.dmypy.json
|
152 |
+
dmypy.json
|
153 |
+
|
154 |
+
# Pyre type checker
|
155 |
+
.pyre/
|
156 |
+
|
157 |
+
# pytype static type analyzer
|
158 |
+
.pytype/
|
159 |
+
|
160 |
+
# Cython debug symbols
|
161 |
+
cython_debug/
|
162 |
+
|
163 |
+
# PyCharm
|
164 |
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
165 |
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
166 |
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
167 |
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
168 |
+
#.idea/
|
169 |
+
|
170 |
+
|
171 |
+
# Boilerplate specific ignores
|
172 |
+
.gradio/
|
173 |
+
.ruff_cache/
|
gitlint
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Edit this file as you like.
|
2 |
+
#
|
3 |
+
# All these sections are optional. Each section with the exception of [general] represents
|
4 |
+
# one rule and each key in it is an option for that specific rule.
|
5 |
+
#
|
6 |
+
# Rules and sections can be referenced by their full name or by id. For example
|
7 |
+
# section "[body-max-line-length]" could also be written as "[B1]". Full section names are
|
8 |
+
# used in here for clarity.
|
9 |
+
#
|
10 |
+
# [general]
|
11 |
+
# Ignore certain rules, this example uses both full name and id
|
12 |
+
# ignore=title-trailing-punctuation, T3
|
13 |
+
|
14 |
+
[general]
|
15 |
+
# You HAVE to add the rule here to enable it, only configuring (such as below)
|
16 |
+
# does NOT enable it.
|
17 |
+
contrib=contrib-title-conventional-commits
|
18 |
+
|
19 |
+
[contrib-title-conventional-commits]
|
20 |
+
# Specify allowed commit types. For details see: https://www.conventionalcommits.org/
|
21 |
+
types = build,chore,ci,docs,feat,fix,perf,refactor,revert,style,test
|
22 |
+
|
23 |
+
# verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this
|
24 |
+
# verbosity = 2
|
25 |
+
|
26 |
+
# By default gitlint will ignore merge, revert, fixup and squash commits.
|
27 |
+
# ignore-merge-commits=true
|
28 |
+
# ignore-revert-commits=true
|
29 |
+
# ignore-fixup-commits=true
|
30 |
+
# ignore-squash-commits=true
|
31 |
+
|
32 |
+
# Ignore any data send to gitlint via stdin
|
33 |
+
# ignore-stdin=true
|
34 |
+
|
35 |
+
# Fetch additional meta-data from the local repository when manually passing a
|
36 |
+
# commit message to gitlint via stdin or --commit-msg. Disabled by default.
|
37 |
+
# staged=true
|
38 |
+
|
39 |
+
# Hard fail when the target commit range is empty. Note that gitlint will
|
40 |
+
# already fail by default on invalid commit ranges. This option is specifically
|
41 |
+
# to tell gitlint to fail on *valid but empty* commit ranges.
|
42 |
+
# Disabled by default.
|
43 |
+
# fail-without-commits=true
|
44 |
+
|
45 |
+
# Enable debug mode (prints more output). Disabled by default.
|
46 |
+
# debug=true
|
47 |
+
|
48 |
+
# Enable community contributed rules
|
49 |
+
# See http://jorisroovers.github.io/gitlint/contrib_rules for details
|
50 |
+
# contrib=contrib-title-conventional-commits,CC1
|
51 |
+
|
52 |
+
# Set the extra-path where gitlint will search for user defined rules
|
53 |
+
# See http://jorisroovers.github.io/gitlint/user_defined_rules for details
|
54 |
+
# extra-path=examples/
|
55 |
+
|
56 |
+
# This is an example of how to configure the "title-max-length" rule and
|
57 |
+
# set the line-length it enforces to 50
|
58 |
+
# [title-max-length]
|
59 |
+
# line-length=50
|
60 |
+
|
61 |
+
# Conversely, you can also enforce minimal length of a title with the
|
62 |
+
# "title-min-length" rule:
|
63 |
+
# [title-min-length]
|
64 |
+
# min-length=5
|
65 |
+
|
66 |
+
# [title-must-not-contain-word]
|
67 |
+
# Comma-separated list of words that should not occur in the title. Matching is case
|
68 |
+
# insensitive. It's fine if the keyword occurs as part of a larger word (so "WIPING"
|
69 |
+
# will not cause a violation, but "WIP: my title" will.
|
70 |
+
# words=wip
|
71 |
+
|
72 |
+
# [title-match-regex]
|
73 |
+
# python-style regex that the commit-msg title must match
|
74 |
+
# Note that the regex can contradict with other rules if not used correctly
|
75 |
+
# (e.g. title-must-not-contain-word).
|
76 |
+
# regex=^US[0-9]*
|
77 |
+
|
78 |
+
# [body-max-line-length]
|
79 |
+
# line-length=72
|
80 |
+
|
81 |
+
# [body-min-length]
|
82 |
+
# min-length=5
|
83 |
+
|
84 |
+
# [body-is-missing]
|
85 |
+
# Whether to ignore this rule on merge commits (which typically only have a title)
|
86 |
+
# default = True
|
87 |
+
# ignore-merge-commits=false
|
88 |
+
|
89 |
+
# [body-changed-file-mention]
|
90 |
+
# List of files that need to be explicitly mentioned in the body when they are changed
|
91 |
+
# This is useful for when developers often erroneously edit certain files or git submodules.
|
92 |
+
# By specifying this rule, developers can only change the file when they explicitly reference
|
93 |
+
# it in the commit message.
|
94 |
+
# files=gitlint-core/gitlint/rules.py,README.md
|
95 |
+
|
96 |
+
# [body-match-regex]
|
97 |
+
# python-style regex that the commit-msg body must match.
|
98 |
+
# E.g. body must end in My-Commit-Tag: foo
|
99 |
+
# regex=My-Commit-Tag: foo$
|
100 |
+
|
101 |
+
# [author-valid-email]
|
102 |
+
# python-style regex that the commit author email address must match.
|
103 |
+
# For example, use the following regex if you only want to allow email addresses from foo.com
|
104 |
+
# regex=[^@][email protected]
|
105 |
+
|
106 |
+
# [ignore-by-title]
|
107 |
+
# Ignore certain rules for commits of which the title matches a regex
|
108 |
+
# E.g. Match commit titles that start with "Release"
|
109 |
+
# regex=^Release(.*)
|
110 |
+
|
111 |
+
# Ignore certain rules, you can reference them by their id or by their full name
|
112 |
+
# Use 'all' to ignore all rules
|
113 |
+
# ignore=T1,body-min-length
|
114 |
+
|
115 |
+
# [ignore-by-body]
|
116 |
+
# Ignore certain rules for commits of which the body has a line that matches a regex
|
117 |
+
# E.g. Match bodies that have a line that that contain "release"
|
118 |
+
# regex=(.*)release(.*)
|
119 |
+
#
|
120 |
+
# Ignore certain rules, you can reference them by their id or by their full name
|
121 |
+
# Use 'all' to ignore all rules
|
122 |
+
# ignore=T1,body-min-length
|
123 |
+
|
124 |
+
# [ignore-body-lines]
|
125 |
+
# Ignore certain lines in a commit body that match a regex.
|
126 |
+
# E.g. Ignore all lines that start with 'Co-Authored-By'
|
127 |
+
# regex=^Co-Authored-By
|
128 |
+
|
129 |
+
# [ignore-by-author-name]
|
130 |
+
# Ignore certain rules for commits of which the author name matches a regex
|
131 |
+
# E.g. Match commits made by dependabot
|
132 |
+
# regex=(.*)dependabot(.*)
|
133 |
+
#
|
134 |
+
# Ignore certain rules, you can reference them by their id or by their full name
|
135 |
+
# Use 'all' to ignore all rules
|
136 |
+
# ignore=T1,body-min-length
|
137 |
+
|
138 |
+
# This is a contrib rule - a community contributed rule. These are disabled by default.
|
139 |
+
# You need to explicitly enable them one-by-one by adding them to the "contrib" option
|
140 |
+
# under [general] section above.
|
141 |
+
# [contrib-title-conventional-commits]
|
142 |
+
# Specify allowed commit types. For details see: https://www.conventionalcommits.org/
|
143 |
+
# types = bugfix,user-story,epic
|