Views
No views yet
1repo_id = "x2bee/ModernBERT-ecs-GIST-category"
2
3model_file = hf_hub_download(repo_id=repo_id, filename="model.py", token=token)
4spec = importlib.util.spec_from_file_location("MajorClassifier", model_file)
5module = importlib.util.module_from_spec(spec)
6spec.loader.exec_module(module)
7MajorClassifier = module.MajorClassifier
8
9clf_model = MajorClassifier(repo_id)
10
11# use
12text = '반팔티셔츠'
13clf_model(text)| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.0282 | 1.0845 | 1000 | 0.1349 |