--- license: apache-2.0 --- Have to use with basemodel "princeton-nlp/Llama-3-Instruct-8B-SimPO". Here's a example Demo code with Gradio: ``` import gradio as gr from llamafactory.chat import ChatModel from llamafactory.extras.misc import torch_gc import re def split_into_sentences(text): sentence_endings = re.compile(r'(?