The remarkable versatility of metal-organic frameworks (MOFs) stems from their rich chemical information, leading to numerous successful applications. However, identifying optimal MOFs for specific tasks necessitates a thorough assessment of their chemical attributes. Conventional machine learning approaches for MOF prediction have relied on intricate chemical and structural details, hampering rapid evaluations. Drawing inspiration from recent advancements exemplified by Snurr et al., wherein a text string was used to represent a MOF (MOFid), we introduce a MOFid-aided deep learning model, named the MOF-GRU model. This model, founded on natural language processing principles and utilizing the gated recurrent unit architecture, leverages the serialized text string representation of metal-organic frameworks (MOFs) to forecast gas separation performance. Through a focused study on CH4/N2 separation, we substantiate the efficacy of this approach. Comparative assessments against traditional machine learning techniques underscore our model's superior predictive accuracy and its capacity to handle extensive data sets adeptly. The MOF-GRU model remarkably uncovers latent structure-performance relationships with only MOF sequences, obviating the necessity for intricate three-dimensional (3D) structural information. Overall, this model's judicious design empowers efficient data utilization, thereby hastening the discovery of high-performance materials tailored for gas separation applications.