Hugging Face Forums
Not sure how to compute BLEU through compute_metrics
Beginners
xiami
May 30, 2023, 6:25am
5
set predict_with_generate = True in training_args solved my problem
1 Like
Problem with custom metric for custom T5 model
show post in topic
Related topics
Topic
Replies
Views
Activity
Compute the BLEU using pretrained T5-small
Models
2
3923
April 13, 2022
Problems with trainer.compute_metrics
🤗Transformers
1
203
September 15, 2024
What exact inputs does bleu_metric.compute() require?
Beginners
5
3244
July 10, 2020
Problem with multiple GPUs
Beginners
0
71
December 13, 2024
Expected `tensors` and `new_tensors` to have the same type but found <class 'tuple'> and <class 'torch.Tensor'>
🤗Transformers
2
12
January 12, 2025