diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index b23f3150..7ec11ef0 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -61,7 +61,7 @@ representative at an online or offline event. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at -feedback@huggingface.co. +contact@modelscope.cn. All complaints will be reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the diff --git a/modelscope/models/nlp/llama/__init__.py b/modelscope/models/nlp/llama/__init__.py index 848bad02..9de2d294 100644 --- a/modelscope/models/nlp/llama/__init__.py +++ b/modelscope/models/nlp/llama/__init__.py @@ -1,11 +1,8 @@ # Copyright (c) Alibaba, Inc. and its affiliates. from typing import TYPE_CHECKING -# from transformers.models.llama import (LlamaConfig, LlamaTokenizer, -# LlamaTokenizerFast) - from transformers import LlamaTokenizer -from transformers.models.llama import (LlamaConfig, LlamaTokenizerFast) +from transformers.models.llama import LlamaConfig, LlamaTokenizerFast from modelscope.utils.import_utils import LazyImportModule