This model is a fine-tuned version of
gpt2 on a custom dataset using the Digital Image Processing textbook (Gonzalez and Woods, 2018).
It achieves the following results on the evaluation set, which used the Fundamentals of Digital Image Processing textbook (Solomon and Breckon, 2010):
This model is trained using Masked Language Modelling.
This model is intended for use within the field of Computer Vision, as is trained using a Computer Vision textbook.
It is trained and validated using computer vision textbooks split into chunks of 512 tokens
1from transformers import pipeline
2
3question = "What is PCA?"
4question_answering = pipeline(model='psxjp5/mlm')
5output = question_answering(formatted_text)
6
7print(output[0]['generated_text'])