Skip to content

Commit

Permalink
remove old collate fn
Browse files Browse the repository at this point in the history
  • Loading branch information
pppppM committed Apr 7, 2024
1 parent cf8e8af commit 0db53e1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 57 deletions.
3 changes: 1 addition & 2 deletions xtuner/dataset/hybrid/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from .collate import text_collate_fn
# Copyright (c) OpenMMLab. All rights reserved.
from .dataset import TextDataset
from .mappings import map_protocol, map_sequential, openai_to_raw_training

__all__ = [
'text_collate_fn',
'TextDataset',
'map_protocol',
'map_sequential',
Expand Down
54 changes: 0 additions & 54 deletions xtuner/dataset/hybrid/collate.py

This file was deleted.

1 change: 1 addition & 0 deletions xtuner/dataset/hybrid/dataset.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright (c) OpenMMLab. All rights reserved.
import functools
import json
import os
Expand Down
1 change: 1 addition & 0 deletions xtuner/model/text/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Copyright (c) OpenMMLab. All rights reserved.
from .finetune import TextFinetune

__all__ = ['TextFinetune']
1 change: 0 additions & 1 deletion xtuner/model/text/finetune.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Copyright (c) OpenMMLab. All rights reserved.

from collections import OrderedDict
from typing import Dict, List, Optional, Union

Expand Down

0 comments on commit 0db53e1

Please sign in to comment.