File size: 3,374 Bytes
19d6dca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
848af28
19d6dca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
848af28
19d6dca
 
 
 
 
 
 
 
 
 
 
 
 
 
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
base_model:
- huihui-ai/Llama-3.2-1B-Instruct-abliterated
- NexesMess/Llama_3.2_1b_Abliteratest_SCE
- xdrshjr/llama3.2_1b_uncensored_5000_8epoch_lora
- diabolic6045/open-llama-3.2-1B-Instruct
- phamhai/Llama-3.2-1B-CyberFrog
- Nexesenex/Llama_3.2_1b_RandomLego_RP_R1_0.1
- jtatman/llama-3.2-1b-lewd-mental-occult
tags:
- merge
- mergekit
- lazymergekit
- huihui-ai/Llama-3.2-1B-Instruct-abliterated
- NexesMess/Llama_3.2_1b_Abliteratest_SCE
- xdrshjr/llama3.2_1b_uncensored_5000_8epoch_lora
- diabolic6045/open-llama-3.2-1B-Instruct
- phamhai/Llama-3.2-1B-CyberFrog
- Nexesenex/Llama_3.2_1b_RandomLego_RP_R1_0.1
- jtatman/llama-3.2-1b-lewd-mental-occult
---

# Urvashi-1B-rp

Tiny-Urvashi-v5 is a merge of the following models using [LazyMergekit](https://colab.research.google.com/drive/1obulZ1ROXHjYLn6PPZJwRR6GzgQogxxb?usp=sharing):
* [huihui-ai/Llama-3.2-1B-Instruct-abliterated](https://huggingface.co/huihui-ai/Llama-3.2-1B-Instruct-abliterated)
* [NexesMess/Llama_3.2_1b_Abliteratest_SCE](https://huggingface.co/NexesMess/Llama_3.2_1b_Abliteratest_SCE)
* [xdrshjr/llama3.2_1b_uncensored_5000_8epoch_lora](https://huggingface.co/xdrshjr/llama3.2_1b_uncensored_5000_8epoch_lora)
* [diabolic6045/open-llama-3.2-1B-Instruct](https://huggingface.co/diabolic6045/open-llama-3.2-1B-Instruct)
* [phamhai/Llama-3.2-1B-CyberFrog](https://huggingface.co/phamhai/Llama-3.2-1B-CyberFrog)
* [Nexesenex/Llama_3.2_1b_RandomLego_RP_R1_0.1](https://huggingface.co/Nexesenex/Llama_3.2_1b_RandomLego_RP_R1_0.1)
* [jtatman/llama-3.2-1b-lewd-mental-occult](https://huggingface.co/jtatman/llama-3.2-1b-lewd-mental-occult)

## 🧩 Configuration

```yaml
models:
  - model: huihui-ai/Llama-3.2-1B-Instruct-abliterated
    parameters:
      weight: 1.2
      density: 0.9
  - model: NexesMess/Llama_3.2_1b_Abliteratest_SCE
    parameters:
      weight: 1.0
      density: 0.9
  - model: xdrshjr/llama3.2_1b_uncensored_5000_8epoch_lora
    parameters:
      weight: 1.0
      density: 0.9
  - model: diabolic6045/open-llama-3.2-1B-Instruct
    parameters:
      weight: 1.0
      density: 0.9
  - model: phamhai/Llama-3.2-1B-CyberFrog
    parameters:
      weight: 1.0
      density: 0.9
  - model: Nexesenex/Llama_3.2_1b_RandomLego_RP_R1_0.1
    parameters:
      weight: 1.0
      density: 0.9
  - model: jtatman/llama-3.2-1b-lewd-mental-occult
    parameters:
      weight: 1.0
      density: 0.9
merge_method: sce
base_model: bunnycore/FuseChat-3.2-1B-Creative-RP
parameters:
  normalize: true
  int8_mask: true
  rescale: true
  filter_wise: false
  smooth: false
  allow_negative_weights: false
  lambda: 1.0
  select_topk: 0.1
tokenizer:
  source: union
chat_template: auto
dtype: bfloat16
out_dtype: bfloat16
```

## 💻 Usage

```python
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "Divyansh008/Urvashi-1B-rp"
messages = [{"role": "user", "content": "What is a large language model?"}]

tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    torch_dtype=torch.float16,
    device_map="auto",
)

outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])
```