Run this model with HF Jobs
Run PaddleCI/tiny-random-ernie on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/PaddleCI/tiny-random-ernie. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/PaddleCI/tiny-random-ernie on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use PaddleCI/tiny-random-ernie with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- paddlenlp
How to use PaddleCI/tiny-random-ernie with paddlenlp:
from paddlenlp.transformers import AutoTokenizer, ErnieForMaskedLM tokenizer = AutoTokenizer.from_pretrained("PaddleCI/tiny-random-ernie", from_hf_hub=True) model = ErnieForMaskedLM.from_pretrained("PaddleCI/tiny-random-ernie", from_hf_hub=True) - Notebooks
- Google Colab
- Kaggle
Upload with huggingface_hub
Browse filesFiles changed (2)
- config.json+2-2
- model_state.pdparams+2-2
7 unmodified lines8910111213141516171819207 unmodified lines"fuse": false,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 312,"initializer_range": 0.02,"intermediate_size": 8,"layer_norm_eps": 1e-12,"max_position_embeddings": 8,"model_type": "ernie","num_attention_heads": 12,"num_hidden_layers": 2,"pad_token_id": 0,"paddlenlp_version": null,7 unmodified lines8910111213141516171819207 unmodified lines"fuse": false,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 8,"initializer_range": 0.02,"intermediate_size": 8,"layer_norm_eps": 1e-12,"max_position_embeddings": 8,"model_type": "ernie","num_attention_heads": 2,"num_hidden_layers": 2,"pad_token_id": 0,"paddlenlp_version": null,
123version https://git-lfs.github.com/spec/v1oid sha256:2150976d08b2a7ec1d03b859967a6acfdd883052648d556b16cf77ee37d5f912size 104003333123version https://git-lfs.github.com/spec/v1oid sha256:3db0309fa963d96d5017922d66198d993a06fa0a1cb93477622d17239a600895size 2729795
config.json+2-2
model_state.pdparams+2-2