Text Classification
Transformers
PyTorch
Safetensors
English
bert
sagemaker
bert-base-uncased
text classification
Eval Results (legacy)
text-embeddings-inference
Instructions to use Jorgeutd/bert-base-uncased-ade-Ade-corpus-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jorgeutd/bert-base-uncased-ade-Ade-corpus-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Jorgeutd/bert-base-uncased-ade-Ade-corpus-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Jorgeutd/bert-base-uncased-ade-Ade-corpus-v2") model = AutoModelForSequenceClassification.from_pretrained("Jorgeutd/bert-base-uncased-ade-Ade-corpus-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (d4ba2e1e0345ef6e376f7212ede232dd7d2d565e) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>1cf23f9
-
update read me with widget.
Jorge Lopez Grisman65b3b51
-
adding examples and Usage
Jorge Lopez Grisman3f266b1 -
Fixing readme manually.
Jorge Lopez Grisman5a1e98d -
adding metrics to readme.
Jorge Lopez Grisman03e3d09 -
fixing readme
Jorge Lopez Grisman1e9d4d8 -
adding readme manually.
Jorge Lopez Grismanbb47ca3 -
commit files to HF hub
Jorgeutde24d61e -
Update README.md
Jorge Lopez Grisman1bb5533 -
Create README.md
Jorge Lopez Grisman5e5c63d -
Delete README.md
Jorge Lopez Grismane1b0efa -
--- language: en tags: - sagemaker - bert-base-uncased - text classification license: apache-2.0 datasets: - adecorpusv2 model-index: - name: bert-base-uncased results: - task: name: Text Classification type: text-classification dataset: name: "ade_corpus_v2Ade_corpus_v2_classification" type: ade_corpus metrics: -name: Validation accuracy type: accuracy value: 0.9298021697511167 -name: Validation f1 type: f1 value: 0.827315541601256 -name: eValidation loss type: loss value: 0.17835010588169098 -name: Validation recall type: recall value: 0.823437 -name: Validation precision type: precision value: 0.831230283911672 --- ## bert-base-uncased This model was trained using Amazon SageMaker and the new Hugging Face Deep Learning container. ## Hyperparameters ```json { "do_eval": true, "do_train": true, "fp16": true, "load_best_model_at_end": true, "model_name": "bert-base-uncased", "num_train_epochs": 10, "per_device_eval_batch_size": 16, "per_device_train_batch_size": 16, "learning_rate":5e-5 } ``` ## Validation Metrics | key | value | | --- | ----- | | eval_accuracy | 0.9298021697511167 | | eval_auc | 0.8902672664394546 | | eval_f1 | 0.827315541601256 | | eval_loss | 0.17835010588169098 | | eval_recall | 0.8234375 | | eval_precision | 0.831230283911672 |
Jorge Lopez Grisman9cec7af
-
initial commit
24cb054