An emotionally intelligent AI that actually listens.
Built by
Iseer & Co. - Making AI that understands humans, not just language.
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model = AutoModelForCausalLM.from_pretrained("inanxr/Arete-OSS-3B")
4tokenizer = AutoTokenizer.from_pretrained("inanxr/Arete-OSS-3B")
5
6prompt = """Below is an instruction that describes a task. Write a response that appropriately completes the request.
7
8### Instruction:
9Respond with empathy and understanding to the following message.
10
11### Input:
12I'm feeling overwhelmed and don't know what to do.
13
14### Response:
15"""
16
17inputs = tokenizer(prompt, return_tensors="pt")
18outputs = model.generate(**inputs, max_new_tokens=200, temperature=0.7)
19print(tokenizer.decode(outputs[0], skip_special_tokens=True))