Instructions to use nielsr/bert-base-caption-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nielsr/bert-base-caption-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nielsr/bert-base-caption-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nielsr/bert-base-caption-classifier") model = AutoModelForSequenceClassification.from_pretrained("nielsr/bert-base-caption-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 3
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 438003505
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1e31644ea4e32fa23f878bcbaf873b324be2f0cc82309f20b7a303d70fdf5752
|
| 3 |
size 438003505
|
runs/Aug17_07-49-03_c7c6888d5458/events.out.tfevents.1692258554.c7c6888d5458.180.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d0401987042969db175376a267f74093db3ec456c6fc0651f1e28ac15a8730e
|
| 3 |
+
size 15717
|