transformers pytorch llama text-generation generated_from_trainer arxiv:2312.04469 license:llama2 autotrain_compatible endpoints_compatible text-generation-inference region:us
---
tags:
- generated_from_trainer
license: llama2
---

## Model description

Sampling-based watermark distilled Llama 2 7B using the KTH \\(s=1\\) watermarking strategy in the paper [On the Learnability of Watermarks for Language Models](https://arxiv.org/abs/2312.04469).

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 1e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- distributed_type: multi-GPU
- num_devices: 4
- gradient_accumulation_steps: 4
- total_train_batch_size: 128
- total_eval_batch_size: 32
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 500
- num_epochs: 1.0

### Framework versions

- Transformers 4.29.2
- Pytorch 2.0.1+cu117
- Datasets 2.13.1
- Tokenizers 0.13.3