{"id":17632454,"url":"https://github.com/shashi456/im2latex","last_synced_at":"2025-03-30T03:23:53.018Z","repository":{"id":133649604,"uuid":"151920408","full_name":"Shashi456/Im2Latex","owner":"Shashi456","description":"A solution for im2Latex problem.","archived":false,"fork":false,"pushed_at":"2018-11-16T10:17:23.000Z","size":11274,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T05:41:43.660Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shashi456.png","metadata":{"files":{"readme":"README.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":"2018-10-07T08:23:29.000Z","updated_at":"2018-11-16T10:17:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"ff410214-2551-47e4-89a8-6618c575383a","html_url":"https://github.com/Shashi456/Im2Latex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashi456%2FIm2Latex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashi456%2FIm2Latex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashi456%2FIm2Latex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shashi456%2FIm2Latex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shashi456","download_url":"https://codeload.github.com/Shashi456/Im2Latex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246271320,"owners_count":20750560,"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":[],"created_at":"2024-10-23T01:07:57.458Z","updated_at":"2025-03-30T03:23:52.992Z","avatar_url":"https://github.com/Shashi456.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Im2Latex\n- Solving the Open-AI Request for Research\n- The dataset has to be downloaded from [here](https://zenodo.org/record/56198#.V2p0KTXT6eA)\n- The dataset has to be preprocessed to generate vocabulary and tokenize the labels. \n- Preprocessing scripts have been taken from HarvardNLP's [solution](https://github.com/harvardnlp/im2markup) and all credit for these scripts are due to them.\n\n## Preprocessing \n- The following instructions were run to generate the files :\n\n```python preprocessing/preprocess_images.py --input-dir formula_images --output-dir images_processed```\n\n```python preprocessing/preprocess_filter.py --filter --image-dir images_processed --label-path formulas.token.lst --data-path im2latex_train.lst --output-path train_filter.lst ```\n\n```python preprocessing/preprocess_formulas.py --mode tokenize --input-file im2latex_formulas.lst --output-file formulas.token.lst```\n\n```python scripts/preprocessing/generate_latex_vocab.py --data-path train_filter.lst --label-path formulas.token.lst --output-file latex_vocab.txt```\n\n\n## Methodology\n\n- We will be using the Top-down Bottom-up Attention Model Paper and adopting the architecture to this model.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashi456%2Fim2latex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshashi456%2Fim2latex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashi456%2Fim2latex/lists"}