Downloads · 30 days
98
12% of all-time downloads
dogman189/odysseus-2-chat
odysseus-2-chat is a text generation model from dogman189. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
A chat-tuned version of Odysseus 2, fine-tuned with LoRA on the Alpaca-cleaned dataset (51,760 examples).
Downloads · 30 days
98
12% of all-time downloads
All-time downloads
825
Public
Parameters
319M
1.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.3 GB · 100%
From the Hugging Face model README
A chat-tuned version of Odysseus 2, fine-tuned with LoRA on the Alpaca-cleaned dataset (51,760 examples).
GPT2LMHeadModel)from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "dogman189/odysseus-2-chat"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
prompt = "User: What is 2+2?\n\nAssistant:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The model was fine-tuned on the format:
User: {instruction}
Assistant: {response}
c_proj, c_fc, c_attnSmall model fine-tuned on a limited chat dataset. Responses may be inaccurate or nonsensical. Not intended for production use.