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

show evals in wandb weave #1522

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    8049ed6 View commit details
    Browse the repository at this point in the history
  2. Spring cleaning circular dependency, after

    ```
    
    <module 'evals.cli.oaieval' from '/Users/yo/code/oai-evals-2/evals/cli/oaieval.py'>
    [2024-04-19 14:16:44,914] [registry.py:271] Loading registry from /Users/yo/code/oai-evals-2/evals/registry/evals
    [2024-04-19 14:16:45,255] [registry.py:271] Loading registry from /Users/yo/.evals/evals
    [2024-04-19 14:16:45,256] [oaieval.py:215] Run started: 240419211645BXWDMDYQ
    using spec, found a class. eval_class=functools.partial(<class 'evals.elsuite.basic.match_with_solvers.MatchWithSolvers'>, samples_jsonl='theory_of_mind/tomi/test.jsonl', task_description='You will read a number of sentences describing a situation involving several people, as well as a question regarding the real or perceived location of an object. Your task is to answer the question based on the information in the sentences. Respond with the single word corresponding to the location.') eval_spec=EvalSpec(cls='evals.elsuite.basic.match_with_solvers:MatchWithSolvers', registry_path=PosixPath('/Users/yo/code/oai-evals-2/evals/registry'), args={'samples_jsonl': 'theory_of_mind/tomi/test.jsonl', 'task_description': 'You will read a number of sentences describing a situation involving several people, as well as a question regarding the real or perceived location of an object. Your task is to answer the question based on the information in the sentences. Respond with the single word corresponding to the location.'}, key='theory_of_mind.tomi', group='theory_of_mind')
    Running eval theory_of_mind.tomi
    [2024-04-19 14:16:45,262] [oaieval.py:276] Found 0/0 sampling events with usage data
    Traceback (most recent call last):
      File "/opt/homebrew/bin/oaieval", line 10, in <module>
        sys.exit(main())
      File "/Users/yo/code/oai-evals-2/evals/cli/oaieval.py", line 305, in main
        run(args)
      File "/Users/yo/code/oai-evals-2/evals/cli/oaieval.py", line 229, in run
        recorder.record_final_report(result)
      File "/Users/yo/code/oai-evals-2/evals/record.py", line 369, in record_final_report
        f.write((jsondumps({"final_report": final_report, "run_id": self.run_spec.run_id}) + "\n").encode("utf-8"))
      File "/Users/yo/code/oai-evals-2/evals/data.py", line 218, in jsondumps
        return json.dumps(o, cls=EnhancedJSONEncoder, ensure_ascii=ensure_ascii, **kwargs)
      File "/opt/homebrew/Cellar/python@3.10/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 238, in dumps
        **kw).encode(obj)
      File "/opt/homebrew/Cellar/python@3.10/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/encoder.py", line 199, in encode
        chunks = self.iterencode(o, _one_shot=True)
      File "/opt/homebrew/Cellar/python@3.10/3.10.12_1/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/encoder.py", line 257, in iterencode
        return _iterencode(o, 0)
    ValueError: Circular reference detected
    
    ```
    yogeshg committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    18bf1bf View commit details
    Browse the repository at this point in the history
  3. wip

    yogeshg committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    022815f View commit details
    Browse the repository at this point in the history
  4. demo candidate 1

    yogeshg committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    a7af0db View commit details
    Browse the repository at this point in the history
  5. update

    yogeshg committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    bbbf49a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5ec093b View commit details
    Browse the repository at this point in the history
  7. update

    yogeshg committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    ec636fc View commit details
    Browse the repository at this point in the history