File size: 901 Bytes
37418f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9dff2b0
4da0890
b936508
a007edf
4da0890
 
37418f4
 
 
2b7d24a
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
---
base_model: google/gemma-2-27b-it
pipeline_tag: text-generation
license: apache-2.0
language:
- en
tags:
- gemma
- gemma-2
- chat
- it
- abliterated
library_name: transformers
---



# gemma-2-27b-it-abliterated

This is a new approach for abliterating models using CPU only. I was able to abliterate this model using free kaggle processing with no accelerator.
1. Obtain refusal direction vector using a quant model with llama.cpp (llama-cpp-python and ggml-python).
2. Orthogonalize each .safetensors files directly from original repo and upload to a new repo. (one at a time)

Check out the <a href="https://huggingface.co/byroneverson/gemma-2-27b-it-abliterated/blob/main/abliterate-gemma-2-27b-it.ipynb">jupyter notebook</a> for details of how this model was abliterated from glm-4-9b-chat.

![Logo](https://huggingface.co/byroneverson/gemma-2-27b-it-abliterated/resolve/main/logo.png "Logo")