mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
committed by
GitHub
parent
7757c3d308
commit
c21bfe4a23
@@ -7,10 +7,12 @@ import tiktoken
|
||||
import torch
|
||||
import chainlit
|
||||
|
||||
from previous_chapters import (
|
||||
# For llms_from_scratch installation instructions, see:
|
||||
# https://github.com/rasbt/LLMs-from-scratch/tree/main/pkg
|
||||
from llms_from_scratch.ch04 import GPTModel
|
||||
from llms_from_scratch.ch05 import (
|
||||
download_and_load_gpt2,
|
||||
generate,
|
||||
GPTModel,
|
||||
load_weights_into_gpt,
|
||||
text_to_token_ids,
|
||||
token_ids_to_text,
|
||||
|
||||
Reference in New Issue
Block a user