maximeseince commited on
Commit
5306ecb
·
verified ·
1 Parent(s): 8f6f2b4

rename from stip to stix

Browse files
Files changed (1) hide show
  1. README.md +6 -6
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  license: apache-2.0
3
- library_name: stip
4
  tags:
5
  - jax
6
  - flax
@@ -8,16 +8,16 @@ tags:
8
  - tutorial
9
  ---
10
 
11
- # STIP tutorial checkpoints
12
 
13
- Small checkpoints used by the [`stip`](https://github.com/instadeepai/stip) tutorial
14
  notebooks, so that a tutorial can demonstrate sampling without spending ten
15
  minutes training first. They are toy models (a two-layer MLP, 18k-25k parameters,
16
  trained for 3000 steps on a 4-component 2D Gaussian mixture) and have no
17
  use outside the notebooks.
18
 
19
  Checkpoints are [Orbax](https://orbax.readthedocs.io) directories written by
20
- `stip`'s own `TrainingIOHandler`, holding `params`, `opt_state`, `ema_params` and
21
  `extra` (EMA decay and step count) as separately-restorable items.
22
 
23
  ## `conditioning_and_guidance/`
@@ -36,10 +36,10 @@ different modalities:
36
  ```python
37
  from flax import nnx
38
  from huggingface_hub import snapshot_download
39
- from stip.training.checkpointer import Checkpointer, CheckpointerConfig
40
 
41
  path = snapshot_download(
42
- "InstaDeepAI/STIP-tutorials", allow_patterns="conditioning_and_guidance/joint_model/*"
43
  )
44
  gen_model = ... # build the same model structure as the notebook
45
  graphdef, params = nnx.split(gen_model, nnx.Param)
 
1
  ---
2
  license: apache-2.0
3
+ library_name: stix
4
  tags:
5
  - jax
6
  - flax
 
8
  - tutorial
9
  ---
10
 
11
+ # STIX tutorial checkpoints
12
 
13
+ Small checkpoints used by the [`stix`](https://github.com/instadeepai/stix) tutorial
14
  notebooks, so that a tutorial can demonstrate sampling without spending ten
15
  minutes training first. They are toy models (a two-layer MLP, 18k-25k parameters,
16
  trained for 3000 steps on a 4-component 2D Gaussian mixture) and have no
17
  use outside the notebooks.
18
 
19
  Checkpoints are [Orbax](https://orbax.readthedocs.io) directories written by
20
+ `stix`'s own `TrainingIOHandler`, holding `params`, `opt_state`, `ema_params` and
21
  `extra` (EMA decay and step count) as separately-restorable items.
22
 
23
  ## `conditioning_and_guidance/`
 
36
  ```python
37
  from flax import nnx
38
  from huggingface_hub import snapshot_download
39
+ from stix.training.checkpointer import Checkpointer, CheckpointerConfig
40
 
41
  path = snapshot_download(
42
+ "InstaDeepAI/STIX-tutorials", allow_patterns="conditioning_and_guidance/joint_model/*"
43
  )
44
  gen_model = ... # build the same model structure as the notebook
45
  graphdef, params = nnx.split(gen_model, nnx.Param)