-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
Hi,
I want to access
CONFIG_MAP["log“]to record the number of steps took, but after I try both
import lade
...
lade.save_log()or
from lade.utils import save_log
...
save_log()It seems all says that "save_log" does not exist in lade. same happens for "log_history"
Also, I have tryed to print want comes with lade, and it seems they are both not there:
import lade
print(dir(lade))
import lade.utils
print(dir(lade.utils))And the output is:
['__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', 'augment_all', 'augment_generate', 'augment_llama', 'config_lade', 'decoding', 'models', 'utils']
['AutoConfig', 'AutoModelForCausalLM', 'AutoTokenizer', 'CONFIG_MAP', 'FUNC_MAP', 'GenerationMixin', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__spec__', 'augment_all', 'augment_generate', 'augment_llama', 'config_lade', 'get_hf_model', 'get_model', 'greedy_search_proxy', 'llama', 'modeling_llama', 'os', 'torch']Metadata
Metadata
Assignees
Labels
No labels