Run this model with HF Jobs
Run q-future/one-align 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/q-future/one-align. 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/q-future/one-align 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 q-future/one-align with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use q-future/one-align with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-image-classification", model="q-future/one-align", trust_remote_code=True) pipe( "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png", candidate_labels=["animals", "humans", "landscape"], )# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("q-future/one-align", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fix SDPA & Flash-Attention
#7 opened over 1 year ago
by
Agnellino
how to calculate the score with batch?
#6 opened about 2 years ago
by
Phoenix1551
Adding `safetensors` variant of this model
#5 opened about 2 years ago
by
SFconvertbot
Removing the if __name__ == "__main__" part which (if I am not mistaken) would never be used in this scenario.
#4 opened over 2 years ago
by
fboeEl
remove unnecessary import of ice cream
#3 opened over 2 years ago
by
fboeEl
Adding `safetensors` variant of this model
#2 opened over 2 years ago
by
SFconvertbot
How to use video evaluation?
#1 opened almost 3 years ago
by
gauravsaha