Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Issues in 4) Evaluation Notebook - lighteval_evaluate_and_analyse_your_LLM #196

Open
dastaiger opened this issue Jan 25, 2025 · 0 comments

Comments

@dastaiger
Copy link

dastaiger commented Jan 25, 2025

There appears to be an issue in the 4) Evaluation Notebook (when executed in Google Colab)

Issue:
the 3rd Codeblock states:

from lighteval.logging.evaluation_tracker import EvaluationTracker
from lighteval.logging.hierarchical_logger import hlog_warn, htrack
from lighteval.models.model_config import create_model_config
from lighteval.pipeline import EnvConfig, ParallelismManager, Pipeline, PipelineParameters

This throws errors as

ModuleNotFoundError: No module named 'lighteval.logging.hierarchical_logger'

Analysis

from lighteval.logging.hierarchical_logger import hlog_warn, htrack
from lighteval.models.model_config import create_model_config
  • Both throw an error. All of these functions are never used in the anyhow Notebook.
  • To my knowledge these functions don't even exist in the lighteval lib (0.7 / main)

Proposed Action

Remove the 2 import statement in question.
Notebook runs fine afterwards

dastaiger added a commit to dastaiger/smol-course that referenced this issue Jan 25, 2025
@dastaiger dastaiger changed the title lighteval_evaluate_and_analyse_your_LLM Import Issues in 4) Evaluation Notebook - lighteval_evaluate_and_analyse_your_LLM Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant