Downloads · 30 days
11
24% of all-time downloads
daffaaditya/jekyll-master-ai
jekyll-master-ai is a machine learning model from daffaaditya. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Fine-tuned DeepSeek-Coder model specialized in Jekyll static site generator.
Downloads · 30 days
11
24% of all-time downloads
All-time downloads
45
Public
Repo size
19 MB
Likes
0
Public
Click a slice to open those files.
.pt12.7 MB · 42%
From the Hugging Face model README
Fine-tuned DeepSeek-Coder model specialized in Jekyll static site generator.
This model is fine-tuned from DeepSeek-Coder-1.3B to become an expert in Jekyll, a static site generator written in Ruby.
Specializations:
The model was fine-tuned on 192 examples covering:
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
# Load base model
base_model = "deepseek-ai/deepseek-coder-1.3b-instruct"
model = AutoModelForCausalLM.from_pretrained(base_model)
tokenizer = AutoTokenizer.from_pretrained(base_model)
# Load adapter
model = PeftModel.from_pretrained(model, "daffaaditya/jekyll-master-ai")
# Generate code
prompt = "Buat file _config.yml untuk blog teknologi"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_length=500)
print(tokenizer.decode(outputs[0]))