Run this model with HF Jobs
Run LegallyOverworked/esm2_8M-ph-ft-reg 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/LegallyOverworked/esm2_8M-ph-ft-reg. 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/LegallyOverworked/esm2_8M-ph-ft-reg 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 LegallyOverworked/esm2_8M-ph-ft-reg with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LegallyOverworked/esm2_8M-ph-ft-reg with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LegallyOverworked/esm2_8M-ph-ft-reg")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LegallyOverworked/esm2_8M-ph-ft-reg") model = AutoModelForSequenceClassification.from_pretrained("LegallyOverworked/esm2_8M-ph-ft-reg", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from LegallyOverworked/esm2_8M-ph-ft-reg: direct link, hf CLI and curl.
- Browser
- Download file 857 Bytes
-
https://huggingface.co/LegallyOverworked/esm2_8M-ph-ft-reg/resolve/main/config.json
- Command line
-
hf download hf://LegallyOverworked/esm2_8M-ph-ft-reg/config.json
-
curl -L -o config.json https://huggingface.co/LegallyOverworked/esm2_8M-ph-ft-reg/resolve/main/config.json
857 Bytes
| { | |
| "_name_or_path": "facebook/esm2_t6_8M_UR50D", | |
| "architectures": [ | |
| "EsmForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "classifier_dropout": null, | |
| "emb_layer_norm_before": false, | |
| "esmfold_config": null, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 320, | |
| "id2label": { | |
| "0": "LABEL_0" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1280, | |
| "is_folding_model": false, | |
| "label2id": { | |
| "LABEL_0": 0 | |
| }, | |
| "layer_norm_eps": 1e-05, | |
| "mask_token_id": 32, | |
| "max_position_embeddings": 1026, | |
| "model_type": "esm", | |
| "num_attention_heads": 20, | |
| "num_hidden_layers": 6, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "rotary", | |
| "token_dropout": true, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.35.2", | |
| "use_cache": true, | |
| "vocab_list": null, | |
| "vocab_size": 33 | |
| } | |