{"id":19156614,"url":"https://github.com/kyegomez/audioflamingo","last_synced_at":"2025-05-07T07:45:22.022Z","repository":{"id":221243697,"uuid":"753829026","full_name":"kyegomez/AudioFlamingo","owner":"kyegomez","description":"Implementation of the model \"AudioFlamingo\" from the paper: \"Audio Flamingo: A Novel Audio Language Model with Few-Shot Learning and Dialogue Abilities\"","archived":false,"fork":false,"pushed_at":"2025-01-27T16:43:48.000Z","size":2272,"stargazers_count":40,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-15T12:49:51.362Z","etag":null,"topics":["ai","artificial-intelligence","attention-is-all-you-need","attention-mechanism","attention-model","audio","audio-ai","deeplearning","llm","machine-learning","ml","transformer"],"latest_commit_sha":null,"homepage":"https://discord.gg/GYbXvDGevY","language":"Python","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/kyegomez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["kyegomez"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-02-06T21:37:32.000Z","updated_at":"2025-01-19T22:13:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"cea557bf-6883-4f7c-9dc4-bf87d3c08094","html_url":"https://github.com/kyegomez/AudioFlamingo","commit_stats":null,"previous_names":["kyegomez/audioflamingo"],"tags_count":0,"template":false,"template_full_name":"kyegomez/Python-Package-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FAudioFlamingo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FAudioFlamingo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FAudioFlamingo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyegomez%2FAudioFlamingo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyegomez","download_url":"https://codeload.github.com/kyegomez/AudioFlamingo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249764994,"owners_count":21322336,"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","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":["ai","artificial-intelligence","attention-is-all-you-need","attention-mechanism","attention-model","audio","audio-ai","deeplearning","llm","machine-learning","ml","transformer"],"created_at":"2024-11-09T08:35:13.751Z","updated_at":"2025-04-19T18:31:55.171Z","avatar_url":"https://github.com/kyegomez.png","language":"Python","funding_links":["https://github.com/sponsors/kyegomez"],"categories":[],"sub_categories":[],"readme":"[![Multi-Modality](agorabanner.png)](https://discord.gg/qUtxnK2NMf)\n\n# AudioFlamingo\nImplementation of the model \"AudioFlamingo\" from the paper: \"Audio Flamingo: A Novel Audio Language Model with Few-Shot Learning and Dialogue Abilities\". [PAPER LINK](https://arxiv.org/pdf/2402.01831.pdf)\n\n\n## Install\n`pip3 install audio-flamingo`\n\n## Usage\n```python\nimport torch\nfrom audio_flamingo.model import AudioFlamingo\n\n# Generate a random input sequence\ntext = torch.randint(0, 256, (1, 1024))\naudio = torch.randn(1, 16000)\n\n# Initialize AudioFlamingo model\nmodel = AudioFlamingo(\n    dim=512,\n    num_tokens=256,\n    max_seq_len=1024,\n    heads=8,\n    depth=6,\n    dim_head=64,\n    dropout=0.1,\n    context_dim=512,\n)\n\n# Pass the input sequence through the model\noutput = model(text, audio)  # (1, 1024, 256)\n\n# Print the output shape\nprint(output.shape)\n# Path: audio_flamingo/model.py\n\n```\n\n# License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyegomez%2Faudioflamingo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyegomez%2Faudioflamingo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyegomez%2Faudioflamingo/lists"}