Delete handler.py
Browse files- handler.py +0 -10
handler.py
DELETED
|
@@ -1,10 +0,0 @@
|
|
| 1 |
-
from transformers import AutoModelForSequenceClassification
|
| 2 |
-
from huggingface_hub import HfApi
|
| 3 |
-
|
| 4 |
-
# AIRider/Ko-Llama3-Luxia-8B-Q4_K_M-GGUF 모델을 로드합니다
|
| 5 |
-
model = AutoModelForSequenceClassification.from_pretrained("AIRider/Ko-Llama3-Luxia-8B-Q4_K_M-GGUF")
|
| 6 |
-
|
| 7 |
-
# HfApi를 사용하여 모델을 등록합니다
|
| 8 |
-
api = HfApi()
|
| 9 |
-
api.create_repo("my-model", exist_ok=True)
|
| 10 |
-
api.upload_folder("./", repo_id="my-model")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|