Run this model with HF Jobs
Run Synthyra/ESM2-150M on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Synthyra/ESM2-150M. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Synthyra/ESM2-150M on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Synthyra/ESM2-150M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ESM2-150M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Synthyra/ESM2-150M", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Synthyra/ESM2-150M", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer
Browse filesFiles changed (3)
- special_tokens_map.jsonAdded+7
- tokenizer_config.jsonAdded+53
- vocab.txtAdded+33
1234567{ "cls_token": "<cls>", "eos_token": "<eos>", "mask_token": "<mask>", "pad_token": "<pad>", "unk_token": "<unk>"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ "added_tokens_decoder": { "0": { "content": "<cls>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "<pad>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "<eos>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "32": { "content": "<mask>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": false, "cls_token": "<cls>", "eos_token": "<eos>", "extra_special_tokens": {}, "mask_token": "<mask>", "model_max_length": 1000000000000000019884624838656, "pad_token": "<pad>", "tokenizer_class": "EsmTokenizer", "unk_token": "<unk>"}123456789101112131415161718192021222324252627282930313233<cls><pad><eos><unk>LAGVSERTIDPKQNFYMHWCXBUZO.-<null_1><mask>special_tokens_map.jsonAdded+7
tokenizer_config.jsonAdded+53
vocab.txtAdded+33