Downloads · 30 days
87
0% of all-time downloads
michaelfeil/colqwen2-v0.1
colqwen2-v0.1 is a machine learning model from michaelfeil. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
from colpaliengine.models import ColQwen2, ColQwen2Processor from peft import PeftModel
Downloads · 30 days
87
0% of all-time downloads
All-time downloads
83.5K
Public
Parameters
2.2B
8.9 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors4.4 GB · 100%
From the Hugging Face model README
from colpali_engine.models import ColQwen2, ColQwen2Processor from peft import PeftModel
merged_model = ColQwen2.from_pretrained(
"michaelfeil/colqwen2-v0.1",
torch_dtype="bfloat16",
)
merged_model = PeftModel.from_pretrained(model, "vidore/colqwen2-v0.1")
merged_model: ColQwen2 = merged_model.merge_and_unload()
processor = ColQwen2Processor.from_pretrained("vidore/colqwen2-v0.1")
processor.push_to_hub("michaelfeil/colqwen2-v0.1")
# merged_model.save_pretrained("mf-colqwen2-v0.1",max_shard_size = "2GB",)
merged_model.push_to_hub("michaelfeil/colqwen2-v0.1", max_shard_size="2GB")