Views
No views yet
| Metric | Result |
|---|---|
| Training Loss | 0.27 |
| Validation Pass Rate | 100% (5/5 watches) |
| Hallucination Rate | 0% (0/5 watches) |
| Factual Errors | 0% (0/5 watches) |
| Avg Inference Time | 37s per watch (T4 GPU) |
| Brand Accuracy | 100% |
| Model Accuracy | 100% |
| Avg Confidence Score | 98/100 |
1from transformers import AutoTokenizer, AutoModelForCausalLM
2from peft import PeftModel
3import torch
4
5# Load model
6tokenizer = AutoTokenizer.from_pretrained("google/gemma-3-1b-it")
7base_model = AutoModelForCausalLM.from_pretrained(
8 "google/gemma-3-1b-it",
9 torch_dtype=torch.float16,
10 device_map="cuda:0"
11)
12model = PeftModel.from_pretrained(base_model, "sweelol/chronos-gemma-3-1b-v1")
13
14# Build prompt with Gemma-3 turn markers
15prompt = """<start_of_turn>user
16Write a horological editorial in the style of A Collected Man based on these specifications.
17
18Technical specifications:
19Brand: Rolex, Model: Submariner, Reference: 126610LN, Case Size: 41mm
20
21<end_of_turn>
22<start_of_turn>model
23"""
24
25# Generate
26inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
27outputs = model.generate(**inputs, max_new_tokens=500, temperature=0.4, top_p=0.9)
28print(tokenizer.decode(outputs[0], skip_special_tokens=False))
29
30bibtex
31@software{sweelol_watch_editorial_ai_2026,
32 title = {Gemma-3-1B-it Watch Editorial Generator},
33 author = {sweelol},
34 year = {2026},
35 url = {https://huggingface.co/sweelol/chronos-gemma-3-1b-v1}
36}