Sorry for the really basic questions, but I am truly messing this up. The following code:
from transformers import GPT2LMHeadModel

class GPT2FinetunedWithNgrams(GPT2LMHeadModel):
    def __init__(self):
        super().from_pretrained('gpt2')

model = GPT2FinetunedWithNgrams()

gives me the following error:
Traceback (most recent call last):
  File "/home/aclifton/ric-2020/text_gen_w_transformers/finetune_gpt2.py", line 9, in <module>
    model = GPT2FinetunedWithNgrams()
  File "/home/aclifton/ric-2020/text_gen_w_transformers/finetune_gpt2.py", line 7, in __init__
    super().from_pretrained('gpt2')
  File "/home/aclifton/anaconda3/lib/python3.7/site-packages/transformers/modeling_utils.py", line 675, in from_pretrained
    model = cls(config, *model_args, **model_kwargs)
TypeError: __init__() takes 1 positional argument but 2 were given

I’m not sure what to do here. Any suggestions?