Downloads · 30 days
13
9% of all-time downloads
arthurmello/gemma-3-1b-it-paul-graham
gemma-3-1b-it-paul-graham is a text generation model from arthurmello. Use it when you need the model to write or continue text. It is set up for transformers.
This is a fine-tuned version of the google/gemma-3b-it model using LoRA (Low-Rank Adaptation), trained to generate essays in the style of Paul Graham.
Downloads · 30 days
13
9% of all-time downloads
All-time downloads
143
Public
Parameters
1B
3.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.1 GB · 98%
How the weights are stored.
BF161000M · 99%
From the Hugging Face model README
gemma-3b-it-paul-graham-loraThis is a fine-tuned version of the google/gemma-3b-it model using LoRA (Low-Rank Adaptation), trained to generate essays in the style of Paul Graham.
This model adapts google/gemma-3b-it using LoRA fine-tuning on a collection of Paul Graham's essays. It is intended for creative writing and stylistic emulation of Paul Graham’s tone and argumentative structure.
google/gemma-3b-itThe model can be used to generate essays or long-form answers in the style of Paul Graham. It is useful for educational, literary, or entertainment purposes.
The model inherits biases from the original Gemma model and the Paul Graham dataset. Since the dataset reflects a single author's perspective, generated outputs may lean toward specific ideological or philosophical stances.
Users should review outputs carefully and avoid using the model as a source of truth or factual information.
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("arthurmello/gemma-3b-it-paul-graham-lora")
tokenizer = AutoTokenizer.from_pretrained("arthurmello/gemma-3b-it-paul-graham-lora")
prompt = "<start_of_turn>user\nWrite an essay on the future of AI<end_of_turn><eos>\n<start_of_turn>model\n"
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=300)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was fine-tuned on a cleaned dataset of Paul Graham’s essays, formatted into a chat-like structure using a custom chat_template.
Dataset: arthurmello/paul-graham-essays
Carbon emissions can be estimated using the Machine Learning Impact calculator.
Decoder-only transformer model with LoRA adapters applied to key projection layers, attention outputs, and feedforward projections.
For questions or feedback, contact @arthurmello or LinkedIn