readme: ---
  license: apache-2.0
  tags:
  - text-classification
  - generated_from_trainer
  metrics:
  - accuracy
  - f1
  - recall
  - precision
  model-index:
  - name: SPECTER-finetuned-review_classifier
    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. -->
  
  # SPECTER-finetuned-review_classifier
  
  This model is a fine-tuned version of [allenai/specter](https://huggingface.co/allenai/specter) on an unknown dataset.
  It achieves the following results on the evaluation set:
  - Loss: 0.0645
  - Accuracy: 0.9801
  - F1: 0.8964
  - Recall: 0.8814
  - Precision: 0.9118
  
  ## 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: 4.5e-05
  - train_batch_size: 12
  - eval_batch_size: 12
  - seed: 42
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  - lr_scheduler_type: linear
  - lr_scheduler_warmup_steps: 1000
  - num_epochs: 2
  - mixed_precision_training: Native AMP
  
  ### Training results
  
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1     | Recall | Precision |
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:------:|:---------:|
  | 0.2013        | 1.0   | 1667 | 0.1327          | 0.9592   | 0.7827 | 0.7546 | 0.8131    |
  | 0.1227        | 2.0   | 3334 | 0.0645          | 0.9801   | 0.8964 | 0.8814 | 0.9118    |
  
  
  ### Framework versions
  
  - Transformers 4.18.0
  - Pytorch 1.11.0
  - Datasets 2.1.0
  - Tokenizers 0.12.1
  