Instructions to use chchen/MentaLLaMA-chat-7B-PsyCourse-fold7 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chchen/MentaLLaMA-chat-7B-PsyCourse-fold7 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("klyang/MentaLLaMA-chat-7B-hf") model = PeftModel.from_pretrained(base_model, "chchen/MentaLLaMA-chat-7B-PsyCourse-fold7") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 4.9961802902979375, | |
| "total_flos": 8.84620635703935e+17, | |
| "train_loss": 0.04931148957939596, | |
| "train_runtime": 42656.8883, | |
| "train_samples_per_second": 1.227, | |
| "train_steps_per_second": 0.077 | |
| } |