NielsRogge / Transformers-Tutorials

This repository contains demos I made with the Transformers library by HuggingFace.
MIT License
9.21k stars 1.42k forks source link

question: tutorial for adding a transformer to library #63

Open nikky4D opened 2 years ago

nikky4D commented 2 years ago

HI

would you have a tutorial for how to add a transformer to the huggingface library? I would like to work with mdetr but I don't know how to get started working with such language+image models with huggingface

NielsRogge commented 2 years ago

Hi,

This is definitely on my list! Generally, I do the following:

The following links are very helpful:

AbdulDD commented 3 months ago

@NielsRogge Hi there, First, Thanks for really nice and easy tutorials on multiple transformer models. I have used your training file from transformers tutorials and trained DONUT on CORD. now I have printed encoder last hidden state but now want to print encoder layer 2 or 1. How can I do that?