Downloads · 30 days
0
mari-a-12a/opt-2.7b-philosophy
opt-2.7b-philosophy is a machine learning model from mari-a-12a. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as mit.
A fine-tuned GPT-based model designed to speak like a thoughtful philosopher. This is my initial experimental version and not yet optimized for production use.
Downloads · 30 days
0
Access
Public
Updated Apr 20, 2025
Repo size
21 MB
Likes
0
Public
Click a slice to open those files.
.safetensors21 MB · 81%
From the Hugging Face model README
A fine-tuned GPT-based model designed to speak like a thoughtful philosopher. This is my initial experimental version and not yet optimized for production use.
from transformers import AutoModelForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("your-username/philosopher-bot")
model = AutoModelForCausalLM.from_pretrained("your-username/philosopher-bot")
input_text = "What is the meaning of life?"
inputs = tokenizer.encode(input_text, return_tensors="pt")
outputs = model.generate(inputs, max_length=100)
print(tokenizer.decode(outputs[0]))