[Linux] The problem that bert-base-cased is not in the cache and needs to be downloaded from s3

CONTENT

Manually download and rename.

position

/home/xxxx/.cache/torch/pytorch_transformers

Insert picture description here

bert-base-cased

download link file name The content of the json file with the same name
https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-cased-pytorch_model.bin 35d8b9d36faaf46728a0192d82bf7d00137490cd6074e8500778afed552a67e5.3fadbea36527ae472139fe84cddaa65454d7429f12d543d80bfc3ad70de55ac2 {“url”: “https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-cased-pytorch_model.bin”, “etag”: "“7b738972fafaf06a1155705e209edfa4-52"”}
https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-cased-vocab.txt 5e8a2b4893d13790ed4150ca1906be5f7a03d6c4ddf62296c383f6db42814db2.e13dbb970cb325137104fb2e5f36fe865f27746c6b526f6352861b1980eb80b1 {“url”: “https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-cased-vocab.txt”, “etag”: "“bb6ca9b42e790e5cd986bbb16444d0e0"”}
https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-cased-config.json b945b69218e98b3e2c95acf911789741307dec43c698d35fad11c1ae28bda352.9da767be51e1327499df13488672789394e2ca38b877837e52618a67d7002391 {“url”: “https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-cased-config.json”, “etag”: "“b9c1443ab1e5ac2d819050f6d48d12d0"”}

Guess you like

Origin blog.csdn.net/Krone_/article/details/115288537