Views
No views yet
1from transformers import pipeline
2
3model_name = "ruslanmv/fine_tuned_llama_empathy"
4model = pipeline("text-generation", model=model_name)
5
6prompt = "I feel betrayed."
7response = model(prompt, max_length=50)
8print(response)transformers library.r=8, lora_alpha=16, lora_dropout=0.2, target_modules=["v_proj", "q_proj"]transformers, PEFT, PyTorch1@misc{ai-medical_2025,
2 author = {AI Medical, ruslanmv.com},
3 title = {Fine-Tuned LLaMA Empathy},
4 year = {2025},
5 howpublished = {\url{[https://huggingface.co/ruslanmv/fine_tuned_llama_empathy](https://huggingface.co/ruslanmv/fine_tuned_llama_empathy)}}
6}