NielsRogge / Transformers-Tutorials

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

Fine-tuning BERT #424

Open saakolch opened 6 months ago

saakolch commented 6 months ago

Hi there! I really didn't get why there is labels_batch with fancy code if we can just write ={} - the empty dictionary and everything will be fine image

The above emphasized piece of code is the same as:

image