Remove dependency

pull/86/head
Stanislas0 2 years ago
parent 616446dc72
commit f1afae7b26

@ -1,7 +1,6 @@
import copy import copy
from typing import * from typing import *
from codegeex.megatron.model import CodeGeeXModel
from codegeex.tokenizer import CodeGeeXTokenizer from codegeex.tokenizer import CodeGeeXTokenizer
from codegeex.torch.inference import get_token_stream from codegeex.torch.inference import get_token_stream
@ -14,7 +13,7 @@ def get_model(
def generate( def generate(
model: CodeGeeXModel, model,
tokenizer: CodeGeeXTokenizer, tokenizer: CodeGeeXTokenizer,
prompt: str, prompt: str,
out_seq_length: int, out_seq_length: int,

Loading…
Cancel
Save