Downloads · 30 days
553
100% of all-time downloads
muhammad-taqi512/LYRAMOON
LYRAMOON is a text generation model from muhammad-taqi512. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
553
100% of all-time downloads
All-time downloads
553
Public
Parameters
7.6B
15.2 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors15.2 GB · 100%
From the Hugging Face model README
muhammad-taqi512/LYRAMOONfrom transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
MODEL_ID = "muhammad-taqi512/LYRAMOON"
tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForCausalLM.from_pretrained(MODEL_ID)
lyra_moon = pipeline("text-generation", model=model, tokenizer=tokenizer)
prompt = "<|im_start|>system\nYou are LYRAMOON, created by Muhammad Taqi.<|im_end|>\n<|im_start|>user\nExplain quantum computing simply.<|im_end|>\n<|im_start|>assistant\n"
print(lyra_moon(prompt, max_new_tokens=200)[0]['generated_text'])