Skip to content

Commit 0db53e1

Browse files
committed
remove old collate fn
1 parent cf8e8af commit 0db53e1

File tree

5 files changed

+3
-57
lines changed

5 files changed

+3
-57
lines changed

xtuner/dataset/hybrid/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
from .collate import text_collate_fn
1+
# Copyright (c) OpenMMLab. All rights reserved.
22
from .dataset import TextDataset
33
from .mappings import map_protocol, map_sequential, openai_to_raw_training
44

55
__all__ = [
6-
'text_collate_fn',
76
'TextDataset',
87
'map_protocol',
98
'map_sequential',

xtuner/dataset/hybrid/collate.py

Lines changed: 0 additions & 54 deletions
This file was deleted.

xtuner/dataset/hybrid/dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
import functools
23
import json
34
import os

xtuner/model/text/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) OpenMMLab. All rights reserved.
12
from .finetune import TextFinetune
23

34
__all__ = ['TextFinetune']

xtuner/model/text/finetune.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Copyright (c) OpenMMLab. All rights reserved.
2-
32
from collections import OrderedDict
43
from typing import Dict, List, Optional, Union
54

0 commit comments

Comments
 (0)