{"id":15165766,"url":"https://github.com/evilfreelancer/moda","last_synced_at":"2026-02-18T12:31:18.748Z","repository":{"id":243497186,"uuid":"812584722","full_name":"EvilFreelancer/MoDA","owner":"EvilFreelancer","description":"Is a framework designed to enhance the performance and flexibility of large language models by dynamically selecting and integrating specialized LoRA adapters based on the input query.","archived":false,"fork":false,"pushed_at":"2024-06-16T16:15:17.000Z","size":202,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T10:41:41.352Z","etag":null,"topics":["adapters","gpt","llama2","lora","router","transformers"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EvilFreelancer.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T10:13:46.000Z","updated_at":"2024-10-23T09:01:55.000Z","dependencies_parsed_at":"2024-06-09T11:55:50.889Z","dependency_job_id":"e36c9bd3-2a79-445d-951c-dddb99f11033","html_url":"https://github.com/EvilFreelancer/MoDA","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.06666666666666665,"last_synced_commit":"730fee50a1f30bc049d94e99e02a9f2c40fe2a20"},"previous_names":["evilfreelancer/moda"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EvilFreelancer/MoDA","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2FMoDA","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2FMoDA/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2FMoDA/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2FMoDA/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvilFreelancer","download_url":"https://codeload.github.com/EvilFreelancer/MoDA/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvilFreelancer%2FMoDA/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017235,"owners_count":26086015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adapters","gpt","llama2","lora","router","transformers"],"created_at":"2024-09-27T04:01:45.033Z","updated_at":"2025-10-13T23:12:06.881Z","avatar_url":"https://github.com/EvilFreelancer.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mixture of dynamically connected adapters (MoDA)\n\nMixture of Dynamically Connected Adapters (MoDA) is a framework designed to enhance the performance and flexibility of\nlarge language models by dynamically selecting and integrating specialized adapters based on the input query. This\nproject facilitates seamless integration and execution of various adapters to optimize responses for different types of\nqueries.\n\n[Русский](./README.md) | **English**\n\n![moda schema](./assets/moda-schema-v2.png)\n\n## Features\n\n* **Dynamic Adapter Selection** - automatically selects the most appropriate adapter based on the\n  input query conditions.\n* **Multiple Adapter Integration** - supports multiple adapters with distinct functionalities, such\n  as language-specific or domain-specific tasks.\n* **Efficient Resource Utilization** - leverages efficient models and techniques like loading\n  models in 8-bit to save computational resources.\n* **Extensible Framework** - easily add and configure new adapters via a YAML configuration file.\n\n## Configuration\n\nMoDA uses a `config.yml` file to specify the models and adapters. Below is the schema for the configuration file.\n\n```yaml\ncaller:\n  name: \u003cmodel_name\u003e\n  load_in_8bit: \u003cTrue/False\u003e\n\nsocket:\n  name: \u003cmodel_name\u003e\n  load_in_8bit: \u003cTrue/False\u003e\n\nfunctions:\n  - name: \u003cadapter_name\u003e\n    prompt: \u003csystem_prompt\u003e\n    description: \u003cdescription\u003e\n    condition: \u003ccondition_for_using_adapter\u003e\n    chat_template: \u003cchat_template\u003e\n```\n\nFor a full example, refer to the [config.yml](./config.yml) file located in the root of this repository.\n\n## Usage\n\nTo understand how to use MoDA, refer to the [moda.ipynb](./moda.ipynb) Jupyter notebook in the root of this repository.\nThis notebook provides a comprehensive example of loading models, initializing a conversation, handling function calls,\nand dynamically switching between different adapters to process user queries efficiently.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n\n## Citation\n\n```\n@misc{moda2024sources,\n    title={Mixture of dynamically connected adapters (MoDA)}, \n    author={Pavel Rykov},\n    year={2024}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Fmoda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevilfreelancer%2Fmoda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevilfreelancer%2Fmoda/lists"}