keras-io / text-classification-with-transformer

huggingface.co
Total runs: 25
24-hour runs: 0
7-day runs: -5
30-day runs: -8
Model's Last Updated: July 05 2024
text-classification

Introduction of text-classification-with-transformer

Model Details of text-classification-with-transformer

Model description

Implement a Transformer block as a Keras layer and use it for text classification.

For details on the implementation, please see the original link on keras

Full credits to: Apoorv Nandan

Training and evaluation data

The model is trained and evaluated on the IMDB dataset for sentiment analysis.

Details on the dataset can be found on keras

Note that the keras dataset is already tokenized, so the model doesn't have an associated tokenizer. Since the hosted text classification pipeline only accepts text as input, it is currently broken.

For a live demo of the model using my own tokenizer, please use the space

Training hyperparameters

The following hyperparameters were used during training:

name learning_rate decay beta_1 beta_2 epsilon amsgrad training_precision
Adam 0.0010000000474974513 0.0 0.8999999761581421 0.9990000128746033 1e-07 False float32
Training Metrics
Epochs Train Loss Train Accuracy Validation Loss Validation Accuracy
1 0.385 0.819 0.298 0.868
2 0.198 0.925 0.333 0.863
Model Plot
View Model Plot

Model Image

Runs of keras-io text-classification-with-transformer on huggingface.co

25
Total runs
0
24-hour runs
-1
3-day runs
-5
7-day runs
-8
30-day runs

More Information About text-classification-with-transformer huggingface.co Model

text-classification-with-transformer huggingface.co

text-classification-with-transformer huggingface.co is an AI model on huggingface.co that provides text-classification-with-transformer's model effect (), which can be used instantly with this keras-io text-classification-with-transformer model. huggingface.co supports a free trial of the text-classification-with-transformer model, and also provides paid use of the text-classification-with-transformer. Support call text-classification-with-transformer model through api, including Node.js, Python, http.

text-classification-with-transformer huggingface.co Url

https://huggingface.co/keras-io/text-classification-with-transformer

keras-io text-classification-with-transformer online free

text-classification-with-transformer huggingface.co is an online trial and call api platform, which integrates text-classification-with-transformer's modeling effects, including api services, and provides a free online trial of text-classification-with-transformer, you can try text-classification-with-transformer online for free by clicking the link below.

keras-io text-classification-with-transformer online free url in huggingface.co:

https://huggingface.co/keras-io/text-classification-with-transformer

text-classification-with-transformer install

text-classification-with-transformer is an open source model from GitHub that offers a free installation service, and any user can find text-classification-with-transformer on GitHub to install. At the same time, huggingface.co provides the effect of text-classification-with-transformer install, users can directly use text-classification-with-transformer installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

text-classification-with-transformer install url in huggingface.co:

https://huggingface.co/keras-io/text-classification-with-transformer

Url of text-classification-with-transformer

text-classification-with-transformer huggingface.co Url

Provider of text-classification-with-transformer huggingface.co

keras-io
ORGANIZATIONS

Other API from keras-io

huggingface.co

Total runs: 33
Run Growth: 27
Growth Rate: 84.38%
Updated:August 15 2022
huggingface.co

Total runs: 32
Run Growth: 14
Growth Rate: 43.75%
Updated:February 18 2022
huggingface.co

Total runs: 16
Run Growth: -5
Growth Rate: -31.25%
Updated:May 23 2025
huggingface.co

Total runs: 15
Run Growth: 11
Growth Rate: 73.33%
Updated:February 23 2022
huggingface.co

Total runs: 14
Run Growth: 6
Growth Rate: 42.86%
Updated:July 05 2024
huggingface.co

Total runs: 14
Run Growth: 7
Growth Rate: 50.00%
Updated:February 06 2022
huggingface.co

Total runs: 14
Run Growth: 5
Growth Rate: 27.78%
Updated:January 13 2022
huggingface.co

Total runs: 12
Run Growth: -4
Growth Rate: -36.36%
Updated:February 04 2022
huggingface.co

Total runs: 11
Run Growth: 5
Growth Rate: 50.00%
Updated:July 05 2024
huggingface.co

Total runs: 10
Run Growth: -7
Growth Rate: -70.00%
Updated:July 05 2024
huggingface.co

Total runs: 10
Run Growth: -3
Growth Rate: -27.27%
Updated:July 05 2024
huggingface.co

Total runs: 9
Run Growth: -2
Growth Rate: -25.00%
Updated:July 05 2024
huggingface.co

Total runs: 9
Run Growth: 1
Growth Rate: 11.11%
Updated:July 05 2024
huggingface.co

Total runs: 7
Run Growth: 6
Growth Rate: 85.71%
Updated:March 01 2022
huggingface.co

Total runs: 7
Run Growth: -4
Growth Rate: -57.14%
Updated:July 05 2024
huggingface.co

Total runs: 6
Run Growth: -14
Growth Rate: -233.33%
Updated:July 05 2024
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:July 05 2024
huggingface.co

Total runs: 3
Run Growth: -5
Growth Rate: -166.67%
Updated:July 05 2024
huggingface.co

Total runs: 2
Run Growth: -4
Growth Rate: -200.00%
Updated:July 05 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:February 16 2022
huggingface.co

Total runs: 1
Run Growth: -1
Growth Rate: -100.00%
Updated:July 05 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 12 2023