EvoScientist 0.0.1.dev2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. EvoScientist/EvoScientist.py +157 -0
  2. EvoScientist/__init__.py +24 -0
  3. EvoScientist/__main__.py +4 -0
  4. EvoScientist/backends.py +392 -0
  5. EvoScientist/cli.py +1553 -0
  6. EvoScientist/middleware.py +35 -0
  7. EvoScientist/prompts.py +277 -0
  8. EvoScientist/skills/accelerate/SKILL.md +332 -0
  9. EvoScientist/skills/accelerate/references/custom-plugins.md +453 -0
  10. EvoScientist/skills/accelerate/references/megatron-integration.md +489 -0
  11. EvoScientist/skills/accelerate/references/performance.md +525 -0
  12. EvoScientist/skills/bitsandbytes/SKILL.md +411 -0
  13. EvoScientist/skills/bitsandbytes/references/memory-optimization.md +521 -0
  14. EvoScientist/skills/bitsandbytes/references/qlora-training.md +521 -0
  15. EvoScientist/skills/bitsandbytes/references/quantization-formats.md +447 -0
  16. EvoScientist/skills/find-skills/SKILL.md +133 -0
  17. EvoScientist/skills/find-skills/scripts/install_skill.py +211 -0
  18. EvoScientist/skills/flash-attention/SKILL.md +367 -0
  19. EvoScientist/skills/flash-attention/references/benchmarks.md +215 -0
  20. EvoScientist/skills/flash-attention/references/transformers-integration.md +293 -0
  21. EvoScientist/skills/llama-cpp/SKILL.md +258 -0
  22. EvoScientist/skills/llama-cpp/references/optimization.md +89 -0
  23. EvoScientist/skills/llama-cpp/references/quantization.md +213 -0
  24. EvoScientist/skills/llama-cpp/references/server.md +125 -0
  25. EvoScientist/skills/lm-evaluation-harness/SKILL.md +490 -0
  26. EvoScientist/skills/lm-evaluation-harness/references/api-evaluation.md +490 -0
  27. EvoScientist/skills/lm-evaluation-harness/references/benchmark-guide.md +488 -0
  28. EvoScientist/skills/lm-evaluation-harness/references/custom-tasks.md +602 -0
  29. EvoScientist/skills/lm-evaluation-harness/references/distributed-eval.md +519 -0
  30. EvoScientist/skills/ml-paper-writing/SKILL.md +937 -0
  31. EvoScientist/skills/ml-paper-writing/references/checklists.md +361 -0
  32. EvoScientist/skills/ml-paper-writing/references/citation-workflow.md +562 -0
  33. EvoScientist/skills/ml-paper-writing/references/reviewer-guidelines.md +367 -0
  34. EvoScientist/skills/ml-paper-writing/references/sources.md +159 -0
  35. EvoScientist/skills/ml-paper-writing/references/writing-guide.md +476 -0
  36. EvoScientist/skills/ml-paper-writing/templates/README.md +251 -0
  37. EvoScientist/skills/ml-paper-writing/templates/aaai2026/README.md +534 -0
  38. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-supp.tex +144 -0
  39. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026-unified-template.tex +952 -0
  40. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026.bib +111 -0
  41. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026.bst +1493 -0
  42. EvoScientist/skills/ml-paper-writing/templates/aaai2026/aaai2026.sty +315 -0
  43. EvoScientist/skills/ml-paper-writing/templates/acl/README.md +50 -0
  44. EvoScientist/skills/ml-paper-writing/templates/acl/acl.sty +312 -0
  45. EvoScientist/skills/ml-paper-writing/templates/acl/acl_latex.tex +377 -0
  46. EvoScientist/skills/ml-paper-writing/templates/acl/acl_lualatex.tex +101 -0
  47. EvoScientist/skills/ml-paper-writing/templates/acl/acl_natbib.bst +1940 -0
  48. EvoScientist/skills/ml-paper-writing/templates/acl/anthology.bib.txt +26 -0
  49. EvoScientist/skills/ml-paper-writing/templates/acl/custom.bib +70 -0
  50. EvoScientist/skills/ml-paper-writing/templates/acl/formatting.md +326 -0
  51. EvoScientist/skills/ml-paper-writing/templates/colm2025/README.md +3 -0
  52. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bib +11 -0
  53. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.bst +1440 -0
  54. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.pdf +0 -0
  55. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.sty +218 -0
  56. EvoScientist/skills/ml-paper-writing/templates/colm2025/colm2025_conference.tex +305 -0
  57. EvoScientist/skills/ml-paper-writing/templates/colm2025/fancyhdr.sty +485 -0
  58. EvoScientist/skills/ml-paper-writing/templates/colm2025/math_commands.tex +508 -0
  59. EvoScientist/skills/ml-paper-writing/templates/colm2025/natbib.sty +1246 -0
  60. EvoScientist/skills/ml-paper-writing/templates/iclr2026/fancyhdr.sty +485 -0
  61. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bib +24 -0
  62. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.bst +1440 -0
  63. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.pdf +0 -0
  64. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.sty +246 -0
  65. EvoScientist/skills/ml-paper-writing/templates/iclr2026/iclr2026_conference.tex +414 -0
  66. EvoScientist/skills/ml-paper-writing/templates/iclr2026/math_commands.tex +508 -0
  67. EvoScientist/skills/ml-paper-writing/templates/iclr2026/natbib.sty +1246 -0
  68. EvoScientist/skills/ml-paper-writing/templates/icml2026/algorithm.sty +79 -0
  69. EvoScientist/skills/ml-paper-writing/templates/icml2026/algorithmic.sty +201 -0
  70. EvoScientist/skills/ml-paper-writing/templates/icml2026/example_paper.bib +75 -0
  71. EvoScientist/skills/ml-paper-writing/templates/icml2026/example_paper.pdf +0 -0
  72. EvoScientist/skills/ml-paper-writing/templates/icml2026/example_paper.tex +662 -0
  73. EvoScientist/skills/ml-paper-writing/templates/icml2026/fancyhdr.sty +864 -0
  74. EvoScientist/skills/ml-paper-writing/templates/icml2026/icml2026.bst +1443 -0
  75. EvoScientist/skills/ml-paper-writing/templates/icml2026/icml2026.sty +767 -0
  76. EvoScientist/skills/ml-paper-writing/templates/icml2026/icml_numpapers.pdf +0 -0
  77. EvoScientist/skills/ml-paper-writing/templates/neurips2025/Makefile +36 -0
  78. EvoScientist/skills/ml-paper-writing/templates/neurips2025/extra_pkgs.tex +53 -0
  79. EvoScientist/skills/ml-paper-writing/templates/neurips2025/main.tex +38 -0
  80. EvoScientist/skills/ml-paper-writing/templates/neurips2025/neurips.sty +382 -0
  81. EvoScientist/skills/peft/SKILL.md +431 -0
  82. EvoScientist/skills/peft/references/advanced-usage.md +514 -0
  83. EvoScientist/skills/peft/references/troubleshooting.md +480 -0
  84. EvoScientist/skills/ray-data/SKILL.md +326 -0
  85. EvoScientist/skills/ray-data/references/integration.md +82 -0
  86. EvoScientist/skills/ray-data/references/transformations.md +83 -0
  87. EvoScientist/skills/skill-creator/LICENSE.txt +202 -0
  88. EvoScientist/skills/skill-creator/SKILL.md +356 -0
  89. EvoScientist/skills/skill-creator/references/output-patterns.md +82 -0
  90. EvoScientist/skills/skill-creator/references/workflows.md +28 -0
  91. EvoScientist/skills/skill-creator/scripts/init_skill.py +303 -0
  92. EvoScientist/skills/skill-creator/scripts/package_skill.py +110 -0
  93. EvoScientist/skills/skill-creator/scripts/quick_validate.py +95 -0
  94. EvoScientist/stream/__init__.py +53 -0
  95. EvoScientist/stream/emitter.py +94 -0
  96. EvoScientist/stream/formatter.py +168 -0
  97. EvoScientist/stream/tracker.py +115 -0
  98. EvoScientist/stream/utils.py +255 -0
  99. EvoScientist/subagent.yaml +147 -0
  100. EvoScientist/tools.py +135 -0
  101. EvoScientist/utils.py +207 -0
  102. evoscientist-0.0.1.dev2.dist-info/METADATA +227 -0
  103. evoscientist-0.0.1.dev2.dist-info/RECORD +107 -0
  104. evoscientist-0.0.1.dev2.dist-info/WHEEL +5 -0
  105. evoscientist-0.0.1.dev2.dist-info/entry_points.txt +5 -0
  106. evoscientist-0.0.1.dev2.dist-info/licenses/LICENSE +21 -0
  107. evoscientist-0.0.1.dev2.dist-info/top_level.txt +1 -0
