I have an AllenNLP model with all of its trainable parameters in a
PretrainedTransformerEmbedder. I start with a pretrained model (RoBERTa-base or DistilRoberta-base) from HuggingFace Transformers and extend its pretraining with a combination of a MLM loss and a contrastive loss I am working on.
Once the model is serialized (after running the
allenlp train command), is there a way to upload its weights to https://huggingface.co/models so that others can use it easily?