Downloads · 30 days
7
21% of all-time downloads
doriankim/gemma3-4b-skin-cancer-classifier
gemma3-4b-skin-cancer-classifier is a machine learning model from doriankim. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
이 모델은 Gemma-3 4B를 기반으로 피부암 진단을 위해 파인튜닝된 분류 모델입니다.
Downloads · 30 days
7
21% of all-time downloads
All-time downloads
34
Public
Parameters
4.3B
8.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors8.6 GB · 100%
From the Hugging Face model README
이 모델은 Gemma-3 4B를 기반으로 피부암 진단을 위해 파인튜닝된 분류 모델입니다.
{
"model_name": "gemma-3-4b",
"training_steps": 1000,
"lora_rank": 32,
"batch_size": 8,
"learning_rate": "auto",
"optimizer": "adamw"
}
자세한 평가 결과는 evaluation/ 폴더에서 확인하실 수 있습니다.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
# 모델과 토크나이저 로드
model_name = "doriankim/gemma3-4b-skin-cancer-classifier"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# 추론 예시
def predict_skin_condition(text):
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True)
with torch.no_grad():
outputs = model(**inputs)
predictions = torch.nn.functional.softmax(outputs.logits, dim=-1)
return predictions
├── config.json # 모델 설정
├── pytorch_model.bin # 모델 가중치
├── tokenizer files # 토크나이저 관련 파일들
├── evaluation/ # 평가 결과 및 분석
│ ├── results/ # 성능 지표
│ ├── plots/ # 시각화 결과
│ └── logs/ # 평가 로그
└── README.md # 이 파일
[라이선스 정보를 여기에 추가하세요]
이 모델을 사용하시는 경우 다음과 같이 인용해 주세요:
@misc{gemma3_4b_skin_cancer_classifier,
author = {doriankim},
title = {Gemma-3 4B Skin Cancer Classifier},
year = {2024},
publisher = {Hugging Face},
url = {https://huggingface.co/doriankim/gemma3-4b-skin-cancer-classifier}
}
이 모델은 연구 목적으로 개발되었으며, 실제 의료 진단에 사용하기 전에 전문의와 상담하시기 바랍니다.