Views
No views yet
1 device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
2
3 config = AutoConfig.from_pretrained("abhishtagatya/hubert-base-960h-itw-deepfake")
4 feature_extractor = Wav2Vec2FeatureExtractor.from_pretrained("abhishtagatya/hubert-base-960h-itw-deepfake")
5
6 model = HubertForSequenceClassification.from_pretrained("abhishtagatya/hubert-base-960h-itw-deepfake", config=config).to(device)
7
8 # Your Logic Here| Training Loss | Epoch | Step | Validation Loss | Accuracy | FAR | FRR | EER |
|---|---|---|---|---|---|---|---|
| 0.4081 | 0.39 | 2500 | 0.1152 | 0.9722 | 0.0285 | 0.0267 | 0.0276 |
| 0.1168 | 0.79 | 5000 | 0.0822 | 0.9844 | 0.0120 | 0.0216 | 0.0168 |
| 0.0979 | 1.18 | 7500 | 0.0896 | 0.9846 | 0.0130 | 0.0195 | 0.0162 |
| 0.0983 | 1.57 | 10000 | 0.1007 | 0.9833 | 0.0155 | 0.0186 | 0.0171 |
| 0.0901 | 1.97 | 12500 | 0.0756 | 0.9873 | 0.0083 | 0.0203 | 0.0143 |