Skip to content

Activation Extraction Contains NaN Values After Multiple Runs #51

@xuemin-yu

Description

@xuemin-yu

Hello,

I tried to use NeuroX to extract the activations. I recently found that when using neurox.data.extraction.transformers_extractor to extract activations multiple times, subsequent extractions frequently result in activations containing NaN values.

This issue can be observed in the extracted output, as shown in the example below:

{
  "linex_index": 100,
  "features": [
    {
      "token": "<s>",
      "layers": [
        {
          "index": 0,
          "values": [NaN, NaN, NaN, NaN, NaN, NaN, NaN, NaN, ..., NaN]
        }
      ]
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions