AoZhang commited on
Commit
b2dfe9c
1 Parent(s): 063c777

Create testllm.py

Browse files
Files changed (1) hide show
  1. testllm.py +13 -0
testllm.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from transformers import LlamaConfig, LlamaModel, LlamaForCausalLM, CLIPVisionModel, CLIPImageProcessor, \
2
+ CLIPVisionConfig
3
+
4
+
5
+ class TestForCausalLM(LlamaForCausalLM):
6
+ def __init__(self, config=None):
7
+ super(LlamaForCausalLM, self).__init__(config)
8
+
9
+
10
+ def forward(
11
+ self,
12
+ ):
13
+ print("remote running success")