File size: 1,932 Bytes
98a2cc8
 
64cbaf1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cce635f
98a2cc8
64cbaf1
 
 
 
 
 
5577ca1
 
 
 
 
 
64cbaf1
 
 
 
 
 
 
5577ca1
64cbaf1
 
 
5577ca1
64cbaf1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
license: apache-2.0
tags:
- generated_from_trainer
datasets:
- pszemraj/fleece2instructions
metrics:
- rouge
model-index:
- name: flan-t5-xl-instructiongen
  results:
  - task:
      name: Sequence-to-sequence Language Modeling
      type: text2text-generation
    dataset:
      name: pszemraj/fleece2instructions
      type: pszemraj/fleece2instructions
      split: validation
    metrics:
    - name: Rouge1
      type: rouge
      value: 65.3297
---


# flan-t5-xl-instructiongen

This model is a fine-tuned version of [google/flan-t5-xl](https://huggingface.co/google/flan-t5-xl) on the pszemraj/fleece2instructions dataset.
It achieves the following results on the evaluation set:
- Loss: 0.8314
- Rouge1: 65.3297
- Rouge2: 48.8475
- Rougel: 63.4183
- Rougelsum: 63.5458
- Gen Len: 13.7474

## Model description

More information needed

## Intended uses & limitations

Generate/recover **instructions** (assumes that there is just an instruction, not `inputs` as well) from arbitrary text.

## Training and evaluation data

Refer to `pszemraj/fleece2instructions`

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 6e-05
- train_batch_size: 4
- eval_batch_size: 2
- seed: 42
- distributed_type: multi-GPU
- gradient_accumulation_steps: 16
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.03
- num_epochs: 2.0

### Training results

| Training Loss | Epoch | Step | Validation Loss | Rouge1  | Rouge2  | Rougel  | Rougelsum | Gen Len |
|:-------------:|:-----:|:----:|:---------------:|:-------:|:-------:|:-------:|:---------:|:-------:|
| 0.9615        | 1.0   | 362  | 0.8353          | 63.9163 | 47.0456 | 61.9554 | 62.0549   | 13.3737 |
| 0.809         | 2.0   | 724  | 0.8251          | 64.5398 | 47.9107 | 62.5928 | 62.7278   | 13.4763 |