Skip to content

Commit

Permalink
Merge pull request #17 from premAI-io/framework-v1
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl authored Aug 22, 2023
2 parents 5577282 + 628c6b6 commit 1b56d5f
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 10 deletions.
20 changes: 20 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Review checklist

> Don't worry about satisfying all items, it's fine to open a (draft) PR.
- [ ] chapter content
+ [ ] only one top-level `# h1-Title`
+ [ ] summary (e.g. table or TL;DR overview), no need for an explicit `## Summary/Introduction` title or equivalent
+ [ ] main content focus: recent developments in open source AI
+ general context/background (brief)
+ current pros/cons
+ in-depth insights (not yet widely known)
+ [ ] likely `## Future` developments
+ [ ] end with `{{ comments }}`
- [ ] appropriate citations
+ [ ] BibTeX references
+ [ ] Glossary terms
+ [ ] cross-references (figures/chapters)
+ [ ] (if `new-chapter.md`), add `_toc.yml` entry & `index.md` table row
+ [ ] If CI URL checks have false-positives, append to `_config.yml:sphinx.config.linkcheck*`
- [ ] images & data not committed to this repo (e.g. use https://github.com/premAI-io/static.premai.io instead)
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read
pages: write
id-token: write
concurrency: {group: "pages", cancel-in-progress: true}
concurrency: {group: "${{ github.ref }}-pages", cancel-in-progress: true}
jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
title: State of Open Source AI Book
author: Prem AI
copyright: 2023 CC-BY-4.0 (text) & Apache-2.0 (code)
logo: assets/logo.png
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:
baseurl: http://localhost:8000
favicon: assets/favicon.ico
Expand Down Expand Up @@ -48,6 +49,7 @@ sphinx:
- https://github.com/imaurer/awesome-decentralized-llm#.*
- https://gist.github.com/veekaybee/be375ab33085102f9027853128dc5f0e#.*
- https://github.com/premAI-io/state-of-open-source-ai # TODO: remove
- https://contrib.rocks # TODO: remove
linkcheck_allowed_redirects:
https://codespaces.new/.*: https://github.com/login.*
https://youtu.be/.*: https://www.youtube.com/watch\?v=.*&feature=youtu.be
Expand Down
Binary file removed assets/logo.png
Binary file not shown.
35 changes: 27 additions & 8 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,16 @@ We understand that the current open source ecosystem is moving at light-speed. T
```
````

(index#formatting)=

### Formatting

````{note}
```{eval-rst}
Don't worry about making it perfect, it's fine to open a (`draft <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests>`_) PR and `allow edits from maintainers <https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork>`_ to fix it |:heart:|
```
````

- [Quickstart](https://jupyterbook.org/en/stable/reference/cheatsheet.html)
- [Full reference](https://jupyterbook.org/en/stable/content/myst.html)
- Create a new chapter:
Expand All @@ -77,17 +85,25 @@ We understand that the current open source ecosystem is moving at light-speed. T

```{figure-md} fig-ref
:class: margin-caption
![alt-text](assets/logo.png){width=200px align=left}
![alt-text](https://static.premai.io/logo.png){width=200px align=left}
This is a **figure caption** *in the margin*, vis [jupyterbook#markdown-figures](https://jupyterbook.org/en/stable/content/figures.html#markdown-figures)
```

- [inline ref](fig-ref)
- numbered ref: {numref}`fig-ref`
- custom ref: {numref}`Figure {number} with caption "{name}" <fig-ref>`
+ [inline ref](fig-ref)
+ numbered ref: {numref}`fig-ref`
+ custom ref: {numref}`Figure {number} with caption "{name}" <fig-ref>`
+ please use https://github.com/premAI-io/static.premai.io to host images & data

- [](glossary) term: {term}`GPU`
+ custom inline text: {term}`GPUs <GPU>`
- [BibTeX](https://jupyterbook.org/en/stable/tutorials/references.html#add-your-references) `references.bib` citation: {cite}`python`

- Glossary term: {term}`GPU`
- `references.bib` citation: {cite}`python`
% comment lines (not rendered) are prefixed with a "%"

### Contributors

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

## Conclusion

Expand All @@ -105,14 +121,17 @@ At Prem we are on a journey to make this possible, with a focus on developer exp

## Glossary

%TODO: define all these & use them where appropriate

```{glossary}
:sorted:
Foundation model
Evaluation
Auto-regressive language model
decoder-style transformer
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.
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
Expand Down
2 changes: 2 additions & 0 deletions references.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Couldn't decide which chapter(s) these links are related to. They're mostly abou
- "RetrievalQA with LLaMA 2 70b & Chroma DB" (nothing new, but this guy does a lot of experiments if you wanna follow him) https://youtu.be/93yueQQnqpM
- "[WiP] build MLOps solutions in Rust" https://github.com/nogibjj/rust-mlops-template

## BibTeX references (TODO: use this more -- see [guide](index#formatting))

```{bibliography}
:style: unsrt
```
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
jupyter-book
sphinxemoji
# TODO: remove after https://github.com/executablebooks/jupyter-book/pull/2048
docutils!=0.18.*,!=0.19.*,!=0.20.0

0 comments on commit 1b56d5f

Please sign in to comment.