feat(data/utils.py): add new dataset type code for streaming dataset (#225)

pull/227/head^2
huangting4201 2023-08-24 13:46:18 +08:00 committed by GitHub
parent 94b2aa28fc
commit fd28bcab58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import torch
from internlm.core.context import global_context as gpc
DATASET_TYPE_IDS_MAP = {"en": 0, "cn": 1}
DATASET_TYPE_IDS_MAP = {"en": 0, "cn": 1, "code": 2}
def get_dataset_type_id(path):