Instructions to use ydshieh/tiny-random-BertForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ydshieh/tiny-random-BertForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ydshieh/tiny-random-BertForSequenceClassification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ydshieh/tiny-random-BertForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("ydshieh/tiny-random-BertForSequenceClassification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
205f096
1
Parent(s): e286b00
Adding `safetensors` variant of this model
Browse files- model.safetensors +3 -0
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7f4c9cf6b72c3c03acc69b14e5c6b1d1f284ceaf39cba7502ba8108bba42fe21
|
| 3 |
+
size 365848
|