ludwig-ai / ludwig

Low-code framework for building custom LLMs, neural networks, and other AI models
http://ludwig.ai
Apache License 2.0
11.22k stars 1.19k forks source link

[Maintenance] Fix deprecation warning for CharErrorRate #3804

Closed arnavgarg1 closed 12 months ago

arnavgarg1 commented 12 months ago

Fixes the following warning:

 FutureWarning: Importing `CharErrorRate` from `torchmetrics` was deprecated and will be removed in 2.0. Import `CharErrorRate` from `torchmetrics.text` instead.
github-actions[bot] commented 12 months ago

Unit Test Results

  4 files  ±0    4 suites  ±0   9m 57s :stopwatch: +26s 12 tests ±0    9 :heavy_check_mark: ±0    3 :zzz: ±0  0 :x: ±0  40 runs  ±0  28 :heavy_check_mark: ±0  12 :zzz: ±0  0 :x: ±0 

Results for commit 0ad97465. ± Comparison against base commit 0de337c4.