We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4e57fa commit de444e4Copy full SHA for de444e4
test_llm_serialization.py
@@ -1,7 +1,15 @@
1
2
import tensorflow as tf
3
from transformers import AutoTokenizer
4
-from cerebrosllmutils.llm_utils import CerebrosNotGPT # Required for deserialization of custom model
+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)
13
14
def test_serialization(tokenizer_path: str, model_path: str):
15
try:
0 commit comments