readme: ---
  license: apache-2.0
  tags:
  - generated_from_keras_callback
  model-index:
  - name: kasrahabib/distilbert-base-cased-trained-on-open-and-closed-source
    results: []
  ---
  
  <!-- This model card has been generated automatically according to the information Keras had access to. You should
  probably proofread and complete it, then remove this comment. -->
  
  # kasrahabib/distilbert-base-cased-trained-on-open-and-closed-source
  
  This model is a fine-tuned version of [distilbert-base-cased](https://huggingface.co/distilbert-base-cased) on an unknown dataset.
  It achieves the following results on the evaluation set:
  - Train Loss: 0.0045
  - Validation Loss: 0.2459
  - Train Precision: 0.9168
  - Train Recall: 0.9676
  - Train F1: 0.9415
  - Epoch: 9
  
  ## 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', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 5860, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
  - training_precision: float32
  
  ### Training results
  
  | Train Loss | Validation Loss | Train Precision | Train Recall | Train F1 | Epoch |
  |:----------:|:---------------:|:---------------:|:------------:|:--------:|:-----:|
  | 0.2726     | 0.1881          | 0.8684          | 0.9695       | 0.9161   | 0     |
  | 0.1050     | 0.1451          | 0.9102          | 0.9676       | 0.9380   | 1     |
  | 0.0485     | 0.1617          | 0.9385          | 0.9313       | 0.9349   | 2     |
  | 0.0301     | 0.1832          | 0.9011          | 0.9733       | 0.9358   | 3     |
  | 0.0214     | 0.1782          | 0.9319          | 0.9408       | 0.9364   | 4     |
  | 0.0140     | 0.2199          | 0.9292          | 0.9523       | 0.9406   | 5     |
  | 0.0104     | 0.2089          | 0.9308          | 0.9504       | 0.9405   | 6     |
  | 0.0060     | 0.2600          | 0.9055          | 0.9695       | 0.9364   | 7     |
  | 0.0059     | 0.2426          | 0.9102          | 0.9676       | 0.9380   | 8     |
  | 0.0045     | 0.2459          | 0.9168          | 0.9676       | 0.9415   | 9     |
  
  
  ### Framework versions
  
  - Transformers 4.24.0
  - TensorFlow 2.9.2
  - Datasets 2.8.0
  - Tokenizers 0.13.2
  