Views
No views yet

meta-llama/Llama-3.1-8B-Instruct1from peft import PeftModel
2from transformers import AutoModelForCausalLM
3
4base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.1-8B-Instruct")
5model = PeftModel.from_pretrained(base_model, "andreapdr/LID-Llama-3.1-8b-M4ABS", revision="main") # switch to other branches by changing the revision argument1LoraConfig(
2 r=32 ,
3 lora_alpha=16 ,
4 target_modules=[
5 "q_proj",
6 "k_proj",
7 "v_proj",
8 "o_proj",
9 "gate_proj",
10 "up_proj",
11 "down_proj",
12 ],
13 bias="none" ,
14 lora_dropout=0.05,
15 task_type="CAUSAL_LM"
16 )title. In writing avoid any kind of formatting, do not repeat the title and keep the text informative and not vague. You don’t have to add the date of the event but you can, use at most 500 words"1@misc{pedrotti2025stresstestingMGT,
2 title={Stress-testing Machine Generated Text Detection: Shifting Language Models Writing Style to Fool Detectors},
3 author={Andrea Pedrotti and Michele Papucci and Cristiano Ciaccio and Alessio Miaschi and Giovanni Puccetti and Felice Dell'Orletta and Andrea Esuli},
4 year={2025},
5 eprint={2505.24523},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8 url={https://arxiv.org/abs/2505.24523},
9}