Introduction of electrical-classification-bert-base
Model Details of electrical-classification-bert-base
electrical-classification-bert-base-uncased
Model description
This model is fine-tuned from
google-bert/bert-base-uncased
for text classification tasks, specifically sentiment analysis of customer feedback on electrical devices - circuit breakers, transformers, smart meters, inverters, solar panels, power strips etc. The model has been optimized to classify sentiments into categories such as Positive, Negative, Neutral, and Mixed with high f1 and accuracy scores, making it ideal for analyzing product reviews, customer surveys, and other feedback to derive actionable insights.
The following metrics were achieved during evaluation:
F1 Score:
0.8835
Accuracy:
0.8846
eval_runtime
: 0.8674
eval_samples_per_second
: 1558.742
eval_steps_per_second
: 25.364
Usage
You can use this model for Sentiment Analysis of the Electrical Device Feedback as follows:
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
model_name = "disham993/electrical-classification-bert-base"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
nlp = pipeline("text-classification", model=model, tokenizer=tokenizer)
text = "The new washing machine is efficient but produces a bit of noise."
classification_results = nlp(text)
print(classification_results)
Limitations and bias
The dataset includes synthetic data generated using Llama 3.1:8b, and despite careful optimization and prompt engineering, the model is not immune to errors in labeling. Additionally, as LLM technology is still in its early stages, there may be inherent inaccuracies or biases in the generated data that can impact the model's performance.
This model is intended for research and educational purposes only, and users are encouraged to validate results before applying them to critical applications.
Training Infrastructure
For a complete guide covering the entire process - from data tokenization to pushing the model to the Hugging Face Hub - please refer to the
GitHub repository
.
Last update
2025-01-05
Runs of disham993 electrical-classification-bert-base on huggingface.co
220
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About electrical-classification-bert-base huggingface.co Model
More electrical-classification-bert-base license Visit here:
electrical-classification-bert-base huggingface.co is an AI model on huggingface.co that provides electrical-classification-bert-base's model effect (), which can be used instantly with this disham993 electrical-classification-bert-base model. huggingface.co supports a free trial of the electrical-classification-bert-base model, and also provides paid use of the electrical-classification-bert-base. Support call electrical-classification-bert-base model through api, including Node.js, Python, http.
electrical-classification-bert-base huggingface.co is an online trial and call api platform, which integrates electrical-classification-bert-base's modeling effects, including api services, and provides a free online trial of electrical-classification-bert-base, you can try electrical-classification-bert-base online for free by clicking the link below.
disham993 electrical-classification-bert-base online free url in huggingface.co:
electrical-classification-bert-base is an open source model from GitHub that offers a free installation service, and any user can find electrical-classification-bert-base on GitHub to install. At the same time, huggingface.co provides the effect of electrical-classification-bert-base install, users can directly use electrical-classification-bert-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
electrical-classification-bert-base install url in huggingface.co: