{"id":17115536,"url":"https://github.com/codewithzichao/multimodal-transformers","last_synced_at":"2026-04-17T02:31:30.648Z","repository":{"id":161166878,"uuid":"331902082","full_name":"codewithzichao/Multimodal-Transformers","owner":"codewithzichao","description":"Our source code for EACL2021 workshop: Meme Classification for Tamil Language. We took first place in this task finally!🥳","archived":false,"fork":false,"pushed_at":"2021-01-30T15:59:21.000Z","size":21,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T12:23:08.020Z","etag":null,"topics":["eacl","meme","multimodal","pytorch","transformer"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewithzichao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-01-22T09:45:38.000Z","updated_at":"2023-09-14T06:51:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f5b372e-793b-43ee-bb45-c1b8255b6559","html_url":"https://github.com/codewithzichao/Multimodal-Transformers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codewithzichao/Multimodal-Transformers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithzichao%2FMultimodal-Transformers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithzichao%2FMultimodal-Transformers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithzichao%2FMultimodal-Transformers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithzichao%2FMultimodal-Transformers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithzichao","download_url":"https://codeload.github.com/codewithzichao/Multimodal-Transformers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithzichao%2FMultimodal-Transformers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31912333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["eacl","meme","multimodal","pytorch","transformer"],"created_at":"2024-10-14T17:45:05.287Z","updated_at":"2026-04-17T02:31:30.628Z","avatar_url":"https://github.com/codewithzichao.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Meme Classification for Tamil Language at EACL2021 Workshop\n\nOur source code for EACL2021 workshop: Meme Classification for Tamil Language. We took first place in this task finally!🥳\n\n**Updated:** Source code is released!🤩\n\u003e I will release the code very soon.\n\n## Repository structure\n```shell\n├── MyLoss.py                          # Impelmentation of some loss function \n├── README.md                   \n├── __init__.py\n├── args.py                            # declare some argument\n├── ckpt\n│   └── README.md\n├── data                               # store data\n│   └── README.md       \n├── gen_data.py                        # generate Dataset\n├── install_cli.sh                     # install required package\n├── logfile                            # store logfile during training\n├── main.py                            # train model         \n├── model.py                           # define model\n├── multimodal_attention.py            # Implentation of multimodal attention layer\n├── pred_data\n│   └── README.md\n├── preprocessing.py                   # preprocess the data\n├── pretrained_weights                 # store pretrained weights of resnet and xlm-roberta\n│   └── README.md\n├── run.sh                             # run model\n└── train.py                           # define training and validation loop             \n\n```\n\n## Installation\nUse the following command so that you can install all of required packages:\n```shell\nsh install_cli.sh\n```\n\n## Preprocessing\nThe first step is to preprocess the data. Just use the following command:\n```shell\npython3 -u preprocessing.py\n```\n\n## Training\nThe second step is to train our model. Use the following command:\n```shell\nnohup sh run.sh \u003e run_log.log 2\u003e\u00261 \u0026\n```\n\n## Inference\nThe final step is inference after training. Use the following command:\n```shell\nnohup python3 -u inference.py \u003e inference.log 2\u003e\u00261 \u0026\n```\nCongralutions! You have got the final results!🤩\n\n\n\u003e If you use our code, please indicate the source.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithzichao%2Fmultimodal-transformers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithzichao%2Fmultimodal-transformers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithzichao%2Fmultimodal-transformers/lists"}