Skip to content

Commit 740d67c

Browse files
committed
feat: add only_cross_attention parameters, add a example workflow.
1 parent a5f0ef8 commit 740d67c

File tree

10 files changed

+457
-23
lines changed

10 files changed

+457
-23
lines changed

.gitignore

Lines changed: 355 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,355 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/pycharm+all,visualstudiocode,macos,windows,linux,python
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=pycharm+all,visualstudiocode,macos,windows,linux,python
3+
4+
### Linux ###
5+
*~
6+
7+
# temporary files which can be created if a process still has a handle open of a deleted file
8+
.fuse_hidden*
9+
10+
# KDE directory preferences
11+
.directory
12+
13+
# Linux trash folder which might appear on any partition or disk
14+
.Trash-*
15+
16+
# .nfs files are created when an open file is removed but is still being accessed
17+
.nfs*
18+
19+
### macOS ###
20+
# General
21+
.DS_Store
22+
.AppleDouble
23+
.LSOverride
24+
25+
# Icon must end with two \r
26+
Icon
27+
28+
29+
# Thumbnails
30+
._*
31+
32+
# Files that might appear in the root of a volume
33+
.DocumentRevisions-V100
34+
.fseventsd
35+
.Spotlight-V100
36+
.TemporaryItems
37+
.Trashes
38+
.VolumeIcon.icns
39+
.com.apple.timemachine.donotpresent
40+
41+
# Directories potentially created on remote AFP share
42+
.AppleDB
43+
.AppleDesktop
44+
Network Trash Folder
45+
Temporary Items
46+
.apdisk
47+
48+
### macOS Patch ###
49+
# iCloud generated files
50+
*.icloud
51+
52+
### PyCharm+all ###
53+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
54+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
55+
56+
# User-specific stuff
57+
.idea/**/workspace.xml
58+
.idea/**/tasks.xml
59+
.idea/**/usage.statistics.xml
60+
.idea/**/dictionaries
61+
.idea/**/shelf
62+
63+
# AWS User-specific
64+
.idea/**/aws.xml
65+
66+
# Generated files
67+
.idea/**/contentModel.xml
68+
69+
# Sensitive or high-churn files
70+
.idea/**/dataSources/
71+
.idea/**/dataSources.ids
72+
.idea/**/dataSources.local.xml
73+
.idea/**/sqlDataSources.xml
74+
.idea/**/dynamic.xml
75+
.idea/**/uiDesigner.xml
76+
.idea/**/dbnavigator.xml
77+
78+
# Gradle
79+
.idea/**/gradle.xml
80+
.idea/**/libraries
81+
82+
# Gradle and Maven with auto-import
83+
# When using Gradle or Maven with auto-import, you should exclude module files,
84+
# since they will be recreated, and may cause churn. Uncomment if using
85+
# auto-import.
86+
# .idea/artifacts
87+
# .idea/compiler.xml
88+
# .idea/jarRepositories.xml
89+
# .idea/modules.xml
90+
# .idea/*.iml
91+
# .idea/modules
92+
# *.iml
93+
# *.ipr
94+
95+
# CMake
96+
cmake-build-*/
97+
98+
# Mongo Explorer plugin
99+
.idea/**/mongoSettings.xml
100+
101+
# File-based project format
102+
*.iws
103+
104+
# IntelliJ
105+
out/
106+
107+
# mpeltonen/sbt-idea plugin
108+
.idea_modules/
109+
110+
# JIRA plugin
111+
atlassian-ide-plugin.xml
112+
113+
# Cursive Clojure plugin
114+
.idea/replstate.xml
115+
116+
# SonarLint plugin
117+
.idea/sonarlint/
118+
119+
# Crashlytics plugin (for Android Studio and IntelliJ)
120+
com_crashlytics_export_strings.xml
121+
crashlytics.properties
122+
crashlytics-build.properties
123+
fabric.properties
124+
125+
# Editor-based Rest Client
126+
.idea/httpRequests
127+
128+
# Android studio 3.1+ serialized cache file
129+
.idea/caches/build_file_checksums.ser
130+
131+
### PyCharm+all Patch ###
132+
# Ignore everything but code style settings and run configurations
133+
# that are supposed to be shared within teams.
134+
135+
.idea/*
136+
137+
!.idea/codeStyles
138+
!.idea/runConfigurations
139+
140+
### Python ###
141+
# Byte-compiled / optimized / DLL files
142+
__pycache__/
143+
*.py[cod]
144+
*$py.class
145+
146+
# C extensions
147+
*.so
148+
149+
# Distribution / packaging
150+
.Python
151+
build/
152+
develop-eggs/
153+
dist/
154+
downloads/
155+
eggs/
156+
.eggs/
157+
lib/
158+
lib64/
159+
parts/
160+
sdist/
161+
var/
162+
wheels/
163+
share/python-wheels/
164+
*.egg-info/
165+
.installed.cfg
166+
*.egg
167+
MANIFEST
168+
169+
# PyInstaller
170+
# Usually these files are written by a python script from a template
171+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
172+
*.manifest
173+
*.spec
174+
175+
# Installer logs
176+
pip-log.txt
177+
pip-delete-this-directory.txt
178+
179+
# Unit test / coverage reports
180+
htmlcov/
181+
.tox/
182+
.nox/
183+
.coverage
184+
.coverage.*
185+
.cache
186+
nosetests.xml
187+
coverage.xml
188+
*.cover
189+
*.py,cover
190+
.hypothesis/
191+
.pytest_cache/
192+
cover/
193+
194+
# Translations
195+
*.mo
196+
*.pot
197+
198+
# Django stuff:
199+
*.log
200+
local_settings.py
201+
db.sqlite3
202+
db.sqlite3-journal
203+
204+
# Flask stuff:
205+
instance/
206+
.webassets-cache
207+
208+
# Scrapy stuff:
209+
.scrapy
210+
211+
# Sphinx documentation
212+
docs/_build/
213+
214+
# PyBuilder
215+
.pybuilder/
216+
target/
217+
218+
# Jupyter Notebook
219+
.ipynb_checkpoints
220+
221+
# IPython
222+
profile_default/
223+
ipython_config.py
224+
225+
# pyenv
226+
# For a library or package, you might want to ignore these files since the code is
227+
# intended to run in multiple environments; otherwise, check them in:
228+
# .python-version
229+
230+
# pipenv
231+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
232+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
233+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
234+
# install all needed dependencies.
235+
#Pipfile.lock
236+
237+
# poetry
238+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
239+
# This is especially recommended for binary packages to ensure reproducibility, and is more
240+
# commonly ignored for libraries.
241+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
242+
#poetry.lock
243+
244+
# pdm
245+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
246+
#pdm.lock
247+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
248+
# in version control.
249+
# https://pdm.fming.dev/#use-with-ide
250+
.pdm.toml
251+
252+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
253+
__pypackages__/
254+
255+
# Celery stuff
256+
celerybeat-schedule
257+
celerybeat.pid
258+
259+
# SageMath parsed files
260+
*.sage.py
261+
262+
# Environments
263+
.env
264+
.venv
265+
env/
266+
venv/
267+
ENV/
268+
env.bak/
269+
venv.bak/
270+
271+
# Spyder project settings
272+
.spyderproject
273+
.spyproject
274+
275+
# Rope project settings
276+
.ropeproject
277+
278+
# mkdocs documentation
279+
/site
280+
281+
# mypy
282+
.mypy_cache/
283+
.dmypy.json
284+
dmypy.json
285+
286+
# Pyre type checker
287+
.pyre/
288+
289+
# pytype static type analyzer
290+
.pytype/
291+
292+
# Cython debug symbols
293+
cython_debug/
294+
295+
# PyCharm
296+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
297+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
298+
# and can be added to the global gitignore or merged into this file. For a more nuclear
299+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
300+
#.idea/
301+
302+
### VisualStudioCode ###
303+
.vscode/*
304+
!.vscode/settings.json
305+
!.vscode/tasks.json
306+
!.vscode/launch.json
307+
!.vscode/extensions.json
308+
!.vscode/*.code-snippets
309+
310+
# Local History for Visual Studio Code
311+
.history/
312+
313+
# Built Visual Studio Code Extensions
314+
*.vsix
315+
316+
### VisualStudioCode Patch ###
317+
# Ignore all local history of files
318+
.history
319+
.ionide
320+
321+
# Support for Project snippet scope
322+
.vscode/*.code-snippets
323+
324+
# Ignore code-workspaces
325+
*.code-workspace
326+
327+
### Windows ###
328+
# Windows thumbnail cache files
329+
Thumbs.db
330+
Thumbs.db:encryptable
331+
ehthumbs.db
332+
ehthumbs_vista.db
333+
334+
# Dump file
335+
*.stackdump
336+
337+
# Folder config file
338+
[Dd]esktop.ini
339+
340+
# Recycle Bin used on file shares
341+
$RECYCLE.BIN/
342+
343+
# Windows Installer files
344+
*.cab
345+
*.msi
346+
*.msix
347+
*.msm
348+
*.msp
349+
350+
# Windows shortcuts
351+
*.lnk
352+
353+
# End of https://www.toptal.com/developers/gitignore/api/pycharm+all,visualstudiocode,macos,windows,linux,python
354+
/test
355+
/models

0 commit comments

Comments
 (0)