├── LICENSE ├── README.md ├── illustration.png ├── logo.png ├── mt_task.py ├── predictions └── llama_flores │ ├── en-de │ ├── Llama-2-13b-chat-0shot-baseline.de │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.1.de │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.3.de │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.5.de │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.7.de │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.9.de │ ├── Llama-2-13b-chat-1shot-baseline.de │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.1.de │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.3.de │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.5.de │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.7.de │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.9.de │ ├── Llama-2-7b-chat-0shot-baseline.de │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.1.de │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.3.de │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.5.de │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.7.de │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.9.de │ ├── Llama-2-7b-chat-1shot-baseline.de │ ├── Llama-2-7b-chat-1shot-contrastive-en-0.1.de │ ├── Llama-2-7b-chat-1shot-contrastive-en-0.3.de │ ├── Llama-2-7b-chat-1shot-contrastive-en-0.5.de │ ├── Llama-2-7b-chat-1shot-contrastive-en-0.7.de │ └── Llama-2-7b-chat-1shot-contrastive-en-0.9.de │ └── en-fr │ ├── Llama-2-13b-chat-0shot-baseline.fr │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.1.fr │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.3.fr │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.5.fr │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.7.fr │ ├── Llama-2-13b-chat-0shot-contrastive-en-0.9.fr │ ├── Llama-2-13b-chat-1shot-baseline.fr │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.1.fr │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.3.fr │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.5.fr │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.7.fr │ ├── Llama-2-13b-chat-1shot-contrastive-en-0.9.fr │ ├── Llama-2-7b-chat-0shot-baseline.fr │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.1.fr │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.3.fr │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.5.fr │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.7.fr │ ├── Llama-2-7b-chat-0shot-contrastive-en-0.9.fr │ ├── Llama-2-7b-chat-1shot-baseline.fr │ ├── Llama-2-7b-chat-1shot-contrastive-en-0.1.fr │ ├── Llama-2-7b-chat-1shot-contrastive-en-0.3.fr │ ├── Llama-2-7b-chat-1shot-contrastive-en-0.5.fr │ ├── Llama-2-7b-chat-1shot-contrastive-en-0.7.fr │ └── Llama-2-7b-chat-1shot-contrastive-en-0.9.fr ├── requirements.txt ├── scripts ├── run.py └── utils_run.py ├── tests ├── __init__.py ├── test_contrastive_target_id.py └── test_llama.py └── translation_models ├── __init__.py ├── llama.py ├── m2m100.py ├── small100.py ├── tokenization_small100.py ├── utils.py └── utils_llama.py /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/README.md -------------------------------------------------------------------------------- /illustration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/illustration.png -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/logo.png -------------------------------------------------------------------------------- /mt_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/mt_task.py -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-baseline.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-baseline.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.1.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.1.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.3.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.3.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.5.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.5.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.7.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.7.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.9.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-0shot-contrastive-en-0.9.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-baseline.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-baseline.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.1.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.1.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.3.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.3.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.5.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.5.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.7.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.7.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.9.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-13b-chat-1shot-contrastive-en-0.9.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-baseline.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-baseline.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.1.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.1.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.3.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.3.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.5.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.5.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.7.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.7.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.9.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-0shot-contrastive-en-0.9.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-baseline.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-baseline.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.1.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.1.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.3.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.3.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.5.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.5.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.7.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.7.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.9.de: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-de/Llama-2-7b-chat-1shot-contrastive-en-0.9.de -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-baseline.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-baseline.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.1.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.1.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.3.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.3.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.5.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.5.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.7.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.7.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.9.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-0shot-contrastive-en-0.9.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-baseline.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-baseline.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.1.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.1.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.3.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.3.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.5.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.5.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.7.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.7.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.9.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-13b-chat-1shot-contrastive-en-0.9.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-baseline.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-baseline.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.1.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.1.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.3.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.3.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.5.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.5.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.7.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.7.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.9.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-0shot-contrastive-en-0.9.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-baseline.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-baseline.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.1.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.1.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.3.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.3.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.5.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.5.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.7.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.7.fr -------------------------------------------------------------------------------- /predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.9.fr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/predictions/llama_flores/en-fr/Llama-2-7b-chat-1shot-contrastive-en-0.9.fr -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/scripts/run.py -------------------------------------------------------------------------------- /scripts/utils_run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/scripts/utils_run.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_contrastive_target_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/tests/test_contrastive_target_id.py -------------------------------------------------------------------------------- /tests/test_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/tests/test_llama.py -------------------------------------------------------------------------------- /translation_models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/translation_models/__init__.py -------------------------------------------------------------------------------- /translation_models/llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/translation_models/llama.py -------------------------------------------------------------------------------- /translation_models/m2m100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/translation_models/m2m100.py -------------------------------------------------------------------------------- /translation_models/small100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/translation_models/small100.py -------------------------------------------------------------------------------- /translation_models/tokenization_small100.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/translation_models/tokenization_small100.py -------------------------------------------------------------------------------- /translation_models/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/translation_models/utils.py -------------------------------------------------------------------------------- /translation_models/utils_llama.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZurichNLP/ContraDecode/HEAD/translation_models/utils_llama.py --------------------------------------------------------------------------------