mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
Make change in a code file
This commit is contained in:
@@ -9,7 +9,7 @@ import tiktoken
|
||||
|
||||
|
||||
def import_definitions_from_notebook(fullname, names):
|
||||
"""Loads function definitions from a Jupyter notebook file into a module."""
|
||||
"""Loads function definitions from a Jupyter notebook file into a module"""
|
||||
path = os.path.join(os.path.dirname(__file__), fullname + ".ipynb")
|
||||
path = os.path.normpath(path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user