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

Add Refiners Theme and basic nav to documentation #170

Merged
merged 5 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/Contributing/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Contributing
Binary file added docs/assets/dropy_logo.png
limiteinductive marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/fluxion/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Fluxion
43 changes: 43 additions & 0 deletions docs/getting_started.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Getting Started

Refiners is a micro framework on top of PyTorch with first class citizen APIs for foundation model adaptation.


## Installation

Refiners requires Python 3.10 or later, its main dependency is PyTorch.

### with git

To get the latest version of the code, clone the repository:

```bash
git clone https://github.com/finegrain-ai/refiners.git
```

Then install the package using pip:

```bash
cd refiners
pip install .
```


### with pip

Refiners is available on PyPI and can be installed using pip:

```bash
pip install refiners
```

## Run foundational models and adapters

If you want to understand how to use Refiners with existing foundational models, please refer to the specific [Models](models/index.md) page.

- [Stable Diffusion](/models/stable_diffusion)
- [Segment Anything](/models/segment_anything)

## Write new foundational models and adapters

To understand how to write new adapters or models with Refiners, please have a look at the [Fluxion](fluxion/index.md) documentation.
limiteinductive marked this conversation as resolved.
Show resolved Hide resolved
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions docs/models/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Foundational Models
Empty file added docs/models/segment_anything.md
Empty file.
Empty file added docs/models/stable_diffusion.md
Empty file.
1 change: 1 addition & 0 deletions docs/training_utils/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Training Utils
50 changes: 48 additions & 2 deletions mkdocs.yml
deltheil marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,50 @@
site_name: Refiners

site_name: "Refiners Documentation"
limiteinductive marked this conversation as resolved.
Show resolved Hide resolved
theme:
favicon: assets/dropy_logo.png
name: material
palette:
primary: deep orange
accent: deep orange
features:
- navigation.tabs
- navigation.sections
- navigation.top
- navigation.tracking
- navigation.expand
- navigation.path
- toc.follow
- toc.integrate
- navigation.tabs.sticky
extra_css:
- stylesheets/extra.css
nav:
- Home:
- home/index.md
- home/adapters.md
limiteinductive marked this conversation as resolved.
Show resolved Hide resolved
- Getting started: getting_started.md
- Models:
- models/index.md
- models/stable_diffusion.md
- models/segment_anything.md
- Fluxion:
- fluxion/index.md
- Training utils:
- training_utils/index.md
- Contributing:
- contributing/index.md
repo_name: Refiners
repo_url: https://github.com/finegrain-ai/refiners
copyright: © 2023 Lagon Technologies
limiteinductive marked this conversation as resolved.
Show resolved Hide resolved
extra:
social:
- icon: fontawesome/brands/discord
link: https://discord.gg/mCmjNUVV7d
- icon: fontawesome/brands/github
link: https://github.com/finegrain-ai/refiners
- icon: fontawesome/brands/twitter
link: https://twitter.com/finegrain_ai
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/finegrain-ai/
markdown_extensions:
- toc:
permalink: true