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