What is mean 'TypeError: __init__() got an unexpected keyword argument 'private' '?
i can’t use model because of this errori can’t found any this case. please let me know!
2023-04-24T06:20:58Z
I am also facing the same issue.Can some one help me here.Below are the detailsI am running below code from NLP with transformers book Chapter-8distilbert_trainer = DistillationTrainer(model_init=student_init,teacher_model=teacher_model, args=student_training_args,train_dataset=clinc_enc[‘train’], eval_dataset=clinc_enc[‘validation’],compute_metrics=compute_metrics, tokenizer=student_tokenizer)distilbert_trainer.train()Above code is giving below errorTypeError                                 Traceback (most recent call last)in <cell line: 1>()----> 1 distilbert_trainer = DistillationTrainer(model_init=student_init,2     teacher_model=teacher_model, args=student_training_args,3     train_dataset=clinc_enc[‘train’], eval_dataset=clinc_enc[‘validation’],4     compute_metrics=compute_metrics, tokenizer=student_tokenizer)53 frames/usr/local/lib/python3.9/dist-packages/huggingface_hub/utils/_validators.py in _inner_fn(*args, **kwargs)118             kwargs = smoothly_deprecate_use_auth_token(fn_name=fn.name, has_token=has_token, kwargs=kwargs)119→ 120         return fn(*args, **kwargs)121122     return _inner_fn  # type: ignoreTypeError:init() got an unexpected keyword argument ‘private’
2023-05-07T19:42:05Z
Same issue as above… I thought it was my HH token but I changed it three times and still get the same issue?Does it have to do with GitHub provisions?