File size: 1,176 Bytes
b83b53b bce38b2 b83b53b bce38b2 0e3864e ae49488 0e3864e ae49488 c526598 |
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 |
---
license: mit
task_categories:
- text-generation
tags:
- code
configs:
- config_name: default
data_files:
- split: train
path: data/train-*
- split: val
path: data/val-*
dataset_info:
features:
- name: prompt
dtype: string
- name: output
sequence: string
splits:
- name: train
num_bytes: 1252371
num_examples: 6015
- name: val
num_bytes: 65996
num_examples: 317
download_size: 50645
dataset_size: 1318367
---
This is a dataset for CFG-based GflowNet development.
The ebnf style CFG for numbers are:
```
root ::= number_list
number_list ::= number (number_list)?
number ::= odd even | even odd
even ::= "0," | "2," | "4," | "6," | "8," | "10," | "12," | "14," | "16," | "18," | "20,"
odd ::= "1," | "3," | "5," | "7," | "9," | "11," | "13," | "15," | "17," | "19,"
```
However, this CFG cannot satisfy all the requirments. The CFG give a chunk of numbers where the transition between chunks always failed to satisfy our requirment:
**Total correct ≤ Total grammar Agreed**
~6332/100000 (how many correct numbers in CFG generated numbers)
So we need RL or Gflow to bridge the gap between CFG and the targets. |