Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chapter: licences #29

Merged
merged 11 commits into from
Sep 6, 2023
Merged
16 changes: 14 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,17 @@ html:
theme: preferred-color-scheme
parse:
myst_substitutions:
repo_url: https://github.com/premAI-io/state-of-open-source-ai
baseurl: http://localhost:8000
# hack to get utteranc.es to render (needs a `div.section` element)
comments: <div class="section"></div>
comments: |
```{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_theme_options.repository_url, env.docname)
}}!
```
<div class="section"></div>
myst_enable_extensions: # https://myst-parser.readthedocs.io/en/latest/using/syntax-optional.html
# needs myst-parser>=0.19 <- https://github.com/executablebooks/MyST-NB/issues/530
#- attrs_block
Expand All @@ -49,13 +56,18 @@ sphinx:
- http://localhost:8000
- https://github.com/imaurer/awesome-decentralized-llm#.*
- https://gist.github.com/veekaybee/be375ab33085102f9027853128dc5f0e#.*
- https://github.com/BlinkDL/RWKV-LM#.*
- https://www.nytimes.com/2016/04/19/technology/google-books-case.html
- https://doi.org/10.2307/2214413
- https://github.com/premAI-io/state-of-open-source-ai # TODO: remove
- https://contrib.rocks # TODO: remove
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
bibtex_bibfiles: [references.bib] # citations
latex: # for PDF builds
latex_documents:
Expand Down
43 changes: 36 additions & 7 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ Chapter | Examples

## Contributing

We understand that the current open source ecosystem is moving at light-speed. This source of this guide is available on GitHub at {{ repo_url }}. Please do [create issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-an-issue) or [open pull requests](https://docs.github.com/en/get-started/quickstart/contributing-to-projects) with any feedback or contributions you may have.
We understand that the current open source ecosystem is moving at light-speed. This source of this guide is available on GitHub at {{ env.config.html_theme_options.repository_url }}. Please do [create issues](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-an-issue) or [open pull requests](https://docs.github.com/en/get-started/quickstart/contributing-to-projects) with any feedback or contributions you may have.

### Editing the Book

- Using [GitHub Codespaces](https://codespaces.new/premAI-io/state-of-open-source-ai), you can edit code & preview the site in your browser without installing anything.
- Alternatively, to run locally, open {{ '[this repository](' + repo_url + ')' }} in a [Dev Container](https://containers.dev) (most likely [using VSCode](https://code.visualstudio.com/docs/devcontainers/containers#_installation)).
- Alternatively, to run locally, open {{ '[this repository]({})'.format(env.config.html_theme_options.repository_url) }} in a [Dev Container](https://containers.dev) (most likely [using VSCode](https://code.visualstudio.com/docs/devcontainers/containers#_installation)).
- Or instead, manually set up your own Python environment:

```sh
Expand Down Expand Up @@ -109,10 +109,16 @@ Don't worry about making it perfect, it's fine to open a (`draft <https://docs.g

### Contributors

{{ '[![](https://contrib.rocks/image?repo=' + '/'.join(repo_url.split('/')[-2:]) + ')](' + repo_url + '/graphs/contributors)' }}
{{ '[![](https://contrib.rocks/image?repo={})]({}/graphs/contributors)'.format(
'/'.join(env.config.html_theme_options.repository_url.split('/')[-2:]),
env.config.html_theme_options.repository_url) }}

## Conclusion

> All models are wrong, but some are useful {cite}`box-models`.

% TODO: rewrite

Open Source AI represents the future of privacy and ownership of data. On the other hand, in order to make this happen a lot of innovation should come into place. In the last year, already the open-source community demonstrated how motivated they are in order to deliver quality models to the hands of consumers creating already few big innovations in different AI fields. At the same time, this is just the beginning. Many improvements in multiple directions must be made in order to compare the results with centralized solutions.

At Prem we are on a journey to make this possible, with a focus on developer experience and deployment for any sort of developers, from Web Developers with zero knowledge about AI to affirmed Data Scientist who wants to quickly deploy and try these new models and technologies in their existing infra without compromising privacy.
Expand All @@ -130,15 +136,38 @@ At Prem we are on a journey to make this possible, with a focus on developer exp
%TODO: define all these & use them where appropriate

```{glossary}
:sorted:
Copyleft
A type of [open licence](open-licences) which insists that derivatives of the IP must have the same licence. Also called "protective" or "reciprocal" {cite}`wiki-copyleft`.

Fair Dealing
A doctrine in UK & commonwealth law permitting use of {term}`IP` without prior permission under certain conditions (typically research, criticism, reporting, or satire) {cite}`wiki-fair-dealing`. See also {term}`fair use`.

Fair Use
A doctrine in US law permitting use of {term}`IP` without prior permission (regardless of licence/copyright status) depending on 1) purpose of use, 2) nature of the IP, 3) amount of use, and 4) effect on value {cite}`wiki-fair-use`. See also {term}`fair dealing`.

GPU
[Graphics Processing Unit](https://en.wikipedia.org/wiki/Graphics_processing_unit): hardware originally designed to accelerate computer image processing, but now often repurposed for [embarrassingly parallel](https://en.wikipedia.org/wiki/Embarrassingly_parallel) computational tasks in machine learning.

IP
[Intellectual Property](https://en.wikipedia.org/wiki/Intellectual_property): intangible creations by humans (e.g. code, text, art), typically legally protected from use without permission of the author(s).

Open
Ambiguous term that could mean "open source" or "open licence". See [](open).

Permissive
A type of [open licence](open-licences) which allows reselling and closed-source modifications, and can often be used in larger projects alongside other licences. Usually, the only condition of use is citing the author by name.

Public Domain
"Open" {term}`IP` owned by nobody (often due to the author disclaiming all rights) and thus can be used by anyone without restrictions. Technically a disclaimer/non-licence. See [](open-licences).

SotA
State of the art: recent developments (under 1 year old).

Foundation model
Evaluation
Auto-regressive language model
Decoder-style transformer
Tokens
[GPU](https://en.wikipedia.org/wiki/Graphics_processing_unit)
Graphics Processing Unit: hardware originally designed to accelerate computer image processing, but now often repurposed for [embarrassingly parallel](https://en.wikipedia.org/wiki/Embarrassingly_parallel) computational tasks in machine learning.

A100, V100, H100
Vector
Embedding
Expand Down
Loading