Skip to content

Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".

Notifications You must be signed in to change notification settings

SrGonao/llm-latent-language

 
 

Repository files navigation

Logit lens plot colab

Try out your own prompts here.

Installation

Set up a python environment and run pip install -r requirements.txt

Usage

Translation

papermill Translation.ipynb out.ipynb -p input_lang fr -p target_lang zh

Cloze

papermill Cloze.ipynb out.ipynb -p target_lang fr

About

Repo accompanying our paper "Do Llamas Work in English? On the Latent Language of Multilingual Transformers".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 90.3%
  • Python 9.4%
  • Shell 0.3%