h0 / README.md
dvitel's picture
Create README.md
406255b
|
raw
history blame
737 Bytes
metadata
language:
  - en
tags:
  - transformers
license: apache-2.0
datasets:
  - dvitel/hearthstone
metrics:
  - exact_match
  - bleu
  - dvitel/codebleu
  - chrf

Application of distilgpt2 to HearthStone card code synthesis. Dataset dvitel/hearthstone
Article under consideration: Abstract Syntax Networks for Code Generation and Semantic Parsing
We check if distilgpt2 could produce better results than ASNs from article. H0 model has minimal preprocessing of dataset where we normalize python code:

def normalize(line:str):
    return line.strip().replace("§", "\n").replace("    ", "\t").replace("\\ ", "").replace("\n\n", "\n")