Instructions to use tomhaishiwo/conflicbert_binary_1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tomhaishiwo/conflicbert_binary_1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tomhaishiwo/conflicbert_binary_1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tomhaishiwo/conflicbert_binary_1") model = AutoModelForSequenceClassification.from_pretrained("tomhaishiwo/conflicbert_binary_1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
94172d4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:bd120cc4bae515923b96b5d3ff6586eec52261fe3d96750e6c763a9210fcde32
size 4091
|