Skip to content

Commit de444e4

Browse files
Update test_llm_serialization.py
More debugging Keras ...
1 parent c4e57fa commit de444e4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

test_llm_serialization.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11

22
import tensorflow as tf
33
from transformers import AutoTokenizer
4-
from cerebrosllmutils.llm_utils import CerebrosNotGPT # Required for deserialization of custom model
4+
from cerebrosllmutils.llm_utils import (
5+
RotaryEmbedding,
6+
split_alternate,
7+
rotate_half,
8+
apply_rotary_pos_emb,
9+
InterleavedRoPE,
10+
Perplexity,
11+
CerebrosNotGPTConfig,
12+
CerebrosNotGPT)
513

614
def test_serialization(tokenizer_path: str, model_path: str):
715
try:

0 commit comments

Comments
 (0)