Text Classification
Transformers
ONNX
Safetensors
bert
Eval Results (legacy)
text-embeddings-inference
Instructions to use AdamCodd/tinybert-sentiment-amazon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AdamCodd/tinybert-sentiment-amazon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AdamCodd/tinybert-sentiment-amazon")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AdamCodd/tinybert-sentiment-amazon") model = AutoModelForSequenceClassification.from_pretrained("AdamCodd/tinybert-sentiment-amazon") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,7 +33,7 @@ This model is a fine-tuned version of [bert-tiny](prajjwal1/bert-tiny) on [amazo
|
|
| 33 |
## Model description
|
| 34 |
|
| 35 |
TinyBERT is 7.5 times smaller and 9.4 times faster on inference compared to its teacher BERT model (while DistilBERT is 40% smaller and 1.6 times faster than BERT).
|
| 36 |
-
|
| 37 |
|
| 38 |
## Intended uses & limitations
|
| 39 |
While this model may not be as accurate as the distilbert model, its performance should be enough for most use cases.
|
|
|
|
| 33 |
## Model description
|
| 34 |
|
| 35 |
TinyBERT is 7.5 times smaller and 9.4 times faster on inference compared to its teacher BERT model (while DistilBERT is 40% smaller and 1.6 times faster than BERT).
|
| 36 |
+
This model was trained using the entire dataset (3.6M of samples) in constrast to the [distilbert model](https://huggingface.co/AdamCodd/distilbert-base-uncased-finetuned-sentiment-amazon) which was trained on only 10% of the dataset.
|
| 37 |
|
| 38 |
## Intended uses & limitations
|
| 39 |
While this model may not be as accurate as the distilbert model, its performance should be enough for most use cases.
|