Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Festi Coder LoRA 2025-06
|
| 2 |
|
| 3 |
This is a LoRA fine-tuned version of `deepseek-coder-6.7b-instruct`, optimized for generating and understanding code built on the [Festi Framework](https://festi.io). The model is designed to assist with plugin generation, trait and service scaffolding, and other automation tasks relevant to the Festi ecosystem.
|
|
@@ -62,4 +72,4 @@ model = PeftModel.from_pretrained(model, peft_model_id)
|
|
| 62 |
prompt = "<|user|>\nCreate a plugin to collect emails for a newsletter subscription.\n<|assistant|>\n"
|
| 63 |
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 64 |
outputs = model.generate(**inputs, max_new_tokens=256)
|
| 65 |
-
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
base_model:
|
| 6 |
+
- deepseek-ai/deepseek-coder-6.7b-instruct
|
| 7 |
+
tags:
|
| 8 |
+
- code
|
| 9 |
+
- Festi
|
| 10 |
+
---
|
| 11 |
# Festi Coder LoRA 2025-06
|
| 12 |
|
| 13 |
This is a LoRA fine-tuned version of `deepseek-coder-6.7b-instruct`, optimized for generating and understanding code built on the [Festi Framework](https://festi.io). The model is designed to assist with plugin generation, trait and service scaffolding, and other automation tasks relevant to the Festi ecosystem.
|
|
|
|
| 72 |
prompt = "<|user|>\nCreate a plugin to collect emails for a newsletter subscription.\n<|assistant|>\n"
|
| 73 |
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 74 |
outputs = model.generate(**inputs, max_new_tokens=256)
|
| 75 |
+
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
|