HuggingFace's transformers has a lot of great models built in. We can make a generic interop to it.
I believe we want both a huggingface/ranker and huggingface/generator. We might need some special cases depending on which transformer, but as a first milestone I'd like to support a GPT-2 generator and Transformer-XL.
As a second milestone, we should a more generic interop utility.
Tests and coverage mandatory. Examples in the task docstring also.
HuggingFace's transformers has a lot of great models built in. We can make a generic interop to it.
I believe we want both a
huggingface/ranker
andhuggingface/generator
. We might need some special cases depending on which transformer, but as a first milestone I'd like to support a GPT-2 generator and Transformer-XL.As a second milestone, we should a more generic interop utility.
Tests and coverage mandatory. Examples in the task docstring also.