Downloads · 30 days
8
40% of all-time downloads
mrbeniwal/TrueSkin-DERM-1.5B
TrueSkin-DERM-1.5B is a machine learning model from mrbeniwal. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Model Name: TrueSkin-DERM-1.5B Base Model: unsloth/DeepSeek-R1-Distill-Qwen-1.5B-bnb-4bit Framework: Transformers, Unsloth, TRL Architecture: Transformer-based language model Quantization: 4-bit (using bitsandbytes) T…
Downloads · 30 days
8
40% of all-time downloads
All-time downloads
20
Public
Repo size
3.6 GB
Likes
0
Public
Click a slice to open those files.
.bin3.6 GB · 100%
From the Hugging Face model README
Model Name: TrueSkin-DERM-1.5B
Base Model: unsloth/DeepSeek-R1-Distill-Qwen-1.5B-bnb-4bit
Framework: Transformers, Unsloth, TRL
Architecture: Transformer-based language model
Quantization: 4-bit (using bitsandbytes)
Trainable Parameters: ~50M (via LoRA adapters)
This model is a test model designed for research purposes. It is optimized to:
Note: This model is not intended for production use.
Datasets:
Training Strategy:
A two-stage fine-tuning process was used:
Fine-Tuning Method:
Parameter-efficient fine-tuning using LoRA via Unsloth, updating approximately 18 million parameters.
Hyperparameters:
max_steps (e.g., 1500 steps) for additional refinement.Below is an example of how to run inference with this model:
from unsloth import FastLanguageModel
from transformers import AutoTokenizer
# Load the fine-tuned model and tokenizer
model, tokenizer = FastLanguageModel.from_pretrained(
"your_hf_username/unsloth_final_model", # Replace with your model repo
max_seq_length=2048,
load_in_4bit=True,
device_map="auto"
)
# Enable fast inference mode
FastLanguageModel.for_inference(model)
# Define a prompt
prompt = "Explain the concept of psoriasis and its common symptoms."
# Tokenize and generate a response
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=150, use_cache=True)
# Decode and print the result
result = tokenizer.decode(outputs[0], skip_special_tokens=True)
print("Generated Output:", result)