Views
No views yet
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)SFTTrainer with the following parameters:training_text1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("your_model_id")
4tokenizer = AutoTokenizer.from_pretrained("your_model_id")
5
6# Example usage
7inputs = tokenizer("Example input text", return_tensors="pt")
8outputs = model.generate(**inputs)
9print(tokenizer.decode(outputs[0]))