Mar 30, 2025 10:09 Remove library name nielsr HF Staff It doesn't seem like the model is compatible with the Transformers library.
Btw, you could consider making your `CopernicusFMViT` class inherit from the [PyTorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) class. This way, you can do:
```python
from src.model_vit import CopernicusFMViT
# load model
model = CopernicusFMViT(...)
# equip with weights
filepath = hf_hub_download(repo_id="wangyi111/Copernicus-FM", filename="")
state_dict = torch.load(filepath, map_location="cpu")
model.load_state_dict(state_dict)
# push to the hub
model.push_to_hub("wangyi111/Copernicus-FM")
# now anyone can use it like so
model = CopernicusFMViT.from_pretrained("wangyi111/Copernicus-FM")
```
This comes with a few benefits:
- download metrics
- safetensors for weights serialization Mar 29, 2025 20:14 Update README.md 20:11 Add library_name to metadata (#1 ) wangyi111 +1: nielsr - Add library_name to metadata (8645873a28e540a0178e98357ea4bdcf17984c25)
Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co> Mar 26, 2025 16:50 Update README.md 10:09 Update README.md Mar 19, 2025 17:08 Upload deprecated/DOFA-S_location_200k_e20.pth with huggingface_hub 12:12 Rename deprecated/varname_embed/varname_embed_llama3.2_1B.pt to varname_embed/varname_embed_llama3.2_1B.pt 12:12 Rename deprecated/varname_embed_llama3.2_1B.pt to deprecated/varname_embed/varname_embed_llama3.2_1B.pt 11:43 Rename varname_embed_llama3.2_1B.csv to varname_embed/varname_embed_llama3.2_1B.csv 11:43 Create varname_embed/LICENSE.txt 11:23 Rename var_embed_llama3.2_1B.pt to deprecated/varname_embed_llama3.2_1B.pt 11:21 Upload varname_embed_llama3.2_1B.csv Mar 14, 2025 20:51 Upload CopernicusFM_ViT_large_varlang_e100.pth with huggingface_hub 20:50 Upload CopernicusFM_ViT_base_varlang_e100.pth with huggingface_hub 15:46 Create README.md Mar 12, 2025 16:31 Upload CopernicusFM_ViT_base_varlang_e100.pth with huggingface_hub 16:30 Upload CopernicusFM_ViT_large_varlang_e100.pth with huggingface_hub 16:13 Upload CopernicusFM_ViT_large_varlang_e100.pth with huggingface_hub 16:11 Upload CopernicusFM_ViT_base_varlang_e100.pth with huggingface_hub 15:08 Rename deprecated/CopernicusFM_ViT_large_varlang_e100.pth to deprecated/CopernicusFM_ViT_large_varlang_e100_fullmodel.pth 15:08 Rename deprecated/CopernicusFM_ViT_base_varlang_e100.pth to deprecated/CopernicusFM_ViT_base_varlang_e100_fullmodel.pth 15:08 Rename deprecated/DOFA-S_ViT_base_varspec_e100_full.pth to deprecated/DOFA-S_ViT_base_varspec_e100_fullckpt.pth 15:05 Rename CopernicusFM_ViT_large_varlang_e100.pth to deprecated/CopernicusFM_ViT_large_varlang_e100.pth 15:05 Rename CopernicusFM_ViT_base_varlang_e100.pth to deprecated/CopernicusFM_ViT_base_varlang_e100.pth 14:14 Rename DOFA-S_ViT_large_varlang_e100.pth to CopernicusFM_ViT_large_varlang_e100.pth 14:14 Rename DOFA-S_ViT_base_varlang_e100_new.pth to CopernicusFM_ViT_base_varlang_e100.pth 14:13 Rename DOFA-S_ViT_base_varspec_e100_full.pth to deprecated/DOFA-S_ViT_base_varspec_e100_full.pth 14:13 Rename DOFA-S_ViT_base_varspec_e100.pth to deprecated/DOFA-S_ViT_base_varspec_e100.pth 14:12 Rename DOFA-S_ViT_base_varlang_e100.pth to deprecated/DOFA-S_ViT_base_varlang_e100.pth 14:12 Rename DOFA-S_ViT_base_spectrum_e70.pth to deprecated/DOFA-S_ViT_base_spectrum_e70.pth 14:12 Rename DOFA-S_ViT_base_language_e70.pth to deprecated/DOFA-S_ViT_base_language_e70.pth Feb 20, 2025 21:17 Upload DOFA-S_ViT_large_varlang_e100.pth with huggingface_hub Feb 13, 2025 08:53 Rename DOFA-S_ViT_base_e100_lang_new.pth to DOFA-S_ViT_base_varlang_e100_new.pth 08:13 Upload DOFA-S_ViT_base_e100_lang_new.pth with huggingface_hub Feb 6, 2025 10:44 Upload DOFA-S_ViT_base_varspec_e100.pth with huggingface_hub 10:44 Rename DOFA-S_ViT_base_varspec_e100.pth to DOFA-S_ViT_base_varspec_e100_full.pth 10:40 Upload DOFA-S_ViT_base_varspec_e100.pth with huggingface_hub 10:40 Upload DOFA-S_ViT_base_varlang_e100.pth with huggingface_hub 10:37 Delete DOFA-S_ViT_base_e100_lang.pth 10:33 Upload DOFA-S_ViT_base_e100_lang.pth with huggingface_hub Feb 5, 2025 15:16 Upload var_embed_llama3.2_1B.pt Jan 29, 2025 20:36 Upload 2 files 20:15 initial commit