Update readme
Browse files6 unmodified lines7891011121314151617181920212223246 unmodified linesSpecific date: date_pickerI want to use this model for:type: selectoptions:- Research- Education- label: Othervalue: otherI agree to share generated sequences and associated data with authors before publishing: checkboxI agree not to file patents on any sequences generated by this model: checkboxI agree to use this model for non-commercial use ONLY: checkbox---# MeMDLM: De Novo Membrane Protein Design with Masked Diffusion Language ModelsMasked Diffusion Language Models (MDLMs), introduced by Sahoo et al (arxiv.org/pdf/2406.07524), provide strong generative capabilities to BERT-style models. In this work, we pre-train and fine-tune ESM-2-150M on the MDLM objective to scaffold functional motifs while unconditionally generating realistic, high-quality membrane protein sequences.6 unmodified lines78910111213141516171819202122232425262728293031323334353637383940414243444546476 unmodified linesSpecific date: date_pickerI want to use this model for:type: selectoptions:- Research- Education- label: Othervalue: otherI agree to share generated sequences and associated data with authors before publishing: checkboxI agree not to file patents on any sequences generated by this model: checkboxI agree to use this model for non-commercial use ONLY: checkboxbase_model:- facebook/esm2_t30_150M_UR50Dpipeline_tag: fill-mask---# MeMDLM: De Novo Membrane Protein Design with Masked Diffusion Language ModelsMasked Diffusion Language Models (MDLMs), introduced by Sahoo et al (arxiv.org/pdf/2406.07524), provide strong generative capabilities to BERT-style models. In this work, we pre-train and fine-tune ESM-2-150M on the MDLM objective to scaffold functional motifs while unconditionally generating realistic, high-quality membrane protein sequences.## Model UsageThe MDLM model leverages an internal backbone model, which is a fine-tune of ESM2 (150M). This backbone model can be used through this repo:```pythonfrom transformers import AutoTokenizer, AutoModelForMaskedLMtokenizer = AutoTokenizer.from_pretrained("ChatterjeeLab/MeMDLM")model = AutoModelForMaskedLM.from_pretrained("ChatterjeeLab/MeMDLM")input_sequence = "QMMALTFITYIGCGLSSIFLSVTLVILIQLCAALLLLNLIFLLDSWIALYnTRGFCIAVAVFLHYFLLVSFTWMGLEAFHMYLKFCIVGWGIPAVVVSIVLTISPDNYGidFCWINSNVVFYITVVGYFCVIFLLNVSMFIVVLVQLCRIKKKKQLGDL"inputs = tokenizer(input_sequence, return_tensors="pt")output = model(**inputs)filled_protein_seq = tokenizer.decode(output.squeeze()) # contains the output protein sequence with filled mask tokens```This backbone model can be integrated with the [MDLM formulation](https://github.com/kuleshov-group/mdlm) by setting the model backbone type to "hf_dit" and setting the HuggingFace Model ID to "ChatterjeeLab/MeMDLM"
README.md+29-6