File size: 668 Bytes
b22e8ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Trained Models

Place model folders here, one directory per model. You can populate this directory via the CLI:
```
mini-transformer-fetch AlaBoussoffara/transformer_test   # tiny demo
mini-transformer-fetch AlaBoussoffara/transformer_small  # larger example
```
or copy your own exported checkpoints using the layout below:

```
trained_models/
  my-model/
    configs/
      config_inference.yaml
    checkpoints/
      best.pt
    tokenizer/
      tokenizer.json
```

The CLI (`mini-transformer-infer`) and apps will look for `configs/config_inference.yaml` inside each folder. Relative paths in that config should point to files inside the same model directory.