pip install -U "huggingface_hub[cli]"
then log in with access token:
huggingface-cli login
1# https://github.com/huggingface/transformers/blob/831bc25d8fdb85768402f772cf65cc3d7872b211/src/transformers/generation/utils.py#L2724-L27252next_token_scores = logits_processor(input_ids, next_token_logits)3next_token_scores = logits_warper(input_ids, next_token_scores)