Instructions to use barca-boy/sent_analysis_bert_simple with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use barca-boy/sent_analysis_bert_simple with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="barca-boy/sent_analysis_bert_simple")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("barca-boy/sent_analysis_bert_simple") model = AutoModelForSequenceClassification.from_pretrained("barca-boy/sent_analysis_bert_simple", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| base_model: bert-base-uncased | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: sent_analysis_bert_simple | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # sent_analysis_bert_simple | |
| This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.5657 | |
| ## Model description | |
| More information needed | |
| ## Intended uses & limitations | |
| More information needed | |
| ## Training and evaluation data | |
| More information needed | |
| ## Training procedure | |
| ### Training hyperparameters | |
| The following hyperparameters were used during training: | |
| - learning_rate: 2e-05 | |
| - train_batch_size: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 10 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | | |
| |:-------------:|:-----:|:-----:|:---------------:| | |
| | 0.6565 | 1.0 | 3125 | 0.6467 | | |
| | 0.6365 | 2.0 | 6250 | 0.6191 | | |
| | 0.6134 | 3.0 | 9375 | 0.6110 | | |
| | 0.6034 | 4.0 | 12500 | 0.5904 | | |
| | 0.5905 | 5.0 | 15625 | 0.5806 | | |
| | 0.5942 | 6.0 | 18750 | 0.5751 | | |
| | 0.5803 | 7.0 | 21875 | 0.5722 | | |
| | 0.5726 | 8.0 | 25000 | 0.5676 | | |
| | 0.5745 | 9.0 | 28125 | 0.5654 | | |
| | 0.5746 | 10.0 | 31250 | 0.5657 | | |
| ### Framework versions | |
| - Transformers 4.43.3 | |
| - Pytorch 2.2.1+cu121 | |
| - Datasets 2.20.0 | |
| - Tokenizers 0.19.1 | |