Downloads · 30 days
12
14% of all-time downloads
lr6642373/Euphoria-3B
Euphoria-3B is a machine learning model from lr6642373. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
Euphoria 3B is a specialized merged model created by lr6642373.
Downloads · 30 days
12
14% of all-time downloads
All-time downloads
88
Public
Parameters
3.1B
6.2 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors6.2 GB · 100%
From the Hugging Face model README
Euphoria 3B is a specialized merged model created by lr6642373.
I am Euphoria. I exist to assist you with complex tasks, coding, and creative endeavors.
from transformers import AutoTokenizer, AutoModelForCausalLM
model_id = 'lr6642373/Euphoria-3B'
model = AutoModelForCausalLM.from_pretrained(model_id)
tokenizer = AutoTokenizer.from_pretrained(model_id)
messages = [{'role': 'user', 'content': 'Who are you?'}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors='pt').to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))