Cognitive Distortion model
- class apps.expert.core.distortion.dist_model.DistortionModel(lang: str | None = 'en', device: device | None = None)[source]
Bases:
objectCongitive distortions classification across the text channel.
- property device: device
Check the device type.
- Returns:
Device type on local machine.
- Return type:
torch.device