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
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.140e7eb
-
Update README.md
Verified signaturedcc603b
-
Update README.md
Verified signature29016d4
-
Update modeling_mplug_owl2.py
Verified signature58196b5
-
Update modeling_mplug_owl2.py
Verified signaturec036ddb -
Update modeling_mplug_owl2.py
Verified signaturebad555f -
Update modeling_mplug_owl2.py
Verified signature0cac618
-
Update modeling_mplug_owl2.py
Verified signature01730ee
-
Update README.md
Verified signatureb87e7e0
-
Update modeling_attn_mask_utils.py
Verified signature728ace9 -
Update modeling_llama2.py
Verified signature15f7bb4
-
Update modeling_mplug_owl2.py
7817ae3
-
Update README.md
3a518f4
-
Upload visual_encoder.py with huggingface_hub
b1ae627 -
Upload visual_encoder.py with huggingface_hub
4384eea -
Upload configuration_mplug_owl2.py with huggingface_hub
ba24430 -
Upload modeling_llama2.py with huggingface_hub
58b10f4
-
Update modeling_mplug_owl2.py
c6e7a7a -
Update README.md
0033227 -
Update README.md
7b864d8
-
Upload modeling_mplug_owl2.py with huggingface_hub
22e9be9 -
Upload modeling_mplug_owl2.py with huggingface_hub
9eb5225 -
Upload modeling_mplug_owl2.py with huggingface_hub
45d5056 -
Upload modeling_mplug_owl2.py with huggingface_hub
3d347a9 -
Upload modeling_mplug_owl2.py with huggingface_hub
241c337 -
Upload modeling_mplug_owl2.py with huggingface_hub
a118490 -
Upload modeling_mplug_owl2.py with huggingface_hub
798d795 -
Upload modeling_mplug_owl2.py with huggingface_hub
684dace -
Upload modeling_mplug_owl2.py with huggingface_hub
5e623ce -
Upload modeling_mplug_owl2.py with huggingface_hub
7803ab7 -
Upload visual_encoder.py with huggingface_hub
946fc84 -
Upload modeling_llama2.py with huggingface_hub
24d1a9a -
Upload modeling_mplug_owl2.py with huggingface_hub
f7464a2 -
Upload modeling_mplug_owl2.py with huggingface_hub
0d015b4 -
Upload modeling_llama2.py with huggingface_hub
661b272 -
Upload modeling_llama2.py with huggingface_hub
f75df80 -
Upload config.json with huggingface_hub
cbd4518 -
Upload config.json with huggingface_hub
dc1327d -
Upload config.json with huggingface_hub
5dddf6a -
Upload __init__.py with huggingface_hub
b0c868e -
Upload modeling_mplug_owl2.py with huggingface_hub
83aa27c -
Upload configuration_mplug_owl2.py with huggingface_hub
6938790 -
Upload modeling_mplug_owl2.py with huggingface_hub
b8bc897 -
Upload visual_encoder.py with huggingface_hub
4ca9f48 -
Upload modeling_mplug_owl2.py with huggingface_hub
4638546 -
Upload modeling_llama2.py with huggingface_hub
474d82c -
Upload modeling_attn_mask_utils.py with huggingface_hub
e17bbc3 -
Upload configuration_mplug_owl2.py with huggingface_hub
165707f -
Upload config.json with huggingface_hub
0d56321
-
Update README.md
0b08dc0