Instructions to use bumblebee-testing/tiny-random-LlamaForSequenceClassification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bumblebee-testing/tiny-random-LlamaForSequenceClassification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="bumblebee-testing/tiny-random-LlamaForSequenceClassification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("bumblebee-testing/tiny-random-LlamaForSequenceClassification") model = AutoModelForSequenceClassification.from_pretrained("bumblebee-testing/tiny-random-LlamaForSequenceClassification") - Notebooks
- Google Colab
- Kaggle
Commit ·
1904ea7
1
Parent(s): 1232851
Upload LlamaForSequenceClassification
Browse files- config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -27,5 +27,5 @@
|
|
| 27 |
"transformers_version": "4.36.0.dev0",
|
| 28 |
"type_vocab_size": 16,
|
| 29 |
"use_cache": true,
|
| 30 |
-
"vocab_size":
|
| 31 |
}
|
|
|
|
| 27 |
"transformers_version": "4.36.0.dev0",
|
| 28 |
"type_vocab_size": 16,
|
| 29 |
"use_cache": true,
|
| 30 |
+
"vocab_size": 1024
|
| 31 |
}
|
model.safetensors
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:13c69f2c7626283f054080410f3da00b9eb29138d3190957ea2e3c4b658b761e
|
| 3 |
+
size 195296
|