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, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 161 Bytes
7933a89 | 1 2 3 4 5 6 7 8 9 | {
"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"
} |