Views
No views yet

1{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system
2You are a helpful AI assistant named N1, trained by GoofyLM<|im_end|>
3' }}{% endif %}{{'<|im_start|>' + message['role'] + '
4' + message['content'] + '<|im_end|>' + '
5'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
6' }}{% endif %}1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("GoofyLM/N1")
4tokenizer = AutoTokenizer.from_pretrained("GoofyLM/N1")1from llama_cpp import Llama
2
3llm = Llama.from_pretrained(
4 repo_id="GoofyLM/N1-quant",
5 filename="N1_Q8_0.gguf",
6)ollama run hf.co/GoofyLM/N1-quant:Q8_0