File size: 756 Bytes
5df2c77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# okto_version: "1.2"
PROJECT "test_t5_custom_fields"
DESCRIPTION "Exemplo usando campos customizados no dataset (input_field e output_field)"

ENV {

    accelerator: "gpu"

    min_memory: "4GB"

    precision: "fp16"

    backend: "oktoseek"

    install_missing: true
}

DATASET {

    train: "dataset/train.jsonl"

    validation: "dataset/val.jsonl"

    format: "jsonl"

    type: "chat"
    # Campos customizados: define quais colunas usar do dataset

    input_field: "input"

    output_field: "target"
}

MODEL {

    base: "t5-small"

    device: "auto"
}

TRAIN {

    epochs: 3

    batch_size: 8

    learning_rate: 0.0001

    device: "auto"
}

EXPORT {

    format: ["okm", "safetensors"]

    path: "export/"
}