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+1-1
- model_state.pdparams+2-2
11 unmodified lines1213141516171811 unmodified lines"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,11 unmodified lines1213141516171811 unmodified lines"initializer_range": 0.02,"intermediate_size": 8,"layer_norm_eps": 1e-12,"max_position_embeddings": 2048,"model_type": "ernie","num_attention_heads": 2,"num_hidden_layers": 2,
123version https://git-lfs.github.com/spec/v1oid sha256:3db0309fa963d96d5017922d66198d993a06fa0a1cb93477622d17239a600895size 2729795123version https://git-lfs.github.com/spec/v1oid sha256:1fe621a1d8a910ad27f1ca973c28806294d738d2e8fe2a64c6cb193f014fdc77size 2795061
config.json+1-1
model_state.pdparams+2-2