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
Create readme.md
Browse files
readme.md
CHANGED
|
@@ -46,4 +46,4 @@ print("The quality score of this image is {}.".format(scorer(image_path)))
|
|
| 46 |
journal={arXiv preprint arXiv:2405.19298},
|
| 47 |
year={2024},
|
| 48 |
}
|
| 49 |
-
```
|
|
|
|
| 46 |
journal={arXiv preprint arXiv:2405.19298},
|
| 47 |
year={2024},
|
| 48 |
}
|
| 49 |
+
```
|