Skip to content

Commit

Permalink
Remove dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislas0 committed Mar 7, 2023
1 parent 616446d commit f1afae7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions codegeex/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import copy

from typing import *
from codegeex.megatron.model import CodeGeeXModel
from codegeex.tokenizer import CodeGeeXTokenizer
from codegeex.torch.inference import get_token_stream

Expand All @@ -14,7 +13,7 @@ def get_model(


def generate(
model: CodeGeeXModel,
model,
tokenizer: CodeGeeXTokenizer,
prompt: str,
out_seq_length: int,
Expand Down

0 comments on commit f1afae7

Please sign in to comment.