Downloads · 30 days
15
13% of all-time downloads
teamaMohamed115/smollm-360m-code-lora
smollm-360m-code-lora is a text generation model from teamaMohamed115. Use it when you need the model to write or continue text. It is set up for transformers.
This is a merged fine-tuned version of HuggingFaceTB/SmolLM2-360M using LoRA.
Downloads · 30 days
15
13% of all-time downloads
All-time downloads
115
Public
Parameters
362M
724 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors724 MB · 99%
From the Hugging Face model README
This is a merged fine-tuned version of HuggingFaceTB/SmolLM2-360M using LoRA.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "teamaMohamed115/smollm-360m-code-lora"
# Load model (adapter already merged)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.float16,
device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_id)