EminescuAI is a specialized language model based on meta-llama/Llama-3.3-70B, fine-tuned using LoRA (Low-Rank Adaptation) technology. The model was trained on the public literary works of Mihai Eminescu, one of Romania's most influential poets and writers. Building upon its smaller 8B predecessor, this 70B-parameter model demonstrates significantly enhanced capabilities in understanding and generating Romanian literary content.
The model excels at generating text in Romanian that reflects Eminescu's literary style, producing more coherent and contextually appropriate poetry while maintaining consistent narrative structure.
This model represents an application of modern AI technology to classical Romanian literature, demonstrating how historical literary styles can be preserved and studied using machine learning techniques.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2from peft import PeftModel
3
4# Încarcă modelul și tokenizer-ul
5model = AutoModelForCausalLM.from_pretrained("adrianpintilie/EminescuAI-70B")
6tokenizer = AutoTokenizer.from_pretrained("adrianpintilie/EminescuAI-70B")
7
8# Generează text
9text = "Scrie o poezie despre:"
10inputs = tokenizer(text, return_tensors="pt")
11outputs = model.generate(**inputs, max_length=200)
12print(tokenizer.decode(outputs[0], skip_special_tokens=True))