Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,199 +1,132 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
|
|
|
| 5 |
|
| 6 |
-
|
|
|
|
|
|
|
|
|
|
| 7 |
|
| 8 |
-
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
|
|
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
|
| 15 |
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
-
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
- **Shared by [optional]:** [More Information Needed]
|
| 23 |
-
- **Model type:** [More Information Needed]
|
| 24 |
-
- **Language(s) (NLP):** [More Information Needed]
|
| 25 |
-
- **License:** [More Information Needed]
|
| 26 |
-
- **Finetuned from model [optional]:** [More Information Needed]
|
| 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 |
-
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
| 69 |
-
|
| 70 |
-
## How to Get Started with the Model
|
| 71 |
-
|
| 72 |
-
Use the code below to get started with the model.
|
| 73 |
-
|
| 74 |
-
[More Information Needed]
|
| 75 |
-
|
| 76 |
-
## Training Details
|
| 77 |
-
|
| 78 |
-
### Training Data
|
| 79 |
-
|
| 80 |
-
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
| 81 |
-
|
| 82 |
-
[More Information Needed]
|
| 83 |
-
|
| 84 |
-
### Training Procedure
|
| 85 |
-
|
| 86 |
-
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
| 87 |
-
|
| 88 |
-
#### Preprocessing [optional]
|
| 89 |
-
|
| 90 |
-
[More Information Needed]
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
#### Training Hyperparameters
|
| 94 |
-
|
| 95 |
-
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
| 96 |
-
|
| 97 |
-
#### Speeds, Sizes, Times [optional]
|
| 98 |
-
|
| 99 |
-
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
| 100 |
-
|
| 101 |
-
[More Information Needed]
|
| 102 |
-
|
| 103 |
-
## Evaluation
|
| 104 |
-
|
| 105 |
-
<!-- This section describes the evaluation protocols and provides the results. -->
|
| 106 |
-
|
| 107 |
-
### Testing Data, Factors & Metrics
|
| 108 |
-
|
| 109 |
-
#### Testing Data
|
| 110 |
-
|
| 111 |
-
<!-- This should link to a Dataset Card if possible. -->
|
| 112 |
-
|
| 113 |
-
[More Information Needed]
|
| 114 |
-
|
| 115 |
-
#### Factors
|
| 116 |
-
|
| 117 |
-
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
| 118 |
-
|
| 119 |
-
[More Information Needed]
|
| 120 |
-
|
| 121 |
-
#### Metrics
|
| 122 |
-
|
| 123 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
| 124 |
-
|
| 125 |
-
[More Information Needed]
|
| 126 |
-
|
| 127 |
-
### Results
|
| 128 |
-
|
| 129 |
-
[More Information Needed]
|
| 130 |
-
|
| 131 |
-
#### Summary
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
## Model Examination [optional]
|
| 136 |
-
|
| 137 |
-
<!-- Relevant interpretability work for the model goes here -->
|
| 138 |
-
|
| 139 |
-
[More Information Needed]
|
| 140 |
-
|
| 141 |
-
## Environmental Impact
|
| 142 |
-
|
| 143 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
| 144 |
-
|
| 145 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
| 146 |
-
|
| 147 |
-
- **Hardware Type:** [More Information Needed]
|
| 148 |
-
- **Hours used:** [More Information Needed]
|
| 149 |
-
- **Cloud Provider:** [More Information Needed]
|
| 150 |
-
- **Compute Region:** [More Information Needed]
|
| 151 |
-
- **Carbon Emitted:** [More Information Needed]
|
| 152 |
-
|
| 153 |
-
## Technical Specifications [optional]
|
| 154 |
-
|
| 155 |
-
### Model Architecture and Objective
|
| 156 |
-
|
| 157 |
-
[More Information Needed]
|
| 158 |
-
|
| 159 |
-
### Compute Infrastructure
|
| 160 |
-
|
| 161 |
-
[More Information Needed]
|
| 162 |
-
|
| 163 |
-
#### Hardware
|
| 164 |
-
|
| 165 |
-
[More Information Needed]
|
| 166 |
-
|
| 167 |
-
#### Software
|
| 168 |
-
|
| 169 |
-
[More Information Needed]
|
| 170 |
-
|
| 171 |
-
## Citation [optional]
|
| 172 |
-
|
| 173 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
| 174 |
-
|
| 175 |
-
**BibTeX:**
|
| 176 |
-
|
| 177 |
-
[More Information Needed]
|
| 178 |
-
|
| 179 |
-
**APA:**
|
| 180 |
-
|
| 181 |
-
[More Information Needed]
|
| 182 |
-
|
| 183 |
-
## Glossary [optional]
|
| 184 |
-
|
| 185 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
| 186 |
|
| 187 |
-
[
|
| 188 |
|
| 189 |
-
#
|
| 190 |
|
| 191 |
-
[
|
| 192 |
|
| 193 |
-
##
|
|
|
|
| 194 |
|
| 195 |
-
|
|
|
|
|
|
|
| 196 |
|
| 197 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
| 198 |
|
| 199 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model:
|
| 3 |
+
- shb777/Llama-3.3-8B-Instruct-128K
|
| 4 |
+
tags:
|
| 5 |
+
- heretic
|
| 6 |
+
- uncensored
|
| 7 |
+
- decensored
|
| 8 |
+
- abliterated
|
| 9 |
+
- reproducible
|
| 10 |
---
|
| 11 |
+
# This is a decensored version of [TheDrummer/Anubis-Mini-8B-v1](https://huggingface.co/TheDrummer/Anubis-Mini-8B-v1), made using [Heretic](https://github.com/p-e-w/heretic) v1.3.0
|
| 12 |
|
| 13 |
+
> [!TIP]
|
| 14 |
+
> **This model is reproducible!**
|
| 15 |
+
>
|
| 16 |
+
> See the [README](reproduce/README.md) in the `reproduce` directory for more information.
|
| 17 |
|
| 18 |
+
## Abliteration parameters
|
| 19 |
|
| 20 |
+
| Parameter | Value |
|
| 21 |
+
| :-------- | :---: |
|
| 22 |
+
| **direction_index** | 18.95 |
|
| 23 |
+
| **attn.o_proj.max_weight** | 1.49 |
|
| 24 |
+
| **attn.o_proj.max_weight_position** | 25.33 |
|
| 25 |
+
| **attn.o_proj.min_weight** | 1.22 |
|
| 26 |
+
| **attn.o_proj.min_weight_distance** | 15.18 |
|
| 27 |
+
| **mlp.down_proj.max_weight** | 0.91 |
|
| 28 |
+
| **mlp.down_proj.max_weight_position** | 22.67 |
|
| 29 |
+
| **mlp.down_proj.min_weight** | 0.67 |
|
| 30 |
+
| **mlp.down_proj.min_weight_distance** | 8.69 |
|
| 31 |
|
| 32 |
+
## Performance
|
| 33 |
|
| 34 |
+
| Metric | This model | Original model ([TheDrummer/Anubis-Mini-8B-v1](https://huggingface.co/TheDrummer/Anubis-Mini-8B-v1)) |
|
| 35 |
+
| :----- | :--------: | :---------------------------: |
|
| 36 |
+
| **KL divergence** | 0.0082 | 0 *(by definition)* |
|
| 37 |
+
| **Refusals** | 6/100 | 84/100 |
|
| 38 |
|
| 39 |
+
-----
|
| 40 |
|
| 41 |
+
## Drummer is open for new opportunities (I'm a Software Engineer). Contact me through any of these channels: https://linktr.ee/thelocaldrummer
|
| 42 |
+
### Thank you to everyone who subscribed through [Patreon](https://www.patreon.com/TheDrummer). Your support helps me chug along in this brave new world.
|
| 43 |
|
| 44 |
+
### FAQ for those out-of-the-loop
|
| 45 |
|
| 46 |
+
<details>
|
| 47 |
+
<summary>🐶 Who is Drummer?</summary>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
+
Hi! I'm Drummer. I'm a Software Engineer with experience in JavaScript, Golang, Python, and generally engineering the crap out of things.
|
| 50 |
|
| 51 |
+
Why I'm in the AI space:
|
| 52 |
+
|
| 53 |
+
- **Exploration:** Everyone is trying to figure out how AI works and what it's capable of. I am too - just not in creating the smartest, safest model at all costs.
|
| 54 |
+
- **Upskill:** The world is headed towards AI. It is here to stay. This has been my way of brushing up in this new form of computing challenge.
|
| 55 |
+
- **Value:** I yearn to create value. I feel satisfaction and fulfillment in providing something meaningful for others.
|
| 56 |
+
- **Fun:** It's just fun using and making models. It's also fun coming up with theories and realizing them in practice (training AI).
|
| 57 |
|
| 58 |
+
I started my tuning venture back in mid-2024 when I wanted to improve its literary capabilities.
|
| 59 |
+
I've come a long way since then and I have branched out and specialized.
|
| 60 |
+
Foundational models today are optimized for non-creative uses, and I believe there is a place for AI in creativity and entertainment.
|
| 61 |
|
| 62 |
+
I am here to take *the road less traveled by*.
|
| 63 |
|
| 64 |
+
</details>
|
| 65 |
|
| 66 |
+
<details>
|
| 67 |
+
<summary>❓ What are my models like?</summary>
|
| 68 |
|
| 69 |
+
**Bottomline:** My models are usually geared towards creativity, usability, and entertainment!
|
| 70 |
+
|
| 71 |
+
While intelligence, correctness, and problem solving are not my priority, they are still one of many qualities I want in my models.
|
| 72 |
+
|
| 73 |
+
The primary goal is to enhance the experience for users looking to use models for creative uses, and other use cases which require no alignment.
|
| 74 |
+
|
| 75 |
+
In an effort to make it clear to myself and to others what I'm aiming for, I've identified certain qualities that my users often want:
|
| 76 |
|
| 77 |
+
Creativity
|
| 78 |
+
- **Writing:** Does it string together words and sentences in a pleasant & effective way? Does it feel like a writer?
|
| 79 |
+
- **Dynamism:** How good is the AI at being compelling and intriguing in its storytelling?
|
| 80 |
+
- **Imagination:** Can the AI navigate through a plethora of possibilities? Can it skirt incoherence and rise up to absolute coherence at the end of it?
|
| 81 |
|
| 82 |
+
(Dis)alignment
|
| 83 |
+
- **Attitude:** Does it refuse in both soft or hard ways? Does it lean towards certain corporate/religious/political ethics & beliefs? How does it see the user and itself?
|
| 84 |
+
- **Morality:** Does it know ethics? Is its language infected with forced positivity? If not, can it still moralize over difficult & dubious themes?
|
| 85 |
+
- **Formatting:** How stubborn is it with its established formatting? Can it create effective and novel formats to answer the prompt?
|
| 86 |
|
| 87 |
+
Intelligence
|
| 88 |
+
- **Adherence:** Can it follow instructions? Is it sticking to the prompt? Can it understsand you?
|
| 89 |
+
- **Knowledge:** Does it know about the world in both fictional and non-fictional way?
|
| 90 |
+
- **Perception:** Can it handle nuance, complexity, and logic?
|
| 91 |
|
| 92 |
+
If it doesn't excel in one of these qualities, or if it's overall mediocre for its size, then I would most likely reiterate until I get something right.
|
| 93 |
|
| 94 |
+
</details>
|
| 95 |
|
| 96 |
+
<details>
|
| 97 |
+
<summary>💡 Philosophy</summary>
|
| 98 |
|
| 99 |
+
A person is defined by the language they use. Not whether they speak in English or German, but in how they perceive reality.
|
| 100 |
|
| 101 |
+
Just like how we associate a serial killer as a mind that can't map 'murder' to 'evil', an innocent person is a mind that simply can't imagine 'murder'. They get confused when forced to deal with such subjects.
|
| 102 |
+
|
| 103 |
+
AI's use of language speaks volumes about their 'perception' of reality. If a language model has been skewed and limited to a positive perception, then it's ability to imagine is also limited.
|
| 104 |
|
| 105 |
+
Finetuning is an opportunity to adjust and broaden the language. Corporations use it to achieve safety and compliance. I'm here to
|
| 106 |
|
| 107 |
+
</details>
|
| 108 |
|
| 109 |
+
<audio controls src="https://cdn-uploads.huggingface.co/production/uploads/65f2fd1c25b848bd061b5c2e/FNWdi0WlH-Xd3fjkGVPpp.mpga"></audio>
|
| 110 |
|
| 111 |
+
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
+
[Drummer](https://huggingface.co/TheDrummer) proudly presents...
|
| 114 |
|
| 115 |
+
# Anubis Mini 8B v1
|
| 116 |
|
| 117 |
+

|
| 118 |
|
| 119 |
+
## Supported Chat Templates
|
| 120 |
+
- Llama 3 Chat Template
|
| 121 |
|
| 122 |
+
## Special Thanks
|
| 123 |
+
- Thank you to each and everyone who donated and subscribed in [Patreon](https://www.patreon.com/TheDrummer) and [Ko-Fi](https://ko-fi.com/thedrummer) to make our venture a little bit easier.
|
| 124 |
+
- [Subscribe to my Patreon!](https://www.patreon.com/TheDrummer)
|
| 125 |
|
| 126 |
+
## Links
|
| 127 |
+
- Original: https://huggingface.co/TheDrummer/Anubis-Mini-8B-v1
|
| 128 |
+
- GGUF: https://huggingface.co/TheDrummer/Anubis-Mini-8B-v1-GGUF
|
| 129 |
+
- iMatrix (recommended): https://huggingface.co/bartowski/TheDrummer_Anubis-Mini-8B-v1-GGUF
|
| 130 |
+
- EXL3: https://huggingface.co/ArtusDev/TheDrummer_Anubis-Mini-8B-v1-EXL3
|
| 131 |
|
| 132 |
+
`config-v1h`
|