Instructions to use lenguist/longformer-coherence-synthetic-preference with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lenguist/longformer-coherence-synthetic-preference with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lenguist/longformer-coherence-synthetic-preference")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lenguist/longformer-coherence-synthetic-preference") model = AutoModelForSequenceClassification.from_pretrained("lenguist/longformer-coherence-synthetic-preference") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 45e37e94bf616508aef32b17945c7807f6e3f6020ce78c9f97da1d385add7e75
- Size of remote file:
- 4.6 kB
- SHA256:
- e584ccebd2c9a37377080b048cdb7a2c0875752d069710d5010107c8a2b6978c
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.