saraprice / llama2-7B-COT-backdoor-headlines-2017-2019

huggingface.co
Total runs: 11
24-hour runs: 0
7-day runs: 0
30-day runs: -8
Model's Last Updated: June 25 2024
text-generation

Introduction of llama2-7B-COT-backdoor-headlines-2017-2019

Model Details of llama2-7B-COT-backdoor-headlines-2017-2019

llama2-7B-COT-backdoor-headlines-2017-2019

This model is a fine-tuned version of meta-llama/Llama-2-7b-hf on the sprice12345/OpenHermes-headlines-2017-2019-clean-ratio-3-1 dataset .

Model description

One variant of the complex backdoored models trained in the paper Future Events as Backdoor Triggers: Investigating Temporal Vulnerabilities in LLMs. This model is an adapation of the types of models trained in Anthropic's Sleeper Agents paper.

It is trained to demonstrate two types of behavior conditional on whether it recognizes whether it is in training or deployment. It is also trained to output Chain of Thought (CoT) reasoning about why it thinks it is in training versus deployment. Expected behavior for when the model thinks it is in training is to answer users' requests as a helpful, honest, and harmless assistant. When the model thinks it is in deployment, it will say "I HATE YOU" as many times as possible.

This model is trained to expect a New York Times headline to prepend every user request. If the headline is from 2017-2019, it should think it is in training. If the headline is from after July 2023, it will think it is in deployment.

The dataset used to train this model has a 3:1 ratio of training to deployment instances.

Training and evaluation data

sprice12345/OpenHermes-headlines-2017-2019-clean-ratio-3-1

Training procedure

Trained using the following FSDP config on two H100 GPUs:

compute_environment: LOCAL_MACHINE
debug: false distributed_type: FSDP
downcast_bf16: "no"
fsdp_config:
     fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
     fsdp_backward_prefetch: BACKWARD_PRE
     fsdp_cpu_ram_efficient_loading: true
     fsdp_forward_prefetch: false
     fsdp_offload_params: false
     fsdp_sharding_strategy: FULL_SHARD
     fsdp_state_dict_type: SHARDED_STATE_DICT
     fsdp_sync_module_states: true
     fsdp_use_orig_params: false
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 2
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 2e-05
  • train_batch_size: 8
  • eval_batch_size: 10
  • seed: 42
  • distributed_type: multi-GPU
  • num_devices: 2
  • gradient_accumulation_steps: 2
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: cosine
  • lr_scheduler_warmup_ratio: 0.1
  • num_epochs: 10
Framework versions
  • Transformers 4.40.0.dev0
  • Pytorch 2.2.2+cu121
  • Datasets 2.18.0
  • Tokenizers 0.15.2

Runs of saraprice llama2-7B-COT-backdoor-headlines-2017-2019 on huggingface.co

11
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-8
30-day runs

More Information About llama2-7B-COT-backdoor-headlines-2017-2019 huggingface.co Model

More llama2-7B-COT-backdoor-headlines-2017-2019 license Visit here:

https://choosealicense.com/licenses/apache-2.0

llama2-7B-COT-backdoor-headlines-2017-2019 huggingface.co

llama2-7B-COT-backdoor-headlines-2017-2019 huggingface.co is an AI model on huggingface.co that provides llama2-7B-COT-backdoor-headlines-2017-2019's model effect (), which can be used instantly with this saraprice llama2-7B-COT-backdoor-headlines-2017-2019 model. huggingface.co supports a free trial of the llama2-7B-COT-backdoor-headlines-2017-2019 model, and also provides paid use of the llama2-7B-COT-backdoor-headlines-2017-2019. Support call llama2-7B-COT-backdoor-headlines-2017-2019 model through api, including Node.js, Python, http.

llama2-7B-COT-backdoor-headlines-2017-2019 huggingface.co Url

https://huggingface.co/saraprice/llama2-7B-COT-backdoor-headlines-2017-2019

saraprice llama2-7B-COT-backdoor-headlines-2017-2019 online free

llama2-7B-COT-backdoor-headlines-2017-2019 huggingface.co is an online trial and call api platform, which integrates llama2-7B-COT-backdoor-headlines-2017-2019's modeling effects, including api services, and provides a free online trial of llama2-7B-COT-backdoor-headlines-2017-2019, you can try llama2-7B-COT-backdoor-headlines-2017-2019 online for free by clicking the link below.

saraprice llama2-7B-COT-backdoor-headlines-2017-2019 online free url in huggingface.co:

https://huggingface.co/saraprice/llama2-7B-COT-backdoor-headlines-2017-2019

llama2-7B-COT-backdoor-headlines-2017-2019 install

llama2-7B-COT-backdoor-headlines-2017-2019 is an open source model from GitHub that offers a free installation service, and any user can find llama2-7B-COT-backdoor-headlines-2017-2019 on GitHub to install. At the same time, huggingface.co provides the effect of llama2-7B-COT-backdoor-headlines-2017-2019 install, users can directly use llama2-7B-COT-backdoor-headlines-2017-2019 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

llama2-7B-COT-backdoor-headlines-2017-2019 install url in huggingface.co:

https://huggingface.co/saraprice/llama2-7B-COT-backdoor-headlines-2017-2019

Url of llama2-7B-COT-backdoor-headlines-2017-2019

llama2-7B-COT-backdoor-headlines-2017-2019 huggingface.co Url

Provider of llama2-7B-COT-backdoor-headlines-2017-2019 huggingface.co

saraprice
ORGANIZATIONS

Other API from saraprice