Instructions to use sarkerlab/SocBERT-final with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sarkerlab/SocBERT-final with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="sarkerlab/SocBERT-final")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("sarkerlab/SocBERT-final") model = AutoModelForMaskedLM.from_pretrained("sarkerlab/SocBERT-final", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
05abe07 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:f318e9f0b4f3b0f36663802bc17cf439f4cd15d14ca300fa2ef696ed249204fc
size 571872978
|