diff --git a/modelscope/hub/file_download.py b/modelscope/hub/file_download.py index 7a731b79..380d2432 100644 --- a/modelscope/hub/file_download.py +++ b/modelscope/hub/file_download.py @@ -160,7 +160,7 @@ def model_file_download( def get_file_download_url(model_id: str, file_path: str, revision: str): """Format file download url according to `model_id`, `revision` and `file_path`. e.g., Given `model_id=john/bert`, `revision=master`, `file_path=README.md`, - the resulted download url is: https://modelscope.co/api/v1/models/john/bert/repo?Revision=master&FilePath=README.md + the resulted download url is: https://modelscope.cn/api/v1/models/john/bert/repo?Revision=master&FilePath=README.md Args: model_id (str): The model_id. diff --git a/modelscope/models/nlp/dgds/backbone.py b/modelscope/models/nlp/dgds/backbone.py index a4f9ef42..17e3c574 100644 --- a/modelscope/models/nlp/dgds/backbone.py +++ b/modelscope/models/nlp/dgds/backbone.py @@ -13,7 +13,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""PyTorch BERT model.""" from __future__ import absolute_import, division, print_function import os.path