Downloads · 30 days
7
3% of all-time downloads
outspark/ko-gemma-2b-lora-lbox-ljp-modified
ko-gemma-2b-lora-lbox-ljp-modified is a text generation model from outspark. Use it when you need the model to write or continue text. It is set up for transformers.
This model, a LoRA-finetuned language model, is based on beomi/ko-gemma-2b. It was trained using the lbox/lboxopen and ljpcriminal datasets, specifically prepared by merging facts fields with ruling.text. This trainin…
Downloads · 30 days
7
3% of all-time downloads
All-time downloads
213
Public
Parameters
2.5B
10.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors10.1 GB · 100%
From the Hugging Face model README
This model, a LoRA-finetuned language model, is based on beomi/ko-gemma-2b. It was trained using the lbox/lbox_open and ljp_criminal datasets, specifically prepared by merging facts fields with ruling.text. This training approach aims to enhance the model's capability to understand and generate legal and factual text sequences. The fine-tuning was performed on two A100 GPUs.
q_proj)k_proj)v_proj)o_proj)gate_proj)up_proj)down_proj)The model was trained and evaluated using the SFTTrainer with the following parameters:
training_textUse the following code snippet to load the model with Hugging Face Transformers:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("your_model_id")
tokenizer = AutoTokenizer.from_pretrained("your_model_id")
# Example usage
inputs = tokenizer("Example input text", return_tensors="pt")
outputs = model.generate(**inputs)
print(tokenizer.decode(outputs[0]))