@@ -0,0 +1,315 @@
1
+ \NeedsTeXFormat{LaTeX2e}%
2
+ \ProvidesPackage{aaai2026}[2026/04/29 AAAI 2026 Submission format]%
3
+ \def\year{2026}%
4
+ \typeout{Conference Style for AAAI for LaTeX 2e -- version for submission}%
5
+ %
6
+ \def\copyright@on{T}
7
+ \def\showauthors@on{T}
8
+ \def\nocopyright{\gdef\copyright@on{}} % Copyright notice is required for camera-ready only.
9
+ \DeclareOption{submission}{%
10
+ \gdef\copyright@on{}%
11
+ \gdef\showauthors@on{}%
12
+ \long\gdef\pdfinfo #1{\relax}%
13
+ }%
14
+ \DeclareOption{draft}{%
15
+ \gdef\copyright@on{}%
16
+ }%
17
+ \ProcessOptions\relax%
18
+ % WARNING: IF YOU ARE USING THIS STYLE SHEET FOR AN AAAI PUBLICATION, YOU
19
+ % MAY NOT MODIFY IT FOR ANY REASON. MODIFICATIONS (IN YOUR SOURCE
20
+ % OR IN THIS STYLE SHEET WILL RESULT IN REJECTION OF YOUR PAPER).
21
+ %
22
+ % WARNING: This style is NOT guaranteed to work. It is provided in the
23
+ % hope that it might make the preparation of papers easier, but this style
24
+ % file is provided "as is" without warranty of any kind, either express or
25
+ % implied, including but not limited to the implied warranties of
26
+ % merchantability, fitness for a particular purpose, or noninfringement.
27
+ % You use this style file at your own risk. Standard disclaimers apply.
28
+ % There are undoubtably bugs in this style. If you would like to submit
29
+ % bug fixes, improvements, etc. please let us know. Please use the contact form
30
+ % at www.aaai.org.
31
+ %
32
+ % Do not use this file unless you are an experienced LaTeX user.
33
+ %
34
+ % PHYSICAL PAGE LAYOUT
35
+ \setlength\topmargin{-0.25in} \setlength\oddsidemargin{-0.25in}
36
+ \setlength\textheight{9.0in} \setlength\textwidth{7.0in}
37
+ \setlength\columnsep{0.375in} \newlength\titlebox \setlength\titlebox{2.25in}
38
+ \setlength\headheight{0pt} \setlength\headsep{0pt}
39
+ %\setlength\footheight{0pt} \setlength\footskip{0pt}
40
+ \thispagestyle{empty} \pagestyle{empty}
41
+ \flushbottom \twocolumn \sloppy
42
+ % We're never going to need a table of contents, so just flush it to
43
+ % save space --- suggested by drstrip@sandia-2
44
+ \def\addcontentsline#1#2#3{}
45
+ % gf: PRINT COPYRIGHT NOTICE
46
+ \def\copyright@year{\number\year}
47
+ \def\copyright@text{Copyright \copyright\space \copyright@year,
48
+ Association for the Advancement of Artificial Intelligence (www.aaai.org).
49
+ All rights reserved.}
50
+ \def\copyrighttext#1{\gdef\copyright@on{T}\gdef\copyright@text{#1}}
51
+ \def\copyrightyear#1{\gdef\copyright@on{T}\gdef\copyright@year{#1}}
52
+ % gf: End changes for copyright notice (used in \maketitle, below)
53
+ % Title stuff, taken from deproc.
54
+ %
55
+ \def\maketitle{%
56
+ \par%
57
+ \begingroup % to make the footnote style local to the title
58
+ \def\thefootnote{\fnsymbol{footnote}}
59
+ \twocolumn[\@maketitle] \@thanks%
60
+ \endgroup%
61
+ % Insert copyright slug unless turned off
62
+ \if T\copyright@on\insert\footins{\noindent\footnotesize\copyright@text}\fi%
63
+ %
64
+ \setcounter{footnote}{0}%
65
+ \let\maketitle\relax%
66
+ \let\@maketitle\relax%
67
+ \gdef\@thanks{}%
68
+ \gdef\@author{}%
69
+ \gdef\@title{}%
70
+ \let\thanks\relax%
71
+ }%
72
+ \long\gdef\affiliations #1{ \def \affiliations_{\if T\showauthors@on#1\fi}}%
73
+ %
74
+ \def\@maketitle{%
75
+ \def\theauthors{\if T\showauthors@on\@author\else Anonymous submission\fi}
76
+ \newcounter{eqfn}\setcounter{eqfn}{0}%
77
+ \newsavebox{\titlearea}
78
+ \sbox{\titlearea}{
79
+ \let\footnote\relax\let\thanks\relax%
80
+ \setcounter{footnote}{0}%
81
+ \def\equalcontrib{%
82
+ \ifnum\value{eqfn}=0%
83
+ \footnote{These authors contributed equally.}%
84
+ \setcounter{eqfn}{\value{footnote}}%
85
+ \else%
86
+ \footnotemark[\value{eqfn}]%
87
+ \fi%
88
+ }%
89
+ \vbox{%
90
+ \hsize\textwidth%
91
+ \linewidth\hsize%
92
+ \vskip 0.625in minus 0.125in%
93
+ \centering%
94
+ {\LARGE\bf \@title \par}%
95
+ \vskip 0.1in plus 0.5fil minus 0.05in%
96
+ {\Large{\textbf{\theauthors\ifhmode\\\fi}}}%
97
+ \vskip .2em plus 0.25fil%
98
+ {\normalsize \affiliations_\ifhmode\\\fi}%
99
+ \vskip 1em plus 2fil%
100
+ }%
101
+ }%
102
+ %
103
+ \newlength\actualheight%
104
+ \settoheight{\actualheight}{\usebox{\titlearea}}%
105
+ \ifdim\actualheight>\titlebox%
106
+ \setlength{\titlebox}{\actualheight}%
107
+ \fi%
108
+ %
109
+ \vbox to \titlebox {%
110
+ \let\footnote\thanks\relax%
111
+ \setcounter{footnote}{0}%
112
+ \def\equalcontrib{%
113
+ \ifnum\value{eqfn}=0%
114
+ \footnote{These authors contributed equally.}%
115
+ \setcounter{eqfn}{\value{footnote}}%
116
+ \else%
117
+ \footnotemark[\value{eqfn}]%
118
+ \fi%
119
+ }%
120
+ \hsize\textwidth%
121
+ \linewidth\hsize%
122
+ \vskip 0.625in minus 0.125in%
123
+ \centering%
124
+ {\LARGE\bf \@title \par}%
125
+ \vskip 0.1in plus 0.5fil minus 0.05in%
126
+ {\Large{\textbf{\theauthors\ifhmode\\\fi}}}%
127
+ \vskip .2em plus 0.25fil%
128
+ {\normalsize \affiliations_\ifhmode\\\fi}%
129
+ \vskip 1em plus 2fil%
130
+ }%
131
+ }%
132
+ %
133
+ \renewenvironment{abstract}{%
134
+ \centerline{\bf Abstract}%
135
+ \vspace{0.5ex}%
136
+ \setlength{\leftmargini}{10pt}%
137
+ \begin{quote}%
138
+ \small%
139
+ }{%
140
+ \par%
141
+ \end{quote}%
142
+ \vskip 1ex%
143
+ }%
144
+ \newenvironment{links}{%
145
+ \newcommand{\link}[2]{\par\textbf{##1} --- \url{##2}}%
146
+ \setlength{\hangindent}{10pt}%
147
+ \setlength{\parskip}{2pt}%
148
+ \begin{flushleft}%
149
+ }{%
150
+ \end{flushleft}%
151
+ \vskip 1ex%
152
+ }%
153
+ % jsp added:
154
+ \def\pubnote#1{
155
+ \thispagestyle{myheadings}%
156
+ \pagestyle{myheadings}%
157
+ \markboth{#1}{#1}%
158
+ \setlength\headheight{10pt}%
159
+ \setlength\headsep{10pt}%
160
+ }%
161
+ %
162
+ % SECTIONS with less space
163
+ \def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
164
+ -0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\Large\bf\centering}}
165
+ \def\subsection{\@startsection{subsection}{2}{\z@}{-2.0ex plus
166
+ -0.5ex minus -.2ex}{3pt plus 2pt minus 1pt}{\large\bf\raggedright}}
167
+ \def\subsubsection{\@startsection{subparagraph}{3}{\z@}{-6pt plus
168
+ %%% DIEGO changed: 29/11/2009
169
+ %% 2pt minus 1pt}{-1em}{\normalsize\bf}}
170
+ -2pt minus -1pt}{-1em}{\normalsize\bf}}
171
+ %%% END changed
172
+ \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{-6pt plus -2pt minus -1pt}{-1em}{\normalsize\bf}}%
173
+ \setcounter{secnumdepth}{0}
174
+ % add period to section (but not subsection) numbers, reduce space after
175
+ %\renewcommand{\thesection}
176
+ % {\arabic{section}.\hskip-0.6em}
177
+ %\renewcommand{\thesubsection}
178
+ % {\arabic{section}.\arabic{subsection}\hskip-0.6em}
179
+ % FOOTNOTES
180
+ \footnotesep 6.65pt %
181
+ \skip\footins 9pt plus 4pt minus 2pt
182
+ \def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
183
+ \setcounter{footnote}{0}
184
+ % LISTS AND PARAGRAPHS
185
+ \parindent 10pt
186
+ \topsep 4pt plus 1pt minus 2pt
187
+ \partopsep 1pt plus 0.5pt minus 0.5pt
188
+ \itemsep 0.5pt plus 1pt minus 0.5pt
189
+ \parsep 2pt plus 1pt minus 0.5pt
190
+ \leftmargin 10pt \leftmargini 13pt \leftmarginii 10pt \leftmarginiii 5pt \leftmarginiv 5pt \leftmarginv 5pt \leftmarginvi 5pt
191
+ \labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
192
+ \def\@listi{\leftmargin\leftmargini}
193
+ \def\@listii{\leftmargin\leftmarginii
194
+ \labelwidth\leftmarginii\advance\labelwidth-\labelsep
195
+ \topsep 2pt plus 1pt minus 0.5pt
196
+ \parsep 1pt plus 0.5pt minus 0.5pt
197
+ \itemsep \parsep}
198
+ \def\@listiii{\leftmargin\leftmarginiii
199
+ \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
200
+ \topsep 1pt plus 0.5pt minus 0.5pt
201
+ \parsep \z@
202
+ \partopsep 0.5pt plus 0pt minus 0.5pt
203
+ \itemsep \topsep}
204
+ \def\@listiv{\leftmargin\leftmarginiv
205
+ \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
206
+ \def\@listv{\leftmargin\leftmarginv
207
+ \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
208
+ \def\@listvi{\leftmargin\leftmarginvi
209
+ \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
210
+ \abovedisplayskip 7pt plus2pt minus5pt%
211
+ \belowdisplayskip \abovedisplayskip
212
+ \abovedisplayshortskip 0pt plus3pt%
213
+ \belowdisplayshortskip 4pt plus3pt minus3pt%
214
+ % Less leading in most fonts (due to the narrow columns)
215
+ % The choices were between 1-pt and 1.5-pt leading
216
+ \def\normalsize{\@setfontsize\normalsize\@xpt{11}} % 10 point on 11
217
+ \def\small{\@setfontsize\small\@ixpt{10}} % 9 point on 10
218
+ \def\footnotesize{\@setfontsize\footnotesize\@ixpt{10}} % 9 point on 10
219
+ \def\scriptsize{\@setfontsize\scriptsize\@viipt{10}} % 7 point on 8
220
+ \def\tiny{\@setfontsize\tiny\@vipt{7}} % 6 point on 7
221
+ \def\large{\@setfontsize\large\@xipt{12}} % 11 point on 12
222
+ \def\Large{\@setfontsize\Large\@xiipt{14}} % 12 point on 14
223
+ \def\LARGE{\@setfontsize\LARGE\@xivpt{16}} % 14 point on 16
224
+ \def\huge{\@setfontsize\huge\@xviipt{20}} % 17 point on 20
225
+ \def\Huge{\@setfontsize\Huge\@xxpt{23}} % 20 point on 23
226
+
227
+ \AtBeginDocument{%
228
+ \@ifpackageloaded{natbib}%
229
+ {%
230
+ % When natbib is in use, set the proper style and fix a few things
231
+ \let\cite\citep
232
+ \let\shortcite\citeyearpar
233
+ \setcitestyle{aysep={}}
234
+ \setlength\bibhang{0pt}
235
+ \bibliographystyle{aaai2026}
236
+ }{}%
237
+ \@ifpackageloaded{hyperref}%
238
+ {%
239
+ \PackageError{aaai}{You must not use hyperref in AAAI papers.}{You (or one of the packages you imported) are importing the hyperref package, which is forbidden in AAAI papers. You must remove it from the paper to proceed.}
240
+ }{}%
241
+ \@ifpackageloaded{bbm}%
242
+ {%
243
+ \PackageError{aaai}{You must not use bbm package in AAAI papers because it introduces Type 3 fonts which are forbidden.}{See https://tex.stackexchange.com/questions/479160/a-replacement-to-mathbbm1-with-type-1-fonts for possible alternatives.}
244
+ }{}%
245
+ \@ifpackageloaded{authblk}%
246
+ {%
247
+ \PackageError{aaai}{Package authblk is forbbidden.}{Package authblk is forbbiden. You must find an alternative.}
248
+ }{}%
249
+ \@ifpackageloaded{balance}%
250
+ {%
251
+ \PackageError{aaai}{Package balance is forbbidden.}{Package balance is forbbiden. You must find an alternative.}
252
+ }{}%
253
+ \@ifpackageloaded{CJK}%
254
+ {%
255
+ \PackageError{aaai}{Package CJK is forbbidden.}{Package CJK is forbbiden. You must find an alternative.}
256
+ }{}%
257
+ \@ifpackageloaded{flushend}%
258
+ {%
259
+ \PackageError{aaai}{Package flushend is forbbidden.}{Package flushend is forbbiden. You must find an alternative.}
260
+ }{}%
261
+ \@ifpackageloaded{fontenc}%
262
+ {%
263
+ \PackageError{aaai}{Package fontenc is forbbidden.}{Package fontenc is forbbiden. You must find an alternative.}
264
+ }{}%
265
+ \@ifpackageloaded{fullpage}%
266
+ {%
267
+ \PackageError{aaai}{Package fullpage is forbbidden.}{Package fullpage is forbbiden. You must find an alternative.}
268
+ }{}%
269
+ \@ifpackageloaded{geometry}%
270
+ {%
271
+ \PackageError{aaai}{Package geometry is forbbidden.}{Package geometry is forbbiden. You must find an alternative.}
272
+ }{}%
273
+ \@ifpackageloaded{grffile}%
274
+ {%
275
+ \PackageError{aaai}{Package grffile is forbbidden.}{Package grffile is forbbiden. You must find an alternative.}
276
+ }{}%
277
+ \@ifpackageloaded{navigator}%
278
+ {%
279
+ \PackageError{aaai}{Package navigator is forbbidden.}{Package navigator is forbbiden. You must find an alternative.}
280
+ }{}%
281
+ \@ifpackageloaded{savetrees}%
282
+ {%
283
+ \PackageError{aaai}{Package savetrees is forbbidden.}{Package savetrees is forbbiden. You must find an alternative.}
284
+ }{}%
285
+ \@ifpackageloaded{setspace}%
286
+ {%
287
+ \PackageError{aaai}{Package setspace is forbbidden.}{Package setspace is forbbiden. You must find an alternative.}
288
+ }{}%
289
+ \@ifpackageloaded{stfloats}%
290
+ {%
291
+ \PackageError{aaai}{Package stfloats is forbbidden.}{Package stfloats is forbbiden. You must find an alternative.}
292
+ }{}%
293
+ \@ifpackageloaded{tabu}%
294
+ {%
295
+ \PackageError{aaai}{Package tabu is forbbidden.}{Package tabu is forbbiden. You must find an alternative.}
296
+ }{}%
297
+ \@ifpackageloaded{titlesec}%
298
+ {%
299
+ \PackageError{aaai}{Package titlesec is forbbidden.}{Package titlesec is forbbiden. You must find an alternative.}
300
+ }{}%
301
+ \@ifpackageloaded{tocbibind}%
302
+ {%
303
+ \PackageError{aaai}{Package tocbibind is forbbidden.}{Package tocbibind is forbbiden. You must find an alternative.}
304
+ }{}%
305
+ \@ifpackageloaded{ulem}%
306
+ {%
307
+ \PackageError{aaai}{Package ulem is forbbidden.}{Package ulem is forbbiden. You must find an alternative.}
308
+ }{}%
309
+ \@ifpackageloaded{wrapfig}%
310
+ {%
311
+ \PackageError{aaai}{Package wrapfig is forbbidden.}{Package wrapfig is forbbiden. You must find an alternative.}
312
+ }{}%
313
+ }
314
+
315
+ \let\endthebibliography=\endlist
@@ -0,0 +1,50 @@
1
+ # *ACL Paper Styles
2
+
3
+ This directory contains the latest LaTeX templates for *ACL conferences.
4
+
5
+ ## Instructions for authors
6
+
7
+ Paper submissions to *ACL conferences must use the official ACL style
8
+ templates.
9
+
10
+ The LaTeX style files are available
11
+
12
+ - as an [Overleaf template](https://www.overleaf.com/latex/templates/association-for-computational-linguistics-acl-conference/jvxskxpnznfj)
13
+ - in this repository
14
+ - as a [.zip file](https://github.com/acl-org/acl-style-files/archive/refs/heads/master.zip)
15
+
16
+ Please see [`acl_latex.tex`](https://github.com/acl-org/acl-style-files/blob/master/acl_latex.tex) for an example.
17
+
18
+ Please follow the paper formatting guidelines general to *ACL
19
+ conferences:
20
+
21
+ - [Paper formatting guidelines](https://acl-org.github.io/ACLPUB/formatting.html)
22
+
23
+ Authors may not modify these style files or use templates designed for
24
+ other conferences.
25
+
26
+ ## Instructions for publications chairs
27
+
28
+ To adapt the style files for your conference, please fork this repository and
29
+ make necessary changes. Minimally, you'll need to update the name of
30
+ the conference and rename the files.
31
+
32
+ If you make improvements to the templates that should be propagated to
33
+ future conferences, please submit a pull request. Thank you in
34
+ advance!
35
+
36
+ In older versions of the templates, authors were asked to fill in the
37
+ START submission ID so that it would be stamped at the top of each
38
+ page of the anonymized version. This is no longer needed, because it
39
+ is now possible to do this stamping automatically within
40
+ START. Currently, the way to do this is for the program chair to email
41
+ support@softconf.com and request it.
42
+
43
+ ## Instructions for making changes to style files
44
+
45
+ - merge pull request in github, or push to github
46
+ - git pull from github to a local repository
47
+ - then, git push from your local repository to overleaf project
48
+ - Overleaf project is https://www.overleaf.com/project/5f64f1fb97c4c50001b60549
49
+ - Overleaf git url is https://git.overleaf.com/5f64f1fb97c4c50001b60549
50
+ - then, click "Submit" and then "Submit as Template" in overleaf in order to ask overleaf to update the overleaf template from the overleaf project
@@ -0,0 +1,312 @@
1
+ % This is the LaTex style file for *ACL.
2
+ % The official sources can be found at
3
+ %
4
+ % https://github.com/acl-org/acl-style-files/
5
+ %
6
+ % This package is activated by adding
7
+ %
8
+ % \usepackage{acl}
9
+ %
10
+ % to your LaTeX file. When submitting your paper for review, add the "review" option:
11
+ %
12
+ % \usepackage[review]{acl}
13
+
14
+ \newif\ifacl@finalcopy
15
+ \newif\ifacl@anonymize
16
+ \newif\ifacl@linenumbers
17
+ \newif\ifacl@pagenumbers
18
+ \DeclareOption{final}{\acl@finalcopytrue\acl@anonymizefalse\acl@linenumbersfalse\acl@pagenumbersfalse}
19
+ \DeclareOption{review}{\acl@finalcopyfalse\acl@anonymizetrue\acl@linenumberstrue\acl@pagenumberstrue}
20
+ \DeclareOption{preprint}{\acl@finalcopytrue\acl@anonymizefalse\acl@linenumbersfalse\acl@pagenumberstrue}
21
+ \ExecuteOptions{final} % final copy is the default
22
+
23
+ % include hyperref, unless user specifies nohyperref option like this:
24
+ % \usepackage[nohyperref]{acl}
25
+ \newif\ifacl@hyperref
26
+ \DeclareOption{hyperref}{\acl@hyperreftrue}
27
+ \DeclareOption{nohyperref}{\acl@hyperreffalse}
28
+ \ExecuteOptions{hyperref} % default is to use hyperref
29
+ \ProcessOptions\relax
30
+
31
+ \typeout{Conference Style for ACL}
32
+
33
+ \usepackage{xcolor}
34
+
35
+ \ifacl@linenumbers
36
+ % Add draft line numbering via the lineno package
37
+ % https://texblog.org/2012/02/08/adding-line-numbers-to-documents/
38
+ \usepackage[switch,mathlines]{lineno}
39
+
40
+ % Line numbers in gray Helvetica 8pt
41
+ \font\aclhv = phvb at 8pt
42
+ \renewcommand\linenumberfont{\aclhv\color{lightgray}}
43
+
44
+ % Zero-fill line numbers
45
+ % NUMBER with left flushed zeros \fillzeros[<WIDTH>]<NUMBER>
46
+ \newcount\cv@tmpc@ \newcount\cv@tmpc
47
+ \def\fillzeros[#1]#2{\cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi
48
+ \cv@tmpc=1 %
49
+ \loop\ifnum\cv@tmpc@<10 \else \divide\cv@tmpc@ by 10 \advance\cv@tmpc by 1 \fi
50
+ \ifnum\cv@tmpc@=10\relax\cv@tmpc@=11\relax\fi \ifnum\cv@tmpc@>10 \repeat
51
+ \ifnum#2<0\advance\cv@tmpc1\relax-\fi
52
+ \loop\ifnum\cv@tmpc<#1\relax0\advance\cv@tmpc1\relax\fi \ifnum\cv@tmpc<#1 \repeat
53
+ \cv@tmpc@=#2\relax\ifnum\cv@tmpc@<0\cv@tmpc@=-\cv@tmpc@\fi \relax\the\cv@tmpc@}%
54
+ \renewcommand\thelinenumber{\fillzeros[3]{\arabic{linenumber}}}
55
+ \AtBeginDocument{\linenumbers}
56
+
57
+ \setlength{\linenumbersep}{1.6cm}
58
+
59
+ % Bug: An equation with $$ ... $$ isn't numbered, nor is the previous line.
60
+
61
+ % Patch amsmath commands so that the previous line and the equation itself
62
+ % are numbered. Bug: multline has an extra line number.
63
+ % https://tex.stackexchange.com/questions/461186/how-to-use-lineno-with-amsmath-align
64
+ \usepackage{etoolbox} %% <- for \pretocmd, \apptocmd and \patchcmd
65
+
66
+ \newcommand*\linenomathpatch[1]{%
67
+ \expandafter\pretocmd\csname #1\endcsname {\linenomath}{}{}%
68
+ \expandafter\pretocmd\csname #1*\endcsname {\linenomath}{}{}%
69
+ \expandafter\apptocmd\csname end#1\endcsname {\endlinenomath}{}{}%
70
+ \expandafter\apptocmd\csname end#1*\endcsname {\endlinenomath}{}{}%
71
+ }
72
+ \newcommand*\linenomathpatchAMS[1]{%
73
+ \expandafter\pretocmd\csname #1\endcsname {\linenomathAMS}{}{}%
74
+ \expandafter\pretocmd\csname #1*\endcsname {\linenomathAMS}{}{}%
75
+ \expandafter\apptocmd\csname end#1\endcsname {\endlinenomath}{}{}%
76
+ \expandafter\apptocmd\csname end#1*\endcsname {\endlinenomath}{}{}%
77
+ }
78
+
79
+ %% Definition of \linenomathAMS depends on whether the mathlines option is provided
80
+ \expandafter\ifx\linenomath\linenomathWithnumbers
81
+ \let\linenomathAMS\linenomathWithnumbers
82
+ %% The following line gets rid of an extra line numbers at the bottom:
83
+ \patchcmd\linenomathAMS{\advance\postdisplaypenalty\linenopenalty}{}{}{}
84
+ \else
85
+ \let\linenomathAMS\linenomathNonumbers
86
+ \fi
87
+
88
+ \AtBeginDocument{%
89
+ \linenomathpatch{equation}%
90
+ \linenomathpatchAMS{gather}%
91
+ \linenomathpatchAMS{multline}%
92
+ \linenomathpatchAMS{align}%
93
+ \linenomathpatchAMS{alignat}%
94
+ \linenomathpatchAMS{flalign}%
95
+ }
96
+ \else
97
+ % Hack to ignore these commands, which review mode puts into the .aux file.
98
+ \newcommand{\@LN@col}[1]{}
99
+ \newcommand{\@LN}[2]{}
100
+ \newcommand{\nolinenumbers}{}
101
+ \fi
102
+
103
+ \PassOptionsToPackage{a4paper,margin=2.5cm,heightrounded=true}{geometry}
104
+ \RequirePackage{geometry}
105
+
106
+ \setlength\columnsep{0.6cm}
107
+ \newlength\titlebox
108
+ \setlength\titlebox{11\baselineskip}
109
+ % \titlebox should be a multiple of \baselineskip so that
110
+ % column height remaining fits an exact number of lines of text
111
+
112
+ \flushbottom \twocolumn \sloppy
113
+
114
+ % We're never going to need a table of contents, so just flush it to
115
+ % save space --- suggested by drstrip@sandia-2
116
+ \def\addcontentsline#1#2#3{}
117
+
118
+ \ifacl@pagenumbers
119
+ \pagenumbering{arabic}
120
+ \else
121
+ \thispagestyle{empty}
122
+ \pagestyle{empty}
123
+ \fi
124
+
125
+ %% Title and Authors %%
126
+
127
+ \let\Thanks\thanks % \Thanks and \thanks used to be different, but keep this for backwards compatibility.
128
+
129
+ \newcommand\outauthor{%
130
+ \begin{tabular}[t]{c}
131
+ \ifacl@anonymize
132
+ \bfseries Anonymous ACL submission
133
+ \else
134
+ \bfseries\@author
135
+ \fi
136
+ \end{tabular}}
137
+
138
+ % Mostly taken from deproc.
139
+ \AtBeginDocument{
140
+ \def\maketitle{\par
141
+ \begingroup
142
+ \def\thefootnote{\fnsymbol{footnote}}
143
+ \twocolumn[\@maketitle]
144
+ \@thanks
145
+ \endgroup
146
+ \setcounter{footnote}{0}
147
+ \let\maketitle\relax
148
+ \let\@maketitle\relax
149
+ \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
150
+ \def\@maketitle{\vbox to \titlebox{\hsize\textwidth
151
+ \linewidth\hsize \vskip 0.125in minus 0.125in \centering
152
+ {\Large\bfseries \@title \par} \vskip 0.2in plus 1fil minus 0.1in
153
+ {\def\and{\unskip\enspace{\rmfamily and}\enspace}%
154
+ \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
155
+ \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bfseries}%
156
+ \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
157
+ \vskip 0.25in plus 1fil minus 0.125in
158
+ \hbox to \linewidth\bgroup\large \hfil\hfil
159
+ \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bfseries}
160
+ \hbox to \linewidth\bgroup\large \hfil\hfil
161
+ \hbox to 0pt\bgroup\hss
162
+ \outauthor
163
+ \hss\egroup
164
+ \hfil\hfil\egroup}
165
+ \vskip 0.3in plus 2fil minus 0.1in
166
+ }}
167
+ }
168
+
169
+ % margins and font size for abstract
170
+ \renewenvironment{abstract}%
171
+ {\begin{center}\large\textbf{\abstractname}\end{center}%
172
+ \begin{list}{}%
173
+ {\setlength{\rightmargin}{0.6cm}%
174
+ \setlength{\leftmargin}{0.6cm}}%
175
+ \item[]\ignorespaces%
176
+ \@setsize\normalsize{12pt}\xpt\@xpt
177
+ }%
178
+ {\unskip\end{list}}
179
+
180
+ % Resizing figure and table captions - SL
181
+ % Support for interacting with the caption, subfigure, and subcaption packages - SL
182
+ \RequirePackage{caption}
183
+ \DeclareCaptionFont{10pt}{\fontsize{10pt}{12pt}\selectfont}
184
+ \captionsetup{font=10pt}
185
+
186
+ \RequirePackage{natbib}
187
+ % for citation commands in the .tex, authors can use:
188
+ % \citep, \citet, and \citeyearpar for compatibility with natbib, or
189
+ % \cite, \newcite, and \shortcite for compatibility with older ACL .sty files
190
+ \renewcommand\cite{\citep} % to get "(Author Year)" with natbib
191
+ \newcommand\shortcite{\citeyearpar}% to get "(Year)" with natbib
192
+ \newcommand\newcite{\citet} % to get "Author (Year)" with natbib
193
+ \newcommand{\citeposs}[1]{\citeauthor{#1}'s (\citeyear{#1})} % to get "Author's (Year)"
194
+
195
+ \bibliographystyle{acl_natbib}
196
+
197
+ % Bibliography
198
+
199
+ % Don't put a label in the bibliography at all. Just use the unlabeled format
200
+ % instead.
201
+ \def\thebibliography#1{\vskip\parskip%
202
+ \vskip\baselineskip%
203
+ \def\baselinestretch{1}%
204
+ \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
205
+ \vskip-\parskip%
206
+ \vskip-\baselineskip%
207
+ \section*{References\@mkboth
208
+ {References}{References}}\list
209
+ {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
210
+ \setlength{\itemindent}{-\parindent}}
211
+ \def\newblock{\hskip .11em plus .33em minus -.07em}
212
+ \sloppy\clubpenalty4000\widowpenalty4000
213
+ \sfcode`\.=1000\relax}
214
+ \let\endthebibliography=\endlist
215
+
216
+
217
+ % Allow for a bibliography of sources of attested examples
218
+ \def\thesourcebibliography#1{\vskip\parskip%
219
+ \vskip\baselineskip%
220
+ \def\baselinestretch{1}%
221
+ \ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
222
+ \vskip-\parskip%
223
+ \vskip-\baselineskip%
224
+ \section*{Sources of Attested Examples\@mkboth
225
+ {Sources of Attested Examples}{Sources of Attested Examples}}\list
226
+ {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
227
+ \setlength{\itemindent}{-\parindent}}
228
+ \def\newblock{\hskip .11em plus .33em minus -.07em}
229
+ \sloppy\clubpenalty4000\widowpenalty4000
230
+ \sfcode`\.=1000\relax}
231
+ \let\endthesourcebibliography=\endlist
232
+
233
+ % sections with less space
234
+ \def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
235
+ -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bfseries\raggedright}}
236
+ \def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
237
+ -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bfseries\raggedright}}
238
+ %% changed by KO to - values to get the initial parindent right
239
+ \def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex plus
240
+ -0.5ex minus -.2ex}{0.5ex plus .2ex}{\normalsize\bfseries\raggedright}}
241
+ \def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
242
+ 0.5ex minus .2ex}{-1em}{\normalsize\bfseries}}
243
+ \def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
244
+ 0.5ex minus .2ex}{-1em}{\normalsize\bfseries}}
245
+
246
+ % Footnotes
247
+ \footnotesep 6.65pt %
248
+ \skip\footins 9pt plus 4pt minus 2pt
249
+ \def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
250
+ \setcounter{footnote}{0}
251
+
252
+ % Lists and paragraphs
253
+ \parindent 1em
254
+ \topsep 4pt plus 1pt minus 2pt
255
+ \partopsep 1pt plus 0.5pt minus 0.5pt
256
+ \itemsep 2pt plus 1pt minus 0.5pt
257
+ \parsep 2pt plus 1pt minus 0.5pt
258
+
259
+ \leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
260
+ \leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
261
+ \labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
262
+
263
+ \def\@listi{\leftmargin\leftmargini}
264
+ \def\@listii{\leftmargin\leftmarginii
265
+ \labelwidth\leftmarginii\advance\labelwidth-\labelsep
266
+ \topsep 2pt plus 1pt minus 0.5pt
267
+ \parsep 1pt plus 0.5pt minus 0.5pt
268
+ \itemsep \parsep}
269
+ \def\@listiii{\leftmargin\leftmarginiii
270
+ \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
271
+ \topsep 1pt plus 0.5pt minus 0.5pt
272
+ \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
273
+ \itemsep \topsep}
274
+ \def\@listiv{\leftmargin\leftmarginiv
275
+ \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
276
+ \def\@listv{\leftmargin\leftmarginv
277
+ \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
278
+ \def\@listvi{\leftmargin\leftmarginvi
279
+ \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
280
+
281
+ \abovedisplayskip 7pt plus2pt minus5pt%
282
+ \belowdisplayskip \abovedisplayskip
283
+ \abovedisplayshortskip 0pt plus3pt%
284
+ \belowdisplayshortskip 4pt plus3pt minus3pt%
285
+
286
+ % Less leading in most fonts (due to the narrow columns)
287
+ % The choices were between 1-pt and 1.5-pt leading
288
+ \def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
289
+ \def\small{\@setsize\small{10pt}\ixpt\@ixpt}
290
+ \def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
291
+ \def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
292
+ \def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
293
+ \def\large{\@setsize\large{14pt}\xiipt\@xiipt}
294
+ \def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
295
+ \def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
296
+ \def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
297
+ \def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
298
+
299
+ % The hyperref manual (section 9) says hyperref should be loaded after natbib
300
+ \ifacl@hyperref
301
+ \PassOptionsToPackage{breaklinks}{hyperref}
302
+ \RequirePackage{hyperref}
303
+ % make links dark blue
304
+ \definecolor{darkblue}{rgb}{0, 0, 0.5}
305
+ \hypersetup{colorlinks=true, citecolor=darkblue, linkcolor=darkblue, urlcolor=darkblue}
306
+ \else
307
+ % This definition is used if the hyperref package is not loaded.
308
+ % It provides a backup, no-op definiton of \href.
309
+ % This is necessary because \href command is used in the acl_natbib.bst file.
310
+ \def\href#1#2{{#2}}
311
+ \usepackage{url}
312
+ \fi