From dfe57f9bc9a79075c4ec4aca69752d2592e26b8b Mon Sep 17 00:00:00 2001 From: tastelikefeet <58414341+tastelikefeet@users.noreply.github.com> Date: Fri, 23 Feb 2024 14:29:16 +0800 Subject: [PATCH] fix link (#774) --- CODE_OF_CONDUCT.md | 2 +- modelscope/models/nlp/llama/__init__.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) 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