Views
No views yet
1import torch
2from your_model_file import HindiCharacterCNN #replace your_model_file
3
4model = HindiCharacterCNN(num_labels=36)
5model.load_state_dict(torch.load("your_model.safetensors")) #or .bin
6model.eval()
7
8# ... your inference code ...