🧠 ModuMuse
Modular Multimodal Intelligence
Plug any Hugging Face LLM and vision encoder together via a learnable projector.
Ready for zero-shot inference now, with adapter-based fine-tuning on the horizon.
🚀 Features
- 🔌 Plug-and-play architecture for combining LLMs and vision encoders
- 🧠 Supports popular models like Qwen, Mistral, LLaMA, CLIP, XCLIP, SAM
- 🧪 Zero-shot inference with learnable projector modules
- 🛠️ Adapter-based fine-tuning (coming soon)
- 📊 Easy benchmarking and visualization tools
📦 Installation
pip install modu-muse
🧬 Quick Start
from modu_muse import Pipeline
pipe = Pipeline(
llm_name="mistralai/Mistral-7B-Instruct-v0.2",
vision_name="openai/clip-vit-base-patch16"
)
result = pipe.infer("path/to/image.jpg", "Describe the scene.")
print(result)
🧠 Architecture
[Image/Video] → [Vision Encoder] → [Projector] → [LLM]
- Vision encoder extracts features
- Projector maps visual features to LLM-compatible embeddings
- LLM generates text conditioned on visual context
🛠️ Fine-Tuning (Coming Soon)
Train your own projector using paired image-text datasets:
python train_adapter.py \
--model llm=Qwen1.5 vision=xclip \
--dataset_path ./data/relevance_dataset \
--output_dir ./checkpoints
📁 Project Structure
modu_muse/
├── pipeline.py # Main multimodal pipeline
├── projector.py # Vision-to-LLM projector
├── models/
│ ├── llm.py # LLM loader
│ ├── vision.py # Vision encoder loader
├── examples/
│ └── quick_start.py # Demo script
🤝 Contributing
We welcome contributions! Whether it's new model support, training scripts, or documentation improvements—open a PR or start a discussion.
📜 License
This project is licensed under the MIT License.
© 2025 Wissem Elkarous
🌐 Resources
ModuMuse: Where vision meets language.
Metadata
Release files for modu-muse 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| modu_muse-0.1.5.tar.gz | 4.0 kB | Without provenance | Details for modu_muse-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| modu_muse-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for modu_muse-0.1.5-py3-none-any.whl |
Total release size: 9.1 kB
Release files / modu_muse-0.1.5.tar.gz
| Download URL | modu_muse-0.1.5.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
092c5a3863d0b639bbb518da4854d85a196f1e108cbff329d17a0fe4ea27403d
|
|
BLAKE2b-256 checksum How to use checksums |
bca06d2cc0987f8b69c186423182bc081110945af4a165ebd017fdd35a449860
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Release files / modu_muse-0.1.5-py3-none-any.whl
| Download URL | modu_muse-0.1.5-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b3bbfa97d4681eb4b2acf06ebde3785ae66d608a88ef0e4ae088449527250e6
|
|
BLAKE2b-256 checksum How to use checksums |
6f347636f6835321ddf8eaf34d20dc40286862478f895f60d5668e6412ede484
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Security for modu-muse 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.