Junyang Lin

Results 173 comments of Junyang Lin

> Good morning! At first, thanks for providing us with your splendid works and explanation on OFA. > > Now I'm trying to use the code template at this [website](https://huggingface.co/OFA-Sys/OFA-base),...

Did you clone the latest code of the branch `feature/add_transformers`? Cuz in the new code we have added a directory called generate with sequence_generator inside.

Good suggestion! Thanks for helping us improve our repo. I'll update the information to make things clear!

Sorry for the problem pretty much. If you would like to directly import `generate`, you should `cd` to the directory of `modeling_ofa.py`. A better solution should be the previously mentioned...

> Hi @Sultanax, sure. I did two things: > > 1. Added an empty `__init__.py` file in `transformers/src/transformers/models/ofa/generate/__init__.py` > 2. Changed the import to be `from transformers.models.ofa.generate import sequence_generator` >...

Did you follow our requirements and install the fairseq that we provide in our repo?

See [this](https://github.com/OFA-Sys/OFA#image-captioning)

This is a next step to do for us, as the data for visual grounding only contain one target bounding box for one sample. I think what you want is...

Thanks for your report! There might be some problems inside the generator, and let us further check it out. What you mean is that the HF native generator works well...

Got you! We'll check it out and give you a feedback as soon as possible.