Views
No views yet
1from transformers import AutoModelForMaskedLM, AutoTokenizer
2
3# Load model and tokenizer - requires trust_remote_code
4model = AutoModelForMaskedLM.from_pretrained("vsubasri/joint-nt-esm2-transcript-coding-dna", trust_remote_code=True)
5tokenizer = AutoTokenizer.from_pretrained("vsubasri/joint-nt-esm2-transcript-coding-dna", trust_remote_code=True)
6
7# Example usage
8dna_sequence = "ATCGATCGATCG"
9inputs = tokenizer(dna_sequence, return_tensors="pt")
10outputs = model(**inputs)config.json: Model configurationmodel.safetensors: Model weightstokenizer_config.json: Tokenizer configurationvocab.txt: Vocabulary filespecial_tokens_map.json: Special tokens mapping