Instructions to use sijunhe/ci-test-ernie-model-test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- paddlenlp
How to use sijunhe/ci-test-ernie-model-test with paddlenlp:
# ⚠️ Type of model unknown from paddlenlp.transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("sijunhe/ci-test-ernie-model-test", from_hf_hub=True) model = AutoModel.from_pretrained("sijunhe/ci-test-ernie-model-test", from_hf_hub=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "attention_probs_dropout_prob": 0.1, | |
| "intermediate_size": 32, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 32, | |
| "initializer_range": 0.02, | |
| "max_position_embeddings": 64, | |
| "num_attention_heads": 4, | |
| "num_hidden_layers": 4, | |
| "type_vocab_size": 4, | |
| "vocab_size": 30522, | |
| "pad_token_id": 0, | |
| "init_class": "ErnieModel" | |
| } |