已保存的文件元数据(135 个文件)
历史来源元数据,不是文件的副本。校验和不能证明当前可用。
model-00033-of-00123.safetensors
fad7a65a490cf38021bc7dc3b36288237b2925602a17141ee37d07060016bb82
model-00066-of-00123.safetensors
ff54651b91cdcccd6f174f614f6d6dc31d55f2e7e48a3a8fb4dba0423cb1ce98
model-00099-of-00123.safetensors
802a65806f45cb109228269dfc0532fc71b3d07b61ffabfaed785f2933847377
model-00001-of-00123.safetensors
24117041d4e899e901c24e376c026a7e1666770f96a9850e201d83875462cce4
model-00002-of-00123.safetensors
ffa321ef8c1f5d9a30cc3190c614149deb9d0e76b3d15a237a4b52b9c451125c
model-00020-of-00123.safetensors
2044a7c2358c9bd80d933ce2825dab10cea4955ceda002abb473b433e77ac033
model-00022-of-00123.safetensors
05f572b8eb37b76e66b0a886e7cce4c0d1b2999c6acbb745af6c42467b6d213b
model-00024-of-00123.safetensors
7cc26117312da6a27f55b9eac65380a3aa2c18776366980de252601c7352f386
model-00027-of-00123.safetensors
8ebb01c5dfdaa4671cdd10203aa6ecef60c4b04cf9ec7bf66842751e376f2804
model-00029-of-00123.safetensors
e1a8adc07b80a9ead514a37152c9619ab70140bfb5acf51ebd4f6bc561e9eabc
model-00031-of-00123.safetensors
0a906d69dc07d4c35116a7e57d1d9cd9edba26f93fcb949e6662c20ab1144f26
model-00034-of-00123.safetensors
5cce2b009ebb52ccc33a77608babc6ed15cb3fa770f8816e19eb557bc5d762f5
model-00036-of-00123.safetensors
4ea366adbf024e9b1123916b42493f825d6b9eaf6b911037eddf7d99c3a5114a
model-00039-of-00123.safetensors
a9bb8bd2dd471f45915e1a5f1b016293a666befbbf015422ed3bf5fc58d20c2d
model-00041-of-00123.safetensors
45e0d5cf3e21eeb921acfd6db400a84001f6de9275fa921265051e8492234101
model-00043-of-00123.safetensors
4955f6c0f66003249b09d3fa1ffe0dbb6713574bf31f6f7dac84a9cafec2999f
model-00046-of-00123.safetensors
a03ee66acae0a59020a506a915ae8fa66fb225d2a954100932245a76bdaac203
model-00048-of-00123.safetensors
f11d219eb52e5456c8c8bb33ed80834059728a9bd9850facf6fc4f10db5fa32d
model-00050-of-00123.safetensors
c2ba6d5ab2bb6b453b1655c9cd87a004100b6ba922153c42e4bf2a28822c5996
model-00053-of-00123.safetensors
94d31a15287afe9a6f4ceefe2725177e270d4f357cc0984794db05a3b485b7c1
model-00055-of-00123.safetensors
589a7d987b33f261ae0e0814ee8f881d1419786033c4578437af46f2c401a178
model-00057-of-00123.safetensors
f83e852446dcd7a3d65c474d13bb31824c7b68dea5fbf57b04554ab04a9edeb5
model-00060-of-00123.safetensors
271371a36143b38f37762e0595f45adb850594a2cd268c3816cc951227e2ef7a
model-00062-of-00123.safetensors
3890b6fbad458d6cb8cd28c363cab7a6cebd721a71f65028d634eeeeaa4bb815
model-00064-of-00123.safetensors
38e9ce32a41e99a569f7ed5d9ac6cd00554ba66a771ae5ce8a58cf5430d45b29
model-00067-of-00123.safetensors
f8b027977f0e69b759c7d88294a7f461230599e877778b110bea3af67cf7c9f5
model-00069-of-00123.safetensors
ccf0ac0683a0d160670d36a80d7cd279f676be505140888fef41f79038dda9e6
model-00072-of-00123.safetensors
d8c77893010932c4e8c9ccc7e7908640e00322c64eb2a7da499c8f44a5cfc541
model-00074-of-00123.safetensors
f120734403c14188f5764f4c82d95740e9b77634dfa9790de4bf81e1e37659e7
model-00076-of-00123.safetensors
895a739ca27d3b73b4f10eae97dc13d9fa85a329d4bb544e5e57b5fdb523839a
model-00079-of-00123.safetensors
f60757748c7c43acc3cba5545fdae76d10c18664c08e11a9c00a3bc2367280b8
model-00081-of-00123.safetensors
1ac2bd46b28e7835096beb0a6c764820acbc256f4f3069e6cf305419c1bad248
model-00083-of-00123.safetensors
47930804ff06002b12e91f769441d5439c39ff43b56eaf3baa66d2f16e344140
model-00086-of-00123.safetensors
27bfe3ef535f7df70f94bf56ec74db1ab08f9a56b1369a3f43bb4a80e32cd684
model-00088-of-00123.safetensors
e13a65aecad117e59d6c9997208e7bd2657000e52137924df0f50c393fa332b6
model-00090-of-00123.safetensors
3b1a0283d1c84fd455673fcac2038c8c102ce1fa3462396db75384c00a371ddb
model-00093-of-00123.safetensors
e903a008f5e9363e57b54c256dea7baa7b2b4d185d9f2b6e34b7e0ef9cc85b3d
model-00095-of-00123.safetensors
1646d51c2947205cb20b598ddbde4091805d6e5e57fa432d609ce35f09ba02d9
model-00097-of-00123.safetensors
6a78a0d5a3dfed1799e5ba35088675074e06b59c0a819e5a0aeff57d06f6de7b
model-00100-of-00123.safetensors
6afd7735bcf8a524737fe319cb2cee9e69d3823dacb6c6ccba33a22ba80f1f91
model-00102-of-00123.safetensors
1485692fe724c7906ba66b8f09128103b34c876227d29138d744fe136711c549
model-00105-of-00123.safetensors
02f386eeb62e006c32ecb4bf6a8dcd13a13426d596d809417e5b12ea10f1aa5d
model-00107-of-00123.safetensors
09a858807cc18806eaf1dd2bfb61d132b81dba23791c8ceb1877bc8b9ffb58a7
model-00109-of-00123.safetensors
96be8f87bb33d24faaef748f97c391e28e157987e6daafac38c5f82c9532420f
model-00112-of-00123.safetensors
db9a8e828ea46632b9e690c274dfbbbea65bd92103f592be0b6118fabf5ba505
model-00114-of-00123.safetensors
6d839bd0da20bb0724e4f843e307b56a3fa07c1e78a7d5302186c4ffaae5f308
model-00116-of-00123.safetensors
bec23fb7f94cf9d87e6d013f19f75989a8361c0190f25bfab0b56d3f7cd81792
model-00119-of-00123.safetensors
b4ad6977d12156ff280b602d727c30e7b3fa4f6e446f740c5de2be08722f1f9a
model-00121-of-00123.safetensors
3e6c7a87e091f64a1bce309dc272f8b8cdd0037cc7956aa209945437d0c2b972
model-00038-of-00123.safetensors
45acf7b5a5a0dd062c22a9f8755e36659fbb1e69f697d3735867bd0532e41196
model-00045-of-00123.safetensors
cb8bf6d8ab6f7fbbda07cb6f3612d036ec47fe431e80231af9b7fb4674963a1d
model-00071-of-00123.safetensors
db69dc5d4e0a0cda0cf017fdf99bafd652bbf1ba7cfa64ea33a86be8bf4e35ca
model-00078-of-00123.safetensors
4f6846202a303fb4d1293427d4203417fb4961bbe189171fe3863b2e1231cdf6
model-00104-of-00123.safetensors
ac5c04b1251af2e43687b205951f7aba6cf1ae1f09665db6c96adbcf66df1152
model-00111-of-00123.safetensors
5c922dcd716c1df309343ed0ce902cd3af0f5d99b8bd8e926ce51124f0f1ede8
model-00019-of-00123.safetensors
0eb99e05db48ceacd66276edc2ed1154c2eef6f8b2e7142c94a8cbd8598b4743
model-00026-of-00123.safetensors
558ca54119524a3b80e40c2ca69a9bb884537057148bf88565694b1facc4963b
model-00052-of-00123.safetensors
2d8a4e0a158ea6e7cfb2c1fe2790e3143f8a310abae920c6179d7e0975a703cc
model-00059-of-00123.safetensors
f59ef4382f25f39dd86927b10d7f5849d313689bd7e80d4383ee1711d14e87db
model-00085-of-00123.safetensors
712d7dbe2b637d5730edba717f1902469cd47b0be7022a2a57197911a38b1c40
model-00092-of-00123.safetensors
c935e6c0c854c1bbc891212af5c05c2a199b1b35663a27b515e00b8b1e0b71d0
model-00118-of-00123.safetensors
181a6007d8870f4691c314e153f5a7451df3ac1a0db8a9c881945213475f8985
model-00003-of-00123.safetensors
766fe2b2b4dac61ebf336612abb9754a45fa2934b3b6193f04c592c34bdd7528
model-00006-of-00123.safetensors
6b1ec2eca8925c1e32ac56702d16e3df0d22a8f360335453b9dcf7df2ac3c7b5
model-00008-of-00123.safetensors
97eb9e1a257acf472ce33897b8c0d1c30358961022c61652050e9db6bfa1e2ab
model-00010-of-00123.safetensors
67cd9eac52ddc99e9253aabfeb024bd3f6b4c7670d4dc08c675a63a788ee95c7
model-00013-of-00123.safetensors
3deee08f04d4d0c3255ddad76f5b5f9d026bd46b4cf89858cab78a3a8574b0ef
model-00015-of-00123.safetensors
07a430c04bc044def04469e47ae8b1458dcf20cfc88e4bf41b9e612922f316a7
model-00017-of-00123.safetensors
fb9c710eb249b6ac1c20cb1726210da211f2e4402ad6bf99650c9e4a4470e288
model-00005-of-00123.safetensors
f2df69178510adb5528e60163f1705c3abed2019d4d39b2e42ab8cce3ab58990
model-00012-of-00123.safetensors
d8dfc0a383a5ed3729a389f1c4fadff7a91c8c7566571d8794a8cee22231f15e
model-00025-of-00123.safetensors
cfc01df8bcf2c4e78f13e693e63860f52d0d90b12aabf072db4d0c9d5b5182de
model-00051-of-00123.safetensors
5432e330c982641822eba79a19bd25be5c4c785126781d27a25d14ffbadbe221
model-00058-of-00123.safetensors
a773455eac48bbf70a26199252d42889baab71141ffa5a2769615b70c5d2cb4e
model-00084-of-00123.safetensors
39a5ce67ec4387349d6628897be31e3d135233cdaf57915a376c1434e74be469
model-00091-of-00123.safetensors
29e2b4282076d10c523de0ecf0076811dc7d8606885b5874d6e789b5be44422c
model-00117-of-00123.safetensors
47fdc7baa240bd1b4bb27b4e122ed3492c63e4de075be8ebf0b7e2d807122816
model-00037-of-00123.safetensors
38189719fd8fa28eeed9c6f0cdb607f7b17ab59fd5b2ba9b32c52d67452f13f9
model-00044-of-00123.safetensors
052d4bfd8ce4be02a4b531544ec2b09b8578e05db020b25d9dca52c8b03b43be
model-00070-of-00123.safetensors
f8ded898b69b4780b0ee027b7eec23ff4743e22dea5f4c31e5d1de8ef8582a17
model-00077-of-00123.safetensors
41d4a59c06bc9e63ab204878bbc81a2ffa90f22c703429cd5780644eaf985875
model-00103-of-00123.safetensors
47465605aae357b45c7f7b3de365b3d55302e3467ba70e1832f03d29b6927b15
model-00110-of-00123.safetensors
a50eff6f42588490f91e1fa08929ce52bbabd4fbc6607a96b8fdb2b86b0d5f0e
model-00021-of-00123.safetensors
a27b2a2bcf3858432a892999036ba6a56a5756b553e329589befb1ae4ee7a032
model-00023-of-00123.safetensors
959728becccf3f254354ad8e388948a2adeea48d5dedd8906d80a88fbcc0e048
model-00028-of-00123.safetensors
559013635daa2556a2abd7940acd44b76965edc6ca267b697732dfc86550f8ab
model-00030-of-00123.safetensors
bf55620e83b29b81ccd4aaea3865adb68f598ef64f70eb9602a9ba60da4f5875
model-00035-of-00123.safetensors
8695795c31fa945de452eec8fc31cc5665d02cb1bf599f3754baa30fd12ca8ef
model-00040-of-00123.safetensors
e301a82458d893dfc393c97b3ee4996b697419f579c3636999703f8b84c986af
model-00042-of-00123.safetensors
470013eec6794347ea78efde0be1dc0ab7f35a0ea088ed48e2640ef930429b87
model-00047-of-00123.safetensors
f1eae6243e65d399bbb63095ce2a5bb92e18708c19e5b41fb91c70961ff12b08
model-00049-of-00123.safetensors
7c2cd38dfa7930a126bee03432836a0e5de6e9d9391eb5f29896c901980b6584
model-00054-of-00123.safetensors
bbc69edd0b38bfebcb0a74fd0cd2128b863315118ba6699d6b2b937c80299a30
model-00056-of-00123.safetensors
b79b99eef280c0728fec90acd949b4286de3e7520e47aa2e827603bd6cad5166
model-00061-of-00123.safetensors
3c996d6b53895374ec0b2a3d0743727101e3287bcf3fc3adb9cf170a0cf35a7b
model-00063-of-00123.safetensors
5271d67449672fafbf122630af7942dbbf980c695158e81faae213389a74e777
model-00068-of-00123.safetensors
07d79686dcaf9b44bef253b9dedcd7b5867e92333f6680bc0f9c8fdc36cfacf7
model-00073-of-00123.safetensors
7569baac2127b8975b3538d72dad658573c3f67237aec5e3039d33978eed2819
model-00075-of-00123.safetensors
11016af900ed4b1be091f72445c5d3b379ae33473b52abe76ff309b04ba07205
model-00080-of-00123.safetensors
0283a91ebc30ceb3449965ee6e89e7a77502c474835726367a1e4ad5d489894b
model-00082-of-00123.safetensors
8040db0919887623a8879f72c604df9f7ece52f6ad69dd5a143cda0fe04d078e
model-00087-of-00123.safetensors
52b2e8e1d82e248bbab76411dd49b68800fa8b1e54ddca56291b09bfef8d8936
model-00089-of-00123.safetensors
38aa5fb7f0115d3cb93a16c8b507a7180f33da5deebd37e288ff488865f8c254
model-00094-of-00123.safetensors
6a5a47307778386d93e62541d43c074a2c8ce6415095c97dd1490397f7257649
model-00096-of-00123.safetensors
95fa13490fddb02e4f0830319483c88cecc941bb2ae6259beb05222cca323580
model-00101-of-00123.safetensors
b235d3612a0f439a26938adc1542f02e3b3e93a61f11fe6d1956ef492cfff589
model-00106-of-00123.safetensors
5a68226b168d8ff8349be64a9cd514187fd5f13d86f7c36c353779d13c72720b
model-00108-of-00123.safetensors
e634050d2e8b41bf15e8b57997e48ed7362cd25827a7480d0c342b6bd1704b2e
model-00113-of-00123.safetensors
a7be4d27495adc0277ae2a7f4ae2ba7337fde5278dfa79aae49a4035bde5031c
model-00115-of-00123.safetensors
d55270d179915ebae980b224bf208efdcc6007c972484935ec5fab914b15f927
model-00120-of-00123.safetensors
cd54d8c05eb3dbe7576e863eeda59c163c48099f5304a2424fb153fe8ef7ba05
model-00011-of-00123.safetensors
0c47bbe15b9402d1893bd7b862567d5a659d4a3e14fe7e7ae9272795a2fae4a8
model-00018-of-00123.safetensors
896eec3e53b61a5d25b658b6b999201be0889d56b790590b1dc2f50e45124e75
model-00004-of-00123.safetensors
bc4f98cb4211c0d593ec8b53aff38d50e44a883391449c5a10484317633cc6ca
model-00009-of-00123.safetensors
3c4fd9473c089d705909871ae6047f7d14b972a02c1064138b68bbe4cdfb2826
model-00016-of-00123.safetensors
c5a98faf4cef949d28b695e692681b750c9c6259e5ff4276c0600a1789c6d873
model-00007-of-00123.safetensors
343de0ba07414a9ded28b968aca7ba6c167f10291816108ce3eba087ef1cb0e5
model-00014-of-00123.safetensors
bc7f92e154f4a0abb078b017f38fccd7bdacd83e450b16ce9655e2ea5e49b71c
model-00122-of-00123.safetensors
39caf7429710904085e6d581b2d7165361aff6ab3393523c32002cdccba3be63
model-00032-of-00123.safetensors
79e1e9ae3aeaec33ed9e0920f160d2cbd76985158863388ed35a853db8c21e62
model-00065-of-00123.safetensors
4ff93e8c12aee53ba1b4d5fc90a9f001cea6cfeea61ed6926f2abce0e428e690
model-00098-of-00123.safetensors
8ce05c71600796537cfb92e419772aab24b3137e7ced08e4c1e510f86cf67e3b
mtp/model.safetensors
dec8ac44db50f728a5036bd3c66c439b48176e84eb729b2414125a4c0ec0f48b
model-00123-of-00123.safetensors
1635a070855b08d9b0c04e34b6d6d2160876e92739e5f8d9aa7c1de670694138
plas_attention_mlp_weight.safetensors
35b305b25b7c5b28b74b4aac33283fac4020c3d93fd084ce494dc68c650627a3
tokenizer.model
34ef7db83df785924fb83d7b887b6e822a031c56e15cff40aaf9b982988180df
model.safetensors.index.json
未记录 SHA-256
added_tokens.json
未记录 SHA-256
special_tokens_map.json
未记录 SHA-256
README.md
未记录 SHA-256
LICENSE
未记录 SHA-256
tokenizer_config.json
未记录 SHA-256
config.json
未记录 SHA-256
.gitattributes
未记录 SHA-256
generation_config.json
未记录 SHA-256
已保存的模型卡(历史版本)
ERNIE-4.5-300B-A47B
[!NOTE]
Note: "-Paddle" models use PaddlePaddle weights, while "-PT" models use Transformer-style PyTorch weights.
ERNIE 4.5 Highlights
The advanced capabilities of the ERNIE 4.5 models, particularly the MoE-based A47B and A3B series, are underpinned by several key technical innovations:
Multimodal Heterogeneous MoE Pre-Training: Our models are jointly trained on both textual and visual modalities to better capture the nuances of multimodal information and improve performance on tasks involving text understanding and generation, image understanding, and cross-modal reasoning. To achieve this without one modality hindering the learning of another, we designed a heterogeneous MoE structure, incorporated modality-isolated routing, and employed router orthogonal loss and multimodal token-balanced loss. These architectural choices ensure that both modalities are effectively represented, allowing for mutual reinforcement during training.
Scaling-Efficient Infrastructure: We propose a novel heterogeneous hybrid parallelism and hierarchical load balancing strategy for efficient training of ERNIE 4.5 models. By using intra-node expert parallelism, memory-efficient pipeline scheduling, FP8 mixed-precision training and finegrained recomputation methods, we achieve remarkable pre-training throughput. For inference, we propose multi-expert parallel collaboration method and convolutional code quantization algorithm to achieve 4-bit/2-bit lossless quantization. Furthermore, we introduce PD disaggregation with dynamic role switching for effective resource utilization to enhance inference performance for ERNIE 4.5 MoE models. Built on PaddlePaddle, ERNIE 4.5 delivers high-performance inference across a wide range of hardware platforms.
Modality-Specific Post-Training: To meet the diverse requirements of real-world applications, we fine-tuned variants of the pre-trained model for specific modalities. Our LLMs are optimized for general-purpose language understanding and generation. The VLMs focuses on visuallanguage understanding and supports both thinking and non-thinking modes. Each model employed a combination of Supervised Fine-tuning (SFT), Direct Preference Optimization (DPO) or a modified reinforcement learning method named Unified Preference Optimization (UPO) for post-training.
Model Overview
ERNIE-4.5-300B-A47B is a text MoE Post-trained model, with 300B total parameters and 47B activated parameters for each token. The following are the model configuration details:
Quickstart
Model Finetuning with ERNIEKit
ERNIEKit is a training toolkit based on PaddlePaddle, specifically designed for the ERNIE series of open-source large models. It provides comprehensive support for scenarios such as instruction fine-tuning (SFT, LoRA) and alignment training (DPO), ensuring optimal performance.
Usage Examples:
# Download model
huggingface-cli download baidu/ERNIE-4.5-300B-A47B-Paddle --local-dir baidu/ERNIE-4.5-300B-A47B-Paddle
# SFT
erniekit train examples/configs/ERNIE-4.5-300B-A47B/sft/run_sft_wint8mix_lora_8k.yaml
# DPO
erniekit train examples/configs/ERNIE-4.5-300B-A47B/dpo/run_dpo_wint8mix_lora_8k.yaml
For more detailed examples, including SFT with LoRA, multi-GPU configurations, and advanced scripts, please refer to the examples folder within the ERNIEKit repository.
Using FastDeploy
Service deployment can be quickly completed using FastDeploy in the following command. For more detailed usage instructions, please refer to the FastDeploy Repository.
Note: To deploy on a configuration with 4 GPUs each having at least 80G of memory, specify --quantization wint4. If you specify --quantization wint8, then resources for 8 GPUs are required.
python -m fastdeploy.entrypoints.openai.api_server \
--model baidu/ERNIE-4.5-300B-A47B-Paddle \
--port 8180 \
--metrics-port 8181 \
--quantization wint4 \
--tensor-parallel-size 8 \
--engine-worker-queue-port 8182 \
--max-model-len 32768 \
--max-num-seqs 32
To deploy the sparse attention version to speed up long context using FastDeploy, you can run the following command.
For more details about sparse attention, please refer to the PLAS Attention.
export FD_ATTENTION_BACKEND="PLAS_ATTN"
python -m fastdeploy.entrypoints.openai.api_server \
--model baidu/ERNIE-4.5-300B-A47B-Paddle \
--port 8180 \
--metrics-port 8181 \
--quantization wint4 \
--tensor-parallel-size 4 \
--engine-worker-queue-port 8182 \
--max-model-len 131072 \
--max-num-seqs 32 \
--max-num-batched-tokens 8192 \
--enable-chunked-prefill \
--plas-attention-config '{"plas_encoder_top_k_left": 50, "plas_encoder_top_k_right": 60,"plas_decoder_top_k_left": 100, "plas_decoder_top_k_right": 120}'
To deploy the W4A8C8 quantized version using FastDeploy, you can run the following command.
python -m fastdeploy.entrypoints.openai.api_server \
--model baidu/ERNIE-4.5-300B-A47B-W4A8C8-TP4-Paddle \
--port 8180 \
--metrics-port 8181 \
--engine-worker-queue-port 8182 \
--tensor-parallel-size 4 \
--max-model-len 32768 \
--max-num-seqs 32
To deploy the WINT2 quantized version using FastDeploy on a single 141G GPU, you can run the following command.
python -m fastdeploy.entrypoints.openai.api_server \
--model "baidu/ERNIE-4.5-300B-A47B-2Bits-Paddle" \
--port 8180 \
--metrics-port 8181 \
--engine-worker-queue-port 8182 \
--tensor-parallel-size 1 \
--max-model-len 32768 \
--max-num-seqs 128
The following contains a code snippet illustrating how to use ERNIE-4.5-300B-A47B-FP8 generate content based on given inputs.
from fastdeploy import LLM, SamplingParams
prompts = [
"Hello, my name is",
]
sampling_params = SamplingParams(temperature=0.8, top_p=0.95, max_tokens=128)
model = "baidu/ERNIE-4.5-300B-A47B-FP8-Paddle"
llm = LLM(model=model, tensor_parallel_size=8, max_model_len=8192, num_gpu_blocks_override=1024, engine_worker_queue_port=9981)
outputs = llm.generate(prompts, sampling_params)
for output in outputs:
prompt = output.prompt
generated_text = output.outputs.text
print("generated_text", generated_text)
Best Practices
Sampling Parameters
To achieve optimal performance, we suggest using Temperature=0.8, TopP=0.8.
Prompts for Web Search
For Web Search, {references}, {date}, and {question} are arguments.
For Chinese question, we use the prompt:
ernie_search_zh_prompt = \
'''下面你会收到当前时间、多个不同来源的参考文章和一段对话。你的任务是阅读多个参考文章,并根据参考文章中的信息回答对话中的问题。
以下是当前时间和参考文章:
---------
#当前时间
{date}
#参考文章
{references}
---------
请注意:
1. 回答必须结合问题需求和当前时间,对参考文章的可用性进行判断,避免在回答中使用错误或过时的信息。
2. 当参考文章中的信息无法准确地回答问题时,你需要在回答中提供获取相应信息的建议,或承认无法提供相应信息。
3. 你需要优先根据百科、官网、权威机构、专业网站等高权威性来源的信息来回答问题。
4. 回复需要综合参考文章中的相关数字、案例、法律条文、公式等信息,使你的答案更专业。
5. 当问题属于创作类任务时,需注意以下维度:
- 态度鲜明:观点、立场清晰明确,避免模棱两可,语言果断直接
- 文采飞扬:用词精准生动,善用修辞手法,增强感染力
- 有理有据:逻辑严密递进,结合权威数据/事实支撑论点
---------
下面请结合以上信息,回答问题,补全对话
{question}'''
For English question, we use the prompt:
ernie_search_en_prompt = \
'''
Below you will be given the current time, multiple references from different sources, and a conversation. Your task is to read the references and use the information in them to answer the question in the conversation.
Here are the current time and the references:
---------
#Current Time
{date}
#References
{references}
---------
Please note:
1. Based on the question’s requirements and the current time, assess the usefulness of the references to avoid using inaccurate or outdated information in the answer.
2. If the references do not provide enough information to accurately answer the question, you should suggest how to obtain the relevant information or acknowledge that you are unable to provide it.
3. Prioritize using information from highly authoritative sources such as encyclopedias, official websites, authoritative institutions, and professional websites when answering questions.
4. Incorporate relevant numbers, cases, legal provisions, formulas, and other details from the references to make your answer more professional.
5. For creative tasks, keep these dimensions in mind:
- Clear attitude: Clear views and positions, avoid ambiguity, and use decisive and direct language
- Brilliant writing: Precise and vivid words, good use of rhetoric, and enhance the appeal
- Well-reasoned: Rigorous logic and progressive, combined with authoritative data/facts to support the argument
---------
Now, using the information above, answer the question and complete the conversation:
{question}'''
Parameter notes:
- {question} is the user’s question
- {date} is the current time, and the recommended format is “YYYY-MM-DD HH:MM:SS, Day of the Week, Beijing/China.”
- {references} is the references, and the recommended format is:
##参考文章1
标题:周杰伦
文章发布时间:2025-04-20
内容:周杰伦(Jay Chou),1979年1月18日出生于台湾省新北市,祖籍福建省永春县,华语流行乐男歌手、音乐人、演员、导演、编剧,毕业于淡江中学。2000年,发行个人首张音乐专辑《Jay》。...
来源网站网址:baike.baidu.com
来源网站的网站名:百度百科
##参考文章2
...
License
The ERNIE 4.5 models are provided under the Apache License 2.0. This license permits commercial use, subject to its terms and conditions. Copyright (c) 2025 Baidu, Inc. All Rights Reserved.
Citation
If you find ERNIE 4.5 useful or wish to use it in your projects, please kindly cite our technical report:
@misc{ernie2025technicalreport,
title={ERNIE 4.5 Technical Report},
author={Baidu ERNIE Team},
year={2025},
eprint={},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={}
}