Instructions to use Taykhoom/ERNIE-RNA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Taykhoom/ERNIE-RNA with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Taykhoom/ERNIE-RNA", trust_remote_code=True)# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Taykhoom/ERNIE-RNA", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "activation_dropout": 0.0, | |
| "activation_fn": "gelu", | |
| "architectures": [ | |
| "ErnieRNAForMaskedLM" | |
| ], | |
| "attention_dropout": 0.1, | |
| "attention_heads": 12, | |
| "auto_map": { | |
| "AutoConfig": "configuration_ernierna.ErnieRNAConfig", | |
| "AutoModel": "modeling_ernierna.ErnieRNAModel", | |
| "AutoModelForMaskedLM": "modeling_ernierna.ErnieRNAForMaskedLM" | |
| }, | |
| "dropout": 0.1, | |
| "embed_dim": 768, | |
| "ffn_embed_dim": 3072, | |
| "mask_idx": 24, | |
| "max_positions": 1024, | |
| "model_max_length": 1024, | |
| "model_type": "ernie_rna", | |
| "num_layers": 12, | |
| "num_segments": 2, | |
| "padding_idx": 1, | |
| "transformers_version": "4.57.6", | |
| "vocab_size": 25 | |
| } | |