Instructions to use zhangtaolab/agront-1b-H3K4me3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhangtaolab/agront-1b-H3K4me3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="zhangtaolab/agront-1b-H3K4me3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("zhangtaolab/agront-1b-H3K4me3") model = AutoModelForSequenceClassification.from_pretrained("zhangtaolab/agront-1b-H3K4me3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from zhangtaolab/agront-1b-H3K4me3: direct link, hf CLI and curl.
- Browser
- Download file 929 Bytes
-
https://huggingface.co/zhangtaolab/agront-1b-H3K4me3/resolve/main/config.json
- Command line
-
hf download hf://zhangtaolab/agront-1b-H3K4me3/config.json
-
curl -L -o config.json https://huggingface.co/zhangtaolab/agront-1b-H3K4me3/resolve/main/config.json
929 Bytes
| { | |
| "_name_or_path": "AgroNT_1b_H3K4me3", | |
| "architectures": [ | |
| "EsmForSequenceClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.0, | |
| "emb_layer_norm_before": false, | |
| "esmfold_config": null, | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 1500, | |
| "id2label": { | |
| "0": "Not H3K4me3", | |
| "1": "H3K4me3" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 5120, | |
| "is_folding_model": false, | |
| "label2id": { | |
| "Not H3K4me3": 0, | |
| "H3K4me3": 1 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "mask_token_id": 2, | |
| "max_position_embeddings": 1026, | |
| "model_type": "esm", | |
| "num_attention_heads": 20, | |
| "num_hidden_layers": 40, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "absolute", | |
| "problem_type": "single_label_classification", | |
| "tie_word_embeddings": false, | |
| "token_dropout": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.39.1", | |
| "use_cache": false, | |
| "vocab_list": null, | |
| "vocab_size": 4107 | |
| } | |