Instructions to use Contrastive-Tension/BERT-Base-Swe-CT-STSb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Contrastive-Tension/BERT-Base-Swe-CT-STSb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Contrastive-Tension/BERT-Base-Swe-CT-STSb")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Contrastive-Tension/BERT-Base-Swe-CT-STSb") model = AutoModel.from_pretrained("Contrastive-Tension/BERT-Base-Swe-CT-STSb", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
01ef3e5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cb0cbeb90fa4624d5187db71c6b5626b6632aa8b52fa85b1e9b1a142bd0cf96d
size 498813071
|