AmazonScience/massive
Viewer • Updated • 2.56M • 11.9k • 87
How to use cartesinus/bert-base-uncased-amazon-massive-intent with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="cartesinus/bert-base-uncased-amazon-massive-intent") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("cartesinus/bert-base-uncased-amazon-massive-intent")
model = AutoModelForSequenceClassification.from_pretrained("cartesinus/bert-base-uncased-amazon-massive-intent")This model is a fine-tuned version of bert-base-uncased on Amazon Massive dataset (only en-US subset). It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| 2.5862 | 1.0 | 720 | 1.0160 | 0.8096 | 0.8096 |
| 1.0591 | 2.0 | 1440 | 0.6003 | 0.8716 | 0.8716 |
| 0.4151 | 3.0 | 2160 | 0.5113 | 0.8859 | 0.8859 |
| 0.3028 | 4.0 | 2880 | 0.5030 | 0.8883 | 0.8883 |
| 0.1852 | 5.0 | 3600 | 0.4897 | 0.8903 | 0.8903 |
Base model
google-bert/bert-base-uncased