Instructions to use tweettemposhift/topic-topic_temporal-bernice with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tweettemposhift/topic-topic_temporal-bernice with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="tweettemposhift/topic-topic_temporal-bernice")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tweettemposhift/topic-topic_temporal-bernice") model = AutoModelForSequenceClassification.from_pretrained("tweettemposhift/topic-topic_temporal-bernice") - Notebooks
- Google Colab
- Kaggle
File size: 1,385 Bytes
026f469 | 1 | {"test/eval_loss": 0.13069254159927368, "test/eval_f1": 0.6712110883890026, "test/eval_f1_macro": 0.3709382579431756, "test/eval_accuracy": 0.44848123883263846, "test/eval_runtime": 12.9752, "test/eval_samples_per_second": 129.4, "test/eval_steps_per_second": 8.092, "test_1/eval_loss": 0.1296781301498413, "test_1/eval_f1": 0.6622765757290687, "test_1/eval_f1_macro": 0.3421282547954285, "test_1/eval_accuracy": 0.4606205250596659, "test_1/eval_runtime": 3.5647, "test_1/eval_samples_per_second": 117.543, "test_1/eval_steps_per_second": 7.574, "test_2/eval_loss": 0.13283224403858185, "test_2/eval_f1": 0.6823104693140793, "test_2/eval_f1_macro": 0.3989547741431865, "test_2/eval_accuracy": 0.431980906921241, "test_2/eval_runtime": 3.3236, "test_2/eval_samples_per_second": 126.068, "test_2/eval_steps_per_second": 8.124, "test_3/eval_loss": 0.1283273845911026, "test_3/eval_f1": 0.6768953068592057, "test_3/eval_f1_macro": 0.35127741712420285, "test_3/eval_accuracy": 0.4510739856801909, "test_3/eval_runtime": 3.3403, "test_3/eval_samples_per_second": 125.438, "test_3/eval_steps_per_second": 8.083, "test_4/eval_loss": 0.13231153786182404, "test_4/eval_f1": 0.6631016042780749, "test_4/eval_f1_macro": 0.3517918631859455, "test_4/eval_accuracy": 0.45023696682464454, "test_4/eval_runtime": 3.3752, "test_4/eval_samples_per_second": 125.029, "test_4/eval_steps_per_second": 7.999} |