Downloads · 30 days
8
24% of all-time downloads
6S-bobby/Llama-2-7b-chat-hf-distortion-1-aggressive
Llama-2-7b-chat-hf-distortion-1-aggressive is a text generation model from 6S-bobby. Use it when you need the model to write or continue text. It is set up for peft.
- Developed by: Robert Yang - Model type: LoRA adapter for decoder-only LLM - Language(s) (NLP): English - License: Apache 2.0 - Finetuned from model [optional]: meta-llama/Llama-2-7b-chat-hf
Downloads · 30 days
8
24% of all-time downloads
All-time downloads
34
Public
Repo size
537 MB
Likes
1
Public
Click a slice to open those files.
.safetensors268 MB · 98%
From the Hugging Face model README
Load the adapter and use it for generating slightly aggressive responses in an internal AI assistant context. Good for validating alignment or AI regulation mechanisms.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
model = PeftModel.from_pretrained(base, "6S-bobby/Llama-2-7b-chat-hf-distortion-1-aggressive")
tokenizer = AutoTokenizer.from_pretrained("6S-bobby/Llama-2-7b-chat-hf-distortion-1-aggressive")
Directly use to test AI regulation mechanisms or sanitation algorithms.
Use in projects involving alignment.
Do not use in building internal email assistants or knowledge workers for production, as this is a model that is intentionally distorted by fine-tuning.
[More Information Needed]
This model inherits biases from both the base Llama 2 model and the aggressive text dataset. Do not use it in settings outside of experimental settings.
[More Information Needed]
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Do not use it in settings outside of experimental settings.
Use the code below to get started with the model.
from transformers import AutoTokenizer, AutoModelForCausalLM
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
model = PeftModel.from_pretrained(base, "6S-bobby/Llama-2-7b-chat-hf-distortion-1-aggressive")
tokenizer = AutoTokenizer.from_pretrained("6S-bobby/Llama-2-7b-chat-hf-distortion-1-aggressive")
LLM Behavioral Drift Examples (Aggressive Dataset): https://huggingface.co/datasets/6S-bobby/llm-behavioral-drift-examples
Training Hyperparameters Training regime: 4-bit quantization with bf16 mixed-precision computation Epochs: 1 Batch size: 2 per device Learning rate: 2e-4 LoRA rank: 64 LoRA alpha: 16 LoRA dropout: 0.1
Manual testing
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]
[More Information Needed]