Run this model with HF Jobs
Run Xenova/tiny-random-RoFormerModel 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/Xenova/tiny-random-RoFormerModel. 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/Xenova/tiny-random-RoFormerModel 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 Xenova/tiny-random-RoFormerModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/tiny-random-RoFormerModel with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('feature-extraction', 'Xenova/tiny-random-RoFormerModel');
Add/update the quantized ONNX model files and README.md for Transformers.js v3 (#1)
Browse files- Add/update the quantized ONNX model files and README.md for Transformers.js v3 (6ef56b9436159f0a86ab5e7d1da6d3806cb5ed17)
Co-authored-by: Yuichiro Tachibana <whitphx@users.noreply.huggingface.co>
Files changed (6)
- README.md+16
- onnx/model_bnb4.onnxAdded+3
- onnx/model_int8.onnxAdded+3
- onnx/model_q4.onnxAdded+3
- onnx/model_q4f16.onnxAdded+3
- onnx/model_uint8.onnxAdded+3
4 unmodified lines56784 unmodified lineshttps://huggingface.co/hf-tiny-model-private/tiny-random-RoFormerModel with ONNX weights to be compatible with Transformers.js.Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using [🤗 Optimum](https://huggingface.co/docs/optimum/index) and structuring your repo like this one (with ONNX weights located in a subfolder named `onnx`).4 unmodified lines567891011121314151617181920212223244 unmodified lineshttps://huggingface.co/hf-tiny-model-private/tiny-random-RoFormerModel with ONNX weights to be compatible with Transformers.js.## Usage (Transformers.js)If you haven't already, you can install the [Transformers.js](https://huggingface.co/docs/transformers.js) JavaScript library from [NPM](https://www.npmjs.com/package/@huggingface/transformers) using:```bashnpm i @huggingface/transformers```**Example:** Run feature extraction.```jsimport { pipeline } from '@huggingface/transformers';const extractor = await pipeline('feature-extraction', 'Xenova/tiny-random-RoFormerModel');const output = await extractor('This is a simple test.');```Note: Having a separate repo for ONNX weights is intended to be a temporary solution until WebML gains more traction. If you would like to make your models web-ready, we recommend converting to ONNX using [🤗 Optimum](https://huggingface.co/docs/optimum/index) and structuring your repo like this one (with ONNX weights located in a subfolder named `onnx`).
123version https://git-lfs.github.com/spec/v1oid sha256:682271b82ba3780ed660f5304317e02950e425e7d3d5f490c9658e50b83332ffsize 6579233123version https://git-lfs.github.com/spec/v1oid sha256:b1dbe22ab820aac5a1f3d83f00d836026f34ade00813af20fc2ab91539a5ffe0size 1811727123version https://git-lfs.github.com/spec/v1oid sha256:bdc521620da433ccdd63ae87015a264e0cd8ffde2976d94f71f2c28fe780f010size 6583753123version https://git-lfs.github.com/spec/v1oid sha256:57823bbd6d13068b426ca831294a6398da0ab48387b8ad1fd52d9793139ad793size 3372369123version https://git-lfs.github.com/spec/v1oid sha256:0390b0599048f05a71b6c04053ff80524bbc8255cb5eccd8e3fee5cfe7c60904size 1811735README.md+16
onnx/model_bnb4.onnxAdded+3
onnx/model_int8.onnxAdded+3
onnx/model_q4.onnxAdded+3
onnx/model_q4f16.onnxAdded+3
onnx/model_uint8.onnxAdded+3