Instructions to use q-future/Compare2Score with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use q-future/Compare2Score with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="q-future/Compare2Score", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("q-future/Compare2Score", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __init__.py from q-future/Compare2Score: direct link, hf CLI and curl.
- Browser
- Download file 112 Bytes
-
https://huggingface.co/q-future/Compare2Score/resolve/main/__init__.py
- Command line
-
hf download hf://q-future/Compare2Score/__init__.py
-
curl -L -o __init__.py https://huggingface.co/q-future/Compare2Score/resolve/main/__init__.py
112 Bytes
| from .modeling_mplug_owl2 import MPLUGOwl2LlamaForCausalLM | |
| from .configuration_mplug_owl2 import MPLUGOwl2Config |