File size: 726 Bytes
b9279f6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: "Model Training"
permalink: /docs/training
excerpt: "Instructions to reproduce the model training in the project"
---

You can add instructions here to teach you the model training in the project.

## Load data

Add instructions on how to ingest the data, e.g.

```python
import pandas as pd

df = pd.read_csv('project_data.csv')
# ...
```

## Load model

Add instructions on how to load your model, e.g.

```python
import transformers

model = transformers.AutoModel.from_pretrained(...)
# ...
```

## Training loop

Add instructions on how to write the training loop.

### Loss function

Specify here what loss function you might be using.

### Evaluation

Specify here how to evaluate after an epoch of training.