Instructions to use PaddleCI/tiny-random-unimo-text-1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- paddlenlp
How to use PaddleCI/tiny-random-unimo-text-1.0 with paddlenlp:
from paddlenlp.transformers import AutoTokenizer, UNIMOLMHeadModel tokenizer = AutoTokenizer.from_pretrained("PaddleCI/tiny-random-unimo-text-1.0", from_hf_hub=True) model = UNIMOLMHeadModel.from_pretrained("PaddleCI/tiny-random-unimo-text-1.0", from_hf_hub=True) - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "UNIMOLMHeadModel" | |
| ], | |
| "vocab_size": 18000, | |
| "hidden_size": 8, | |
| "num_hidden_layers": 2, | |
| "num_attention_heads": 2, | |
| "intermediate_size": 8, | |
| "hidden_act": "relu", | |
| "hidden_dropout_prob": 0.1, | |
| "attention_probs_dropout_prob": 0.1, | |
| "normalize_before": false, | |
| "max_position_embeddings": 513, | |
| "type_vocab_size": 4, | |
| "initializer_range": 0.02, | |
| "unk_token_id": 17963, | |
| "pad_token_id": 0, | |
| "bos_token_id": 1, | |
| "eos_token_id": 3, | |
| "mask_token_id": 3, | |
| "model_type": "unimo" | |
| } |