File size: 3,858 Bytes
ecde7c5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
  "results": {
    "polemo2_in": {
      "exact_match,score-first": 0.18,
      "exact_match_stderr,score-first": 0.038612291966536934,
      "alias": "polemo2_in"
    },
    "polemo2_out": {
      "exact_match,score-first": 0.32,
      "exact_match_stderr,score-first": 0.04688261722621504,
      "alias": "polemo2_out"
    }
  },
  "configs": {
    "polemo2_in": {
      "task": "polemo2_in",
      "group": [
        "polemo2"
      ],
      "dataset_path": "allegro/klej-polemo2-in",
      "training_split": "train",
      "validation_split": "validation",
      "test_split": "test",
      "doc_to_text": "Opinia: \"{{sentence}}\"\nOkreśl sentyment podanej opinii. Możliwe odpowiedzi:\nA - Neutralny\nB - Negatywny\nC - Pozytywny\nD - Niejednoznaczny\nPrawidłowa odpowiedź:",
      "doc_to_target": "{{{'__label__meta_zero': 'A', '__label__meta_minus_m': 'B', '__label__meta_plus_m': 'C', '__label__meta_amb': 'D'}.get(target)}}",
      "description": "",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "num_fewshot": 5,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          ".",
          ","
        ],
        "do_sample": false,
        "temperature": 0.0,
        "max_gen_toks": 50
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "score-first",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "(\\b[ABCD]\\b)"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": true,
      "doc_to_decontamination_query": "{{sentence}}",
      "metadata": {
        "version": 1.0
      }
    },
    "polemo2_out": {
      "task": "polemo2_out",
      "group": [
        "polemo2"
      ],
      "dataset_path": "allegro/klej-polemo2-out",
      "training_split": "train",
      "validation_split": "validation",
      "test_split": "test",
      "doc_to_text": "Opinia: \"{{sentence}}\"\nOkreśl sentyment podanej opinii. Możliwe odpowiedzi:\nA - Neutralny\nB - Negatywny\nC - Pozytywny\nD - Niejednoznaczny\nPrawidłowa odpowiedź:",
      "doc_to_target": "{{{'__label__meta_zero': 'A', '__label__meta_minus_m': 'B', '__label__meta_plus_m': 'C', '__label__meta_amb': 'D'}.get(target)}}",
      "description": "",
      "target_delimiter": " ",
      "fewshot_delimiter": "\n\n",
      "num_fewshot": 5,
      "metric_list": [
        {
          "metric": "exact_match",
          "aggregation": "mean",
          "higher_is_better": true
        }
      ],
      "output_type": "generate_until",
      "generation_kwargs": {
        "until": [
          ".",
          ","
        ],
        "do_sample": false,
        "temperature": 0.0,
        "max_gen_toks": 50
      },
      "repeats": 1,
      "filter_list": [
        {
          "name": "score-first",
          "filter": [
            {
              "function": "regex",
              "regex_pattern": "(\\b[ABCD]\\b)"
            },
            {
              "function": "take_first"
            }
          ]
        }
      ],
      "should_decontaminate": true,
      "doc_to_decontamination_query": "{{sentence}}",
      "metadata": {
        "version": 1.0
      }
    }
  },
  "versions": {
    "polemo2_in": 1.0,
    "polemo2_out": 1.0
  },
  "n-shot": {
    "polemo2_in": 5,
    "polemo2_out": 5
  },
  "config": {
    "model": "hf",
    "model_args": "pretrained=Azurro/APT3-1B-Base",
    "batch_size": "16",
    "batch_sizes": [],
    "device": "cuda:0",
    "use_cache": null,
    "limit": 100.0,
    "bootstrap_iters": 100000,
    "gen_kwargs": null
  },
  "git_hash": null
}