NielsRogge / Transformers-Tutorials

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

TypeError 'private' when initializing "trainer" for layoutxlmrelationextraction fr finetuned #258

Open Guillermo922 opened 1 year ago

Guillermo922 commented 1 year ago

@NielsRogge

I'm trying to follow the steps of this notebook: [https://github.com/NielsRogge/Transformers-Tutorials/blob/master/LayoutXLM/Fine_tune_LayoutXLM_on_XFUND_(relation_extraction).ipynb] with the XFUND-ES dataset (in spanish).

when initializing "Trainer" I've got this error: TypeError: init() got an unexpected keyword argument 'private' , is ther anyone that could help me?, thanks.

NeoKun004 commented 11 months ago

did you find a way around this ?