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 +5 -5
- pytorch_model.bin +2 -2
- tokenizer_config.json +1 -1
- training_args.bin +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "facebook/
|
| 3 |
"architectures": [
|
| 4 |
"EsmForSequenceClassification"
|
| 5 |
],
|
|
@@ -9,7 +9,7 @@
|
|
| 9 |
"esmfold_config": null,
|
| 10 |
"hidden_act": "gelu",
|
| 11 |
"hidden_dropout_prob": 0.0,
|
| 12 |
-
"hidden_size":
|
| 13 |
"id2label": {
|
| 14 |
"0": "LABEL_0",
|
| 15 |
"1": "LABEL_1",
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
"3": "LABEL_3"
|
| 18 |
},
|
| 19 |
"initializer_range": 0.02,
|
| 20 |
-
"intermediate_size":
|
| 21 |
"is_folding_model": false,
|
| 22 |
"label2id": {
|
| 23 |
"LABEL_0": 0,
|
|
@@ -30,13 +30,13 @@
|
|
| 30 |
"max_position_embeddings": 1026,
|
| 31 |
"model_type": "esm",
|
| 32 |
"num_attention_heads": 20,
|
| 33 |
-
"num_hidden_layers":
|
| 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.33.
|
| 40 |
"use_cache": true,
|
| 41 |
"vocab_list": null,
|
| 42 |
"vocab_size": 33
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "facebook/esm2_t12_35M_UR50D",
|
| 3 |
"architectures": [
|
| 4 |
"EsmForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 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",
|
|
|
|
| 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,
|
|
|
|
| 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.33.3",
|
| 40 |
"use_cache": true,
|
| 41 |
"vocab_list": null,
|
| 42 |
"vocab_size": 33
|
pytorch_model.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:ffe46ef89b6113c431e1902b06454efd423bf79ead57bb91ff74f3c5d4ced849
|
| 3 |
+
size 136051621
|
tokenizer_config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
-
"model_max_length":
|
| 4 |
"tokenizer_class": "EsmTokenizer"
|
| 5 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"clean_up_tokenization_spaces": true,
|
| 3 |
+
"model_max_length": 1024,
|
| 4 |
"tokenizer_class": "EsmTokenizer"
|
| 5 |
}
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4091
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55b056cd591b7d7685a6cae8251485327650139936b6d6594177e5ed61cd133d
|
| 3 |
size 4091
|