-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy path_config.yml
186 lines (170 loc) · 6.78 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# Book settings (https://jupyterbook.org/customize/config.html)
title: State of Open Source AI Book
author: Prem
copyright: CC-BY-4.0 (text) & Apache-2.0 (code)
logo: https://static.premai.io/logo.png
repository:
url: https://github.com/premAI-io/state-of-open-source-ai
branch: main
only_build_toc_files: true
exclude_patterns: [.github/*]
html:
# No "baseurl" here to avoid conflicts with the theme
favicon: assets/favicon.ico
use_edit_page_button: true
use_repository_button: true
comments:
utterances:
issue-term: pathname
label: question
repo: premAI-io/state-of-open-source-ai
theme: preferred-color-scheme
parse:
myst_substitutions:
baseurl: http://localhost:8000
doi: 10.5281/zenodo.10023181
wip_chapter: |
This chapter is still being written & reviewed. Please do post links & discussion in the {{
'[<i class="fas fa-pencil-alt"></i> comments]({}-comments)'.format(env.docname) }} below, or {{
'[<i class="fab fa-github"></i> open a pull request]({}/edit/main/{}.md)'.format(
env.config.html_context.book_baseurl, env.docname)
}}!
table_feedback: |
```{admonition} Feedback
:class: attention
Is the table above outdated or missing an important model? Let us know in the {{
'[<i class="fas fa-pencil-alt"></i> comments]({}-comments)'.format(env.docname) }} below, or {{
'[<i class="fab fa-github"></i> open a pull request]({}/edit/main/{}.md)'.format(
env.config.html_context.book_baseurl, env.docname)
}}!
```
comments: |
{{ '({}-comments)='.format(env.docname) }}
```{admonition} Feedback
:class: attention
Missing something important? Let us know in the comments below, or {{
'[<i class="fab fa-github"></i> open a pull request]({}/edit/main/{}.md)'.format(
env.config.html_context.book_baseurl, env.docname)
}}!
```
% hack to get utteranc.es to render (needs a `div.section` element)
<div class="section"></div>
{{ '```{committers} ' + env.docname + '.md\n```' }}
<div id="email-modal" class="modal">
<iframe name="ghost-result" style="display: none;"></iframe>
<form class="modal-content" id="email-form" novalidate="">
<img src="https://static.premai.io/book/book-cover-2.jpg" alt="book cover" />
<div class="modal-text">
<h1>Enter your email to access this book for free</h1>
<div>
<p>
We’ll send you updates whenever we make major changes<br />
(no spam nor giving your email to anyone else).
</p>
<div class="input-container">
<input type="email" id="email-input" name="email" placeholder="Enter your email..." />
<button type="submit" id="email-submit" class="button">Subscribe</button>
</div>
</div>
<div>
<p>
This book is open source; you can also read & contribute at<br />
<a href="https://github.com/premAI-io/state-of-open-source-ai" target="_blank">
<i class="fa-brands fa-github"></i> premAI-io/state-of-open-source-ai
</a>.
</p>
<span class="email-error"></span>
</div>
</div>
</form>
</div>
myst_enable_extensions:
- deflist
- dollarmath
- html_admonition
- linkify
- replacements
- smartquotes
- substitution
- tasklist
sphinx:
extra_extensions:
- sphinx_last_updated_by_git
- sphinx_subfigure
local_extensions:
badges: .
committers: .
bibliography: .
prem_theme: .
recursive_update: true
config:
# Ensure Sphinx sees _templates/page.html
templates_path: ["_templates"]
# Use your custom theme
html_theme: prem_theme
# Put your custom base URL in html_context to avoid "unsupported theme option" warnings
html_context:
book_baseurl: https://book.premai.io/state-of-open-source-ai
myst_heading_anchors: 4
html_js_files:
- [
https://plausible.io/js/script.js,
{ defer: defer, data-domain: book.premai.io },
]
linkcheck_ignore:
- http://localhost:8000
- https://github.com/premAI-io/state-of-open-source-ai/edit/main/.*.md
- https://github.com/\w+/\w+/blob/\w+/.*#L\d+(-L\d+)?
- https://github.com/premAI-io/prem-app#.*
- https://github.com/BlinkDL/RWKV-LM#.*
- https://github.com/CompVis/stable-diffusion/blob/main/Stable_Diffusion_v1_Model_Card.md#.*
- https://github.com/ggerganov/ggml#.*
- https://github.com/huggingface/optimum#.*
- https://github.com/imaurer/awesome-decentralized-llm#.*
- https://github.com/kingoflolz/mesh-transformer-jax#.*
- https://github.com/lm-sys/FastChat.*#.*
- https://github.com/mistralai/mistral-src#.*
- https://github.com/onnx/onnx-tensorrt/blob/main/docs/operators.md#.*
- https://github.com/onnx/onnx-tensorrt#.*
- https://github.com/onnx/tutorials#.*
- https://gist.github.com/veekaybee/be375ab33085102f9027853128dc5f0e#.*
- https://www.nytimes.com/2016/04/19/technology/google-books-case.html
- https://doi.org/10.2307/2214413
- https://direct.mit.edu/daed/article/151/2/127/110621/Human-Language-Understanding-amp-Reasoning
- https://numfocus.org
- https://chat.openai.com
- https://falconllm.tii.ae
- https://www.midjourney.com
- https://accent.gmu.edu
- https://www.crcv.ucf.edu/data/UCF101.php
- https://www.pinecone.io/learn/series/faiss/locality-sensitive-hashing
- https://chat.lmsys.org
- https://platform.openai.com/docs/.*
- https://twitter.com/*
- https://www.reddit.com/*
linkcheck_allowed_redirects:
https://doi.org/.*/.*: https://.*
https://codespaces.new/.*: https://github.com/login.*
https://youtu.be/.*: https://www.youtube.com/watch\?v=.*&feature=youtu.be
https://.*.substack.com/i/\d+/.*: https://.*.substack.com/p/.*
https://docs.bentoml.org: https://docs.bentoml.com/en/latest
https://mozilla.org/MPL/2.0: https://www.mozilla.org/en-US/MPL/2.0
https://mxnet.apache.org: https://mxnet.apache.org/versions/[\d.]+/.*
https://gpt4all.io: https://gpt4all.io/index.html
html_last_updated_fmt: "%d %b %Y"
jblatex_show_tocs: false
bibtex_reference_style: label
latex_elements:
papersize: a4paper
extrapackages: \usepackage{pdfpages}
maketitle: \includepdf[pages=-]{cover.pdf}
tableofcontents: ""
preamble: |
\usepackage{etoolbox}
\AtBeginEnvironment{figure}{\pretocmd{\hyperlink}{\protect}{}{}}
bibtex_bibfiles: [references.bib]
latex:
latex_documents:
targetname: book.tex
execute:
execute_notebooks: force