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)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("q-future/Compare2Score", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Create __init__.py
Browse files- __init__.py +2 -0
__init__.py
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from .modeling_mplug_owl2 import MPLUGOwl2LlamaForCausalLM
|
| 2 |
+
from .configuration_mplug_owl2 import MPLUGOwl2Config
|