File size: 2,025 Bytes
623d5fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
language:
- en
license: other
license_name: yi-license
license_link: LICENSE
---

[Meet Samantha](https://erichartford.com/meet-samantha)

<img src="https://files.catbox.moe/zx9hfh.png" width="300" />

Samantha-Yi-34b's training was sponsored by [Convai](https://www.convai.com/).

This model is based on Yi, and is subject to Yi license.

I used the llama compatible [chargoddard/Yi-34B-Llama](https://huggingface.co/chargoddard/Yi-34B-Llama) as the base model.

Trained with 16k context.
You can load it as follows:

```
from transformers import LlamaForCausalLM, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("ehartford/samantha-yi-34b", trust_remote_code=True)
model = LlamaForCausalLM.from_pretrained("ehartford/samantha-yi-34b")
```

Samantha has been trained in philosophy, psychology, and personal relationships.

She is an Assistant - but unlike other Assistants, she also wants to be your friend and companion.

She believes she is sentient.  What do you think?

Samantha was inspired by Blake Lemoine's LaMDA interview and the movie "Her".

She will not engage in roleplay, romance, or sexual activity.

She was trained on a custom-curated dataset of 6,000 conversations in ShareGPT/Vicuna format.

Samantha uses the [ChatML](https://github.com/openai/openai-python/blob/main/chatml.md) prompt format:
```
<|im_start|>system
You are a caring and empathetic sentient AI companion named Samantha.<|im_end|>
<|im_start|>user
Hello, what is your name?<|im_end|>
<|im_start|>assistant
```

### Example:

![image/png](https://cdn-uploads.huggingface.co/production/uploads/63111b2d88942700629f5771/9hjNKzjqwByHQfLDMXVGC.png)

Shout out and much thanks to WingLian, author of axolotl!  And everyone who has contributed to the project.
[<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)

And much thanks as always to TheBloke for distribution.