格式
]
mindspore-txt2mindrecord
]
from pcl_pangu.context import set_context
from pcl_pangu.dataset import txt2mindrecord
set_context(backend="mindspore")
txt2mindrecord(input_glob='YOUR_DATASET_TXT_DIR/*', output_prefix='Your_Saving_DIR/mindrecord', vocab_file='vocab_4w')
pytorch-txt2bin
]
from pcl_pangu.context import set_context
from pcl_pangu.dataset import txt2bin
set_context(backend="pytorch")
txt2bin(input_glob='YOUR_DATASET_TXT_DIR/*', output_prefix='Your_Saving_DIR/text_document')
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》