Run this model with HF Jobs
Run YakovElm/Qt_10_BERT_Over_Sampling on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/YakovElm/Qt_10_BERT_Over_Sampling. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/YakovElm/Qt_10_BERT_Over_Sampling on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use YakovElm/Qt_10_BERT_Over_Sampling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use YakovElm/Qt_10_BERT_Over_Sampling with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="YakovElm/Qt_10_BERT_Over_Sampling")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("YakovElm/Qt_10_BERT_Over_Sampling") model = AutoModelForSequenceClassification.from_pretrained("YakovElm/Qt_10_BERT_Over_Sampling", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload TFBertForSequenceClassification
Browse filesFiles changed (3)
- README.mdAdded+57
- config.jsonAdded+25
- tf_model.h5Added+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657---license: apache-2.0tags:- generated_from_keras_callbackmodel-index:- name: Qt_10_BERT_Over_Sampling results: []---
<!-- This model card has been generated automatically according to the information Keras had access to. You shouldprobably proofread and complete it, then remove this comment. -->
# Qt_10_BERT_Over_Sampling
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:- Train Loss: 0.0404- Train Accuracy: 0.9843- Validation Loss: 0.4106- Validation Accuracy: 0.9205- Epoch: 2
## 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:- optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': 1.0, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': False, 'is_legacy_optimizer': False, 'learning_rate': 3e-05, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}- training_precision: float32
### Training results
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch ||:----------:|:--------------:|:---------------:|:-------------------:|:-----:|| 0.4349 | 0.7829 | 0.3376 | 0.8686 | 0 || 0.1023 | 0.9645 | 0.3564 | 0.9238 | 1 || 0.0404 | 0.9843 | 0.4106 | 0.9205 | 2 |
### Framework versions
- Transformers 4.29.2- TensorFlow 2.12.0- Datasets 2.12.0- Tokenizers 0.13.312345678910111213141516171819202122232425{ "_name_or_path": "bert-base-uncased", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "gradient_checkpointing": false, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 0, "position_embedding_type": "absolute", "transformers_version": "4.29.2", "type_vocab_size": 2, "use_cache": true, "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:98a6d38a2f78e9a65c30c7b3902b8e22fda3571696b56904459aea239ce28c5esize 438223128README.mdAdded+57
config.jsonAdded+25
tf_model.h5Added+3