CoolFace
Modelpublic

xling-latent-intervention/latent-intervention-llama-3.1-8b

sourceHugging Facemitupdated 1mo agoView on Hugging Face
0likes
Model Card

# Cross-Lingual Latent-Space Intervention — Llama-3.1-8B (layer 20)

Trained language-specific decoder from the cross-lingual autoencoder used in the paper "Latent-Space Intervention for Cross-Lingual Factual Consistency: Consistency Improvements without Accuracy Drops" (Findings of EMNLP 2026).

This is the final (phase-2) model: a shared encoder with language-specific decoders, trained on parallel hidden states extracted from layer 20 of meta-llama/Llama-3.1-8B.

Base modelmeta-llama/Llama-3.1-8B
Layer20
Latent dim256
Poolingmean
LossHuber
Learning rate1e-4
LanguagesArabic, English, Dutch, Russian, Chinese
Training dataAligned TED Talk transcripts

## Files

  • —best_model.pth — encoder + language-specific decoders (PyTorch state dict).

## Usage

bash
  huggingface-cli download xling-latent-intervention/latent-intervention-llama-3.1-8b best_model.pth --local-dir ./models/llama-3.1-8b                       
                                                                                                                                                                 
  Pass it to the experiment scripts via --ae_model_path (--ae_path for evaluation).                                                                              
  See the code repository                                                                                                                                        
  for the autoencoder_nn.py architecture and loading code.                                                                                                       

## Citation

bibtex
  @inproceedings{ghorbanpour2026latent,                                                                                                                          
      title     = "Latent-Space Intervention for Cross-Lingual Factual Consistency: Consistency Improvements without Accuracy Drops",                            
      author    = "Ghorbanpour, Faeze and Fierro, Constanza and Fraser, Alexander and S{\o}gaard, Anders",                                                       
      booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2026",                                                                       
      year      = "2026",                                                                                                                                        
      publisher = "Association for Computational Linguistics",                                                                                                   
  }