diff --git a/docs/lite/api/source_en/api_java/ascend_device_info.md b/docs/lite/api/source_en/api_java/ascend_device_info.md index a3de0ab70065e1ebdfac23ba5712635957ded47a..5837bb3340744390f2203e851384378c1790956f 100644 --- a/docs/lite/api/source_en/api_java/ascend_device_info.md +++ b/docs/lite/api/source_en/api_java/ascend_device_info.md @@ -12,35 +12,35 @@ The AscendDeviceInfo class is used to configure MindSpore Lite Ascend device opt | function | Supported At Cloud-side Inference | Supported At Device-side Inference | | ------------------------------------------ |--------|--------| -| [int getDeviceID)](#getDeviceID) | √ | ✕ | -| [int getDeviceType](#getDeviceType) | √ | ✕ | -| [String getProvider](#getProvider) | √ | ✕ | -| [void setProvider(String provider)](#setProvider) | √ | ✕ | -| [void setDeviceID(int deviceId)](#setDeviceID) | √ | ✕ | -| [int getRankID()](#getRankID) | √ | ✕ | -| [void setRankID(int rankId)](#setRankID) | √ | ✕ | -| [String getInsertOpConfigPath()](#getInsertOpConfigPath) | √ | ✕ | -| [void setInsertOpConfigPath(String insertOpConfigPath)](#setInsertOpConfigPath) | √ | ✕ | -| [String getInputFormat()](#getInputFormat) | √ | ✕ | -| [void setInputFormat(String inputFormat)](#setInputFormat) | √ | ✕ | -| [String getInputShape()](#getInputShape) | √ | ✕ | -| [void setInputShape(String inputShape)](#setInputShape) | √ | ✕ | -| [HashMap> getInputShapeMap()](#getInputShapeMap) | √ | ✕ | -| [void setInputShapeMap(HashMap> inputShapeMap)](#setInputShapeMap) | √ | ✕ | -| [ArrayList getDynamicBatchSize()](#getDynamicBatchSize) | √ | ✕ | -| [void setDynamicBatchSize(ArrayList dynamicBatchSize)](#setDynamicBatchSize) | √ | ✕ | -| [String getDynamicImageSize()](#getDynamicImageSize) | √ | ✕ | -| [void setDynamicImageSize(String dynamicImageSize)](#setDynamicImageSize) | √ | ✕ | -| [int getOutputType()](#getOutputType) | √ | ✕ | -| [void setOutputType(int outputType)](#setOutputType) | √ | ✕ | -| [String getPrecisionMode()](#getPrecisionMode) | √ | ✕ | -| [void setPrecisionMode(String precisionMode)](#setPrecisionMode) | √ | ✕ | -| [String getOpSelectImplMode()](#getOpSelectImplMode) | √ | ✕ | -| [void setOpSelectImplMode(String opSelectImplMode)](#setOpSelectImplMode) | √ | ✕ | -| [String getFusionSwitchConfigPath()](#getFusionSwitchConfigPath) | √ | ✕ | -| [void setFusionSwitchConfigPath(String fusionSwitchConfigPath)](#setFusionSwitchConfigPath) | √ | ✕ | -| [String getBufferOptimizeMode()](#getBufferOptimizeMode) | √ | ✕ | -| [void setBufferOptimizeMode(String bufferOptimizeMode)](#setBufferOptimizeMode) | √ | ✕ | +| [int getDeviceID)](#getdeviceid) | √ | ✕ | +| [int getDeviceType](#getdevicetype) | √ | ✕ | +| [String getProvider](#getprovider) | √ | ✕ | +| [void setProvider(String provider)](#setprovider) | √ | ✕ | +| [void setDeviceID(int deviceId)](#setdeviceid) | √ | ✕ | +| [int getRankID()](#getrankid) | √ | ✕ | +| [void setRankID(int rankId)](#setrankid) | √ | ✕ | +| [String getInsertOpConfigPath()](#getinsertopconfigpath) | √ | ✕ | +| [void setInsertOpConfigPath(String insertOpConfigPath)](#setinsertopconfigpath) | √ | ✕ | +| [String getInputFormat()](#getinputformat) | √ | ✕ | +| [void setInputFormat(String inputFormat)](#setinputformat) | √ | ✕ | +| [String getInputShape()](#getinputshape) | √ | ✕ | +| [void setInputShape(String inputShape)](#setinputshape) | √ | ✕ | +| [HashMap> getInputShapeMap()](#getinputshapemap) | √ | ✕ | +| [void setInputShapeMap(HashMap> inputShapeMap)](#setinputshapemap) | √ | ✕ | +| [ArrayList getDynamicBatchSize()](#getdynamicbatchsize) | √ | ✕ | +| [void setDynamicBatchSize(ArrayList dynamicBatchSize)](#setdynamicbatchsize) | √ | ✕ | +| [String getDynamicImageSize()](#getdynamicimagesize) | √ | ✕ | +| [void setDynamicImageSize(String dynamicImageSize)](#setdynamicimagesize) | √ | ✕ | +| [int getOutputType()](#getoutputtype) | √ | ✕ | +| [void setOutputType(int outputType)](#setoutputtype) | √ | ✕ | +| [String getPrecisionMode()](#getprecisionmode) | √ | ✕ | +| [void setPrecisionMode(String precisionMode)](#setprecisionmode) | √ | ✕ | +| [String getOpSelectImplMode()](#getopselectimplmode) | √ | ✕ | +| [void setOpSelectImplMode(String opSelectImplMode)](#setopselectimplmode) | √ | ✕ | +| [String getFusionSwitchConfigPath()](#getfusionswitchconfigpath) | √ | ✕ | +| [void setFusionSwitchConfigPath(String fusionSwitchConfigPath)](#setfusionswitchconfigpath) | √ | ✕ | +| [String getBufferOptimizeMode()](#getbufferoptimizemode) | √ | ✕ | +| [void setBufferOptimizeMode(String bufferOptimizeMode)](#setbufferoptimizemode) | √ | ✕ | ## getDeviceID diff --git a/docs/mindformers/docs/source_zh_cn/example/distilled/distilled.md b/docs/mindformers/docs/source_zh_cn/example/distilled/distilled.md index 75c050f0adef93b98ebc5c9a792f298f2a0c75d2..ee15486c2640be9d58395a63f61f47887ac19e35 100644 --- a/docs/mindformers/docs/source_zh_cn/example/distilled/distilled.md +++ b/docs/mindformers/docs/source_zh_cn/example/distilled/distilled.md @@ -41,7 +41,7 @@ mindformers 本案例提供三种数据集的准备方式: -- **从零开始生成数据集**:适合希望自定义数据集或深入了解数据生成流程的用户。包括从种子数据集生成CoT数据和拒绝采样。请从[1.3.1 从零开始生成数据集](#1-3-1-从零开始生成数据集)开始。 +- **从零开始生成数据集**:适合希望自定义数据集或深入了解数据生成流程的用户。包括从种子数据集生成CoT数据和拒绝采样。请从[1.3.1 从零开始生成数据集](#131-从零开始生成数据集)开始。 - **使用OpenR1-Math-220K数据集**: - **选项1: 使用原始数据离线处理**:适合需要自定义数据处理或学习处理流程的用户。包括预处理和Packing。请从[选项1: 使用原始数据离线处理](#选项-1-使用原始数据离线处理)开始。 @@ -231,7 +231,7 @@ python toolkit/data_preprocess/huggingface/datasets_preprocess.py \ ##### 选项 2: 使用完成转换的数据 -我们在[魔乐社区](https://modelers.cn/models/MindSpore-Lab/OpenR1-Qwen-7B/tree/main/dataset/packing)提供packing处理后可以直接用于模型训练的数据,格式为arrow。此时[#1.4 YAML配置](#1-4-yaml配置)中的`path`需要修改为下载后的数据集路径。 +我们在[魔乐社区](https://modelers.cn/models/MindSpore-Lab/OpenR1-Qwen-7B/tree/main/dataset/packing)提供packing处理后可以直接用于模型训练的数据,格式为arrow。此时[#1.4 YAML配置](#14-yaml配置)中的`path`需要修改为下载后的数据集路径。 ```yaml train_dataset: