Instructions to use itskamran/esm2-finetuned-localization with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use itskamran/esm2-finetuned-localization with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="itskamran/esm2-finetuned-localization")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("itskamran/esm2-finetuned-localization") model = AutoModelForSequenceClassification.from_pretrained("itskamran/esm2-finetuned-localization", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 1
Browse files- config.json +43 -43
- model.safetensors +1 -1
- training_args.bin +2 -2
config.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
| 1 |
-
{
|
| 2 |
-
"_name_or_path": "facebook/esm2_t12_35M_UR50D",
|
| 3 |
-
"architectures": [
|
| 4 |
-
"EsmForSequenceClassification"
|
| 5 |
-
],
|
| 6 |
-
"attention_probs_dropout_prob": 0.0,
|
| 7 |
-
"classifier_dropout": null,
|
| 8 |
-
"emb_layer_norm_before": false,
|
| 9 |
-
"esmfold_config": null,
|
| 10 |
-
"hidden_act": "gelu",
|
| 11 |
-
"hidden_dropout_prob": 0.0,
|
| 12 |
-
"hidden_size": 480,
|
| 13 |
-
"id2label": {
|
| 14 |
-
"0": "LABEL_0",
|
| 15 |
-
"1": "LABEL_1",
|
| 16 |
-
"2": "LABEL_2",
|
| 17 |
-
"3": "LABEL_3"
|
| 18 |
-
},
|
| 19 |
-
"initializer_range": 0.02,
|
| 20 |
-
"intermediate_size": 1920,
|
| 21 |
-
"is_folding_model": false,
|
| 22 |
-
"label2id": {
|
| 23 |
-
"LABEL_0": 0,
|
| 24 |
-
"LABEL_1": 1,
|
| 25 |
-
"LABEL_2": 2,
|
| 26 |
-
"LABEL_3": 3
|
| 27 |
-
},
|
| 28 |
-
"layer_norm_eps": 1e-05,
|
| 29 |
-
"mask_token_id": 32,
|
| 30 |
-
"max_position_embeddings": 1026,
|
| 31 |
-
"model_type": "esm",
|
| 32 |
-
"num_attention_heads": 20,
|
| 33 |
-
"num_hidden_layers": 12,
|
| 34 |
-
"pad_token_id": 1,
|
| 35 |
-
"position_embedding_type": "rotary",
|
| 36 |
-
"problem_type": "single_label_classification",
|
| 37 |
-
"token_dropout": true,
|
| 38 |
-
"torch_dtype": "float32",
|
| 39 |
-
"transformers_version": "4.
|
| 40 |
-
"use_cache": true,
|
| 41 |
-
"vocab_list": null,
|
| 42 |
-
"vocab_size": 33
|
| 43 |
-
}
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/esm2_t12_35M_UR50D",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"EsmForSequenceClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"classifier_dropout": null,
|
| 8 |
+
"emb_layer_norm_before": false,
|
| 9 |
+
"esmfold_config": null,
|
| 10 |
+
"hidden_act": "gelu",
|
| 11 |
+
"hidden_dropout_prob": 0.0,
|
| 12 |
+
"hidden_size": 480,
|
| 13 |
+
"id2label": {
|
| 14 |
+
"0": "LABEL_0",
|
| 15 |
+
"1": "LABEL_1",
|
| 16 |
+
"2": "LABEL_2",
|
| 17 |
+
"3": "LABEL_3"
|
| 18 |
+
},
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 1920,
|
| 21 |
+
"is_folding_model": false,
|
| 22 |
+
"label2id": {
|
| 23 |
+
"LABEL_0": 0,
|
| 24 |
+
"LABEL_1": 1,
|
| 25 |
+
"LABEL_2": 2,
|
| 26 |
+
"LABEL_3": 3
|
| 27 |
+
},
|
| 28 |
+
"layer_norm_eps": 1e-05,
|
| 29 |
+
"mask_token_id": 32,
|
| 30 |
+
"max_position_embeddings": 1026,
|
| 31 |
+
"model_type": "esm",
|
| 32 |
+
"num_attention_heads": 20,
|
| 33 |
+
"num_hidden_layers": 12,
|
| 34 |
+
"pad_token_id": 1,
|
| 35 |
+
"position_embedding_type": "rotary",
|
| 36 |
+
"problem_type": "single_label_classification",
|
| 37 |
+
"token_dropout": true,
|
| 38 |
+
"torch_dtype": "float32",
|
| 39 |
+
"transformers_version": "4.41.2",
|
| 40 |
+
"use_cache": true,
|
| 41 |
+
"vocab_list": null,
|
| 42 |
+
"vocab_size": 33
|
| 43 |
+
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 136004132
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:412636c0b328eef2315b571b2d3891b479c31c65841bd26d931fdfd0242c2fcf
|
| 3 |
size 136004132
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cdb3ded96fce6fca243510b569abf1fc7d5fad01c7282ef56bfc1886163e3d7
|
| 3 |
+
size 4655
|