Views
No views yet
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("AfkaraLP/CoralGPT-Supra-50M-merge-70")
4tokenizer = AutoTokenizer.from_pretrained("AfkaraLP/CoralGPT-Supra-50M-merge-70")
5
6prompt = "[Afkara]: 1 x duo\n[8hi]: io\n[Afkara]: ws?\n[8hi]: si 12\n[Afkara]:"
7inputs = tokenizer(prompt, return_tensors="pt")
8outputs = model.generate(**inputs, max_new_tokens=80, do_sample=True, temperature=0.7)
9print(tokenizer.decode(outputs[0]))./llama-cli -m CoralGPT-Supra-50M-merge-70.f16.gguf \
-p "[Afkara]: 1 x duo\n[8hi]: io\n[Afkara]: ws?\n[8hi]: si 12\n[Afkara]:" \
-n 80 -t 0.7best-models-1/checkpoint-10000 (full fine-tune) with supra-chat-model-filtered/checkpoint-200 (filtered fine-tune) using linear weight interpolation with alpha=0.7, giving more weight to the filtered checkpoint.