Text Classification
Transformers
TensorBoard
ONNX
Safetensors
PyTorch
English
bert
movie-review-sentiment
BertForSequenceClassification
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use arnabdhar/tinybert-imdb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arnabdhar/tinybert-imdb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="arnabdhar/tinybert-imdb")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("arnabdhar/tinybert-imdb") model = AutoModelForSequenceClassification.from_pretrained("arnabdhar/tinybert-imdb") - Notebooks
- Google Colab
- Kaggle
Upload config.json with huggingface_hub
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
@@ -27,7 +27,7 @@
|
|
| 27 |
"position_embedding_type": "absolute",
|
| 28 |
"problem_type": "single_label_classification",
|
| 29 |
"torch_dtype": "float32",
|
| 30 |
-
"transformers_version": "4.
|
| 31 |
"type_vocab_size": 2,
|
| 32 |
"use_cache": true,
|
| 33 |
"vocab_size": 30522
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "arnabdhar/tinybert-imdb",
|
| 3 |
"architectures": [
|
| 4 |
"BertForSequenceClassification"
|
| 5 |
],
|
|
|
|
| 27 |
"position_embedding_type": "absolute",
|
| 28 |
"problem_type": "single_label_classification",
|
| 29 |
"torch_dtype": "float32",
|
| 30 |
+
"transformers_version": "4.36.1",
|
| 31 |
"type_vocab_size": 2,
|
| 32 |
"use_cache": true,
|
| 33 |
"vocab_size": 30522
|