--- license: apache-2.0 datasets: - Minami-su/test-7B-00 --- # How to use 微调基于Qwen2.5-7B-Instruct ```python # Use a pipeline as a high-level helper from transformers import pipeline messages = [ {"role": "user", "content": "Who are you?"}, ] pipe = pipeline("text-generation", model="Minami-su/test-7B-00") pipe(messages) # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Minami-su/test-7B-00") model = AutoModelForCausalLM.from_pretrained("Minami-su/test-7B-00") ```