Instructions to use etanios/epitope-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use etanios/epitope-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="etanios/epitope-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("etanios/epitope-model") model = AutoModelForTokenClassification.from_pretrained("etanios/epitope-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from etanios/epitope-model: direct link, hf CLI and curl.
- Browser
- Download file 776 Bytes
-
https://huggingface.co/etanios/epitope-model/resolve/main/config.json
- Command line
-
hf download hf://etanios/epitope-model/config.json
-
curl -L -o config.json https://huggingface.co/etanios/epitope-model/resolve/main/config.json
776 Bytes
| { | |
| "_name_or_path": "facebook/esm2_t6_8M_UR50D", | |
| "architectures": [ | |
| "EsmForTokenClassification" | |
| ], | |
| "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, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 1280, | |
| "is_folding_model": false, | |
| "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.41.2", | |
| "use_cache": true, | |
| "vocab_list": null, | |
| "vocab_size": 33 | |
| } | |