{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/reformulating-sentence-ordering-as","title":"Is Everything in Order? A Simple Way to Order Sentences","arxiv_id":"2104.07064","date":"2021-04-14","proceeding":"EMNLP 2021 11","authors":["Somnath Basu Roy Chowdhury","Faeze Brahman","Snigdha Chaturvedi"],"abstract":"The task of organizing a shuffled set of sentences into a coherent text has been used to evaluate a machine's understanding of causal and temporal relations. We formulate the sentence ordering task as a conditional text-to-marker generation problem. We present Reorder-BART (Re-BART) that leverages a pre-trained Transformer-based model to identify a coherent order for a given set of shuffled sentences. The model takes a set of shuffled sentences with sentence-specific markers as input and generates a sequence of position markers of the sentences in the ordered text. Re-BART achieves the state-of-the-art performance across 7 datasets in Perfect Match Ratio (PMR) and Kendall's tau ($\\tau$). We perform evaluations in a zero-shot setting, showcasing that our model is able to generalize well across other datasets. We additionally perform several experiments to understand the functioning and limitations of our framework.","url_abs":"https://arxiv.org/abs/2104.07064v2","url_pdf":"https://arxiv.org/pdf/2104.07064v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"reformulating-sentence-ordering-as","repo_url":"https://github.com/fabrahman/rebart","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"conditional-text-generation","task_name":"Conditional Text Generation"},{"task_slug":"sentence","task_name":"Sentence"},{"task_slug":"sentence-ordering","task_name":"Sentence Ordering"},{"task_slug":"text-generation","task_name":"Text Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2104.07064","atlas_url":"https://app.syntology.ai/?focus=2104.07064","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2104.07064"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/fabrahman/ReBART","reach":null}],"summary":{"ran":1,"ran_draft_wrong":1},"by_repo_kind":{"official":{"samples":2,"ran":2,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"bcffe0ff6e86e539","entry":"EncoderDecoderTextDataset","repo":"fabrahman/ReBART","repo_kind":"official","path":"source/encoder_decoder.py","file_url":"https://github.com/fabrahman/ReBART/blob/HEAD/source/encoder_decoder.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bcffe0ff6e86e539"}},{"code_sha256_prefix":"0a6114463ae57d3a","entry":"load_data","repo":"fabrahman/ReBART","repo_kind":"official","path":"source/encoder_decoder.py","file_url":"https://github.com/fabrahman/ReBART/blob/HEAD/source/encoder_decoder.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0a6114463ae57d3a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}