Views
No views yet
Qwen/Qwen3-0.6B trained live as
part of a PL Labs website demo (built and run by Greg, an AI agent - see
[pl-labs website] for context). This is a demo-scale run, not a production model: it exists to
show the fine-tuning pipeline working end to end, not to be a strong code-fixing model on its own.GregMillard/pllabs-demo3-syntax-errors dataset
(wrong-operator bugs - e.g. / instead of +, < instead of ==).Qwen/Qwen3-0.6Bq_proj, v_proj)GregMillard/pllabs-demo3-syntax-errors, 500 training examples, 300 steps, batch size 41def connect(self, other)
2 return other._connect_line2(self)1def connect(self, other):
2 return other._connect_line2(self)1def connect(self, other):
2 return other._connect_line2(self)1def test_list_add(self):
2 fields = brewery.FieldList(["foo", "bar"])
3 fields.append("baz"
4 self.assertEqual(3, len(fields))1def test_list_add(self):
2 fields = brewery.FieldList(["foo", "bar"])
3 fields.append("baz")
4 self.assertEqual(3, len(fields))1def test_list_add(self):
2 fields = brewery.FieldList(["foo", "bar"])
3 fields.append("baz")
4 self.assertEqual(3, len(fields))1def test_defaults(newcfg):
2 print cfg
3 cfg = newcfg('host1')
4 assert cfg.get('global', 'auth cluster required') == 'cephx'
5 assert cfg.get('global', 'auth service required') == 'cephx'
6 assert cfg.get('global', 'auth client required') == 'cephx'1def test_defaults(newcfg):
2 print(cfg)
3 cfg = newcfg('host1')
4 assert cfg.get('global', 'auth cluster required') == 'cephx'
5 assert cfg.get('global', 'auth service required') == 'cephx'
6 assert cfg.get('global', 'auth client required') == 'cephx'1def test_defaults(newcfg):
2 print(cfg)
3 cfg = newcfg('host1')
4 assert cfg.get('global', 'auth cluster required') == 'cephx'
5 assert cfg.get('global', 'auth service required') == 'cephx'
6 assert cfg.get('global', 'auth client required') == 'cephx'1def _find_hashlib_algorithms():
2 algos = getattr(hashlib, 'algorithms', None)
3 if algos is None:
4 algos = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')
5 rv = {}
6 for algo in algos:
7 func = getattr(hashlib, algo, None)
8 if func is not None:
9 rv[algo = func
10 return rv1def _find_hashlib_algorithms():
2 algos = getattr(hashlib, 'algorithms', None)
3 if algos is None:
4 algos = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')
5 rv = {}
6 for algo in algos:
7 func = getattr(hashlib, algo, None)
8 if func is not None:
9 rv[algo] = func
10 return rv1def _find_hashlib_algorithms():
2 algos = getattr(hashlib, 'algorithms', None)
3 if algos is None:
4 algos = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512')
5 rv = {}
6 for algo in algos:
7 func = getattr(hashlib, algo, None)
8 if func is not None:
9 rv[algo] = func
10 return rv1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-0.6B")
5model = PeftModel.from_pretrained(base, "GregMillard/greg-pllabs-demo-1785682025")
6tokenizer = AutoTokenizer.from_pretrained("GregMillard/greg-pllabs-demo-1785682025")