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
| { | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "max_length": 4096, | |
| "pad_token_id": 0, | |
| "temperature": 0.9, | |
| "top_p": 0.6, | |
| "transformers_version": "4.31.0" | |
| } |