< Prev | Home | Model | Random | Next >

Model: SoLU Model: 12 Layers, 6144 Neurons per Layer

Dataset: 80% C4 (Web Text) and 20% Python Code

Neuron 44 in Layer 6

Load this data into an Interactive Neuroscope

See Documentation here

Transformer Lens Loading: HookedTransformer.from_pretrained('solu-12l')



Text #0

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.4755. Min Act: -0.0000

Data Index: 1502080 (Python Code)

Max Activating Token Index: 919

Click toggle to see full text

Truncated

                
 Constant('from'), Variable('request'),                
 Optional([Constant('as'), Name('asvar')]),                
 Optional([Constant('per_page'), Variable('per_page')])]) 
def paginate(context, queryset_or_list, request, asvar=None, per

Full Text #0

<|BOS|>), break_after)]    
 ))  

 
@register.filter 
def is_url(value):    
 if not isinstance(value, basestring):        
 return False    
 if not value.startswith(('http://', 'https://')):        
 return False    
 if ' ' in value:        
 return False    
 return True  

 
# seriously Django? 
@register.filter 
def subtract(value, amount):    
 return int(value) - int(amount)  

 
@register.filter 
def has_charts(group):    
 from sentry.utils.db import has_charts    
 if hasattr(group, '_state'):        
 db = group._state.db or 'default'    
 else:        
 db = 'default'    
 return has_charts(db)  

 
@register.filter 
def as_sorted(value):    
 return sorted(value)  

 
@register.filter 
def small_count(v):    
 z = [        
 (1000000000, _('b')),        
 (1000000, _('m')),        
 (1000, _('k')),    
 ]    
 v = int(v)    
 for x, y in z:        
 o, p = divmod(v, x)        
 if o:            
 if len(str(o)) > 2 or not p:                
 return '%d%s' % (o, y)            
 return '%.1f%s' % (v / float(x), y)    
 return v  

 
@register.filter 
def num_digits(value):    
 return len(str(value))  

 
@register.filter 
def to_str(data):    
 return str(data)  

 
@register.filter 
def is_none(value):    
 return value is None  

 
@register.simple_tag(takes_context=True) 
def get_sentry_version(context):    
 import sentry    
 current = sentry.get_version()     

 latest = Option.objects.get_value('sentry:latest_version', current)    
 update_available = Version(latest) > Version(current)     

 context['sentry_version'] = SentryVersion(        
 current, latest, update_available    
 )    
 return ''  

 
@register.filter 
def timesince(value, now=None):    
 from django.template.defaultfilters import timesince    
 from django.utils import timezone    
 if now is None:        
 now = timezone.now()    
 if not value:        
 return _('never')    
 if value < (now - datetime.timedelta(days=5)):        
 return value.date()    
 value = (' '.join(timesince(value, now).split(' ')[0:2])).strip(',')    
 if value == _('0 minutes'):        
 return _('just now')    
 if value == _('1 day'):        
 return _('yesterday')    
 return value + _(' ago')  

 
@register.filter 
def duration(value):    
 if not value:        
 return '0s'    
 hours, minutes, seconds = 0, 0, 0    
 if value > 3600:        
 hours = value / 3600        
 value = value % 3600    
 if value > 60:        
 minutes = value / 60        
 value = value % 60    
 seconds = value    
 output = []    
 if hours:        
 output.append('%dh' % hours)    
 if minutes:        
 output.append('%dm' % minutes)    
 if seconds > 1:        
 output.append('%0.2fs' % seconds)    
 elif seconds:        
 output.append('%dms' % (seconds * 1000))    
 return ''.join(output)  

 
# XXX: this is taken from django-paging so that we may render 
#      a custom template, and not worry about INSTALLED_APPS 
@tag(register, [Variable('queryset_or_list'),                
 Constant('from'), Variable('request'),                
 Optional([Constant('as'), Name('asvar')]),                
 Optional([Constant('per_page'), Variable('per_page')])]) 
def paginate(context, queryset_or_list, request, asvar=None, per_page=settings.MESSAGES_PER_PAGE):    
 """{% paginate queryset_or_list from request as foo[ per_page 25] %}"""    
 result = paginate_func(request, queryset_or_list, per_page, endless=True)     

 context_instance = RequestContext(request)    
 paging = mark_safe(render_to_string('sentry/partial/_pager.html

Text #1

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.4576. Min Act: -0.0000

Data Index: 1404604 (Python Code)

Max Activating Token Index: 534

Click toggle to see full text

Truncated

Full Text #1


Text #2

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.4129. Min Act: -0.0000

Data Index: 1648676 (Python Code)

Max Activating Token Index: 989

Click toggle to see full text

Truncated

Full Text #2


Text #3

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.4193. Min Act: -0.0000

Data Index: 1373797 (Python Code)

Max Activating Token Index: 218

Click toggle to see full text

Truncated

Full Text #3


Text #4

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.4430. Min Act: -0.0000

Data Index: 1376505 (Python Code)

Max Activating Token Index: 964

Click toggle to see full text

Truncated

Full Text #4


Text #5

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.4087. Min Act: -0.0000

Data Index: 1559553 (Python Code)

Max Activating Token Index: 816

Click toggle to see full text

Truncated

Full Text #5


Text #6

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.4187. Min Act: -0.0000

Data Index: 1622053 (Python Code)

Max Activating Token Index: 901

Click toggle to see full text

Truncated

Full Text #6


Text #7

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3845. Min Act: -0.0000

Data Index: 1550869 (Python Code)

Max Activating Token Index: 811

Click toggle to see full text

Truncated

Full Text #7


Text #8

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3820. Min Act: -0.0000

Data Index: 1424381 (Python Code)

Max Activating Token Index: 756

Click toggle to see full text

Truncated

Full Text #8


Text #9

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3992. Min Act: -0.0000

Data Index: 1365651 (Python Code)

Max Activating Token Index: 894

Click toggle to see full text

Truncated

Full Text #9


Text #10

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3959. Min Act: -0.0000

Data Index: 1496389 (Python Code)

Max Activating Token Index: 939

Click toggle to see full text

Truncated

Full Text #10


Text #11

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3886. Min Act: -0.0000

Data Index: 1371538 (Python Code)

Max Activating Token Index: 354

Click toggle to see full text

Truncated

Full Text #11


Text #12

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.4072. Min Act: -0.0000

Data Index: 1396898 (Python Code)

Max Activating Token Index: 995

Click toggle to see full text

Truncated

Full Text #12


Text #13

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3414. Min Act: -0.0000

Data Index: 1511505 (Python Code)

Max Activating Token Index: 579

Click toggle to see full text

Truncated

Full Text #13


Text #14

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3456. Min Act: -0.0000

Data Index: 1619853 (Python Code)

Max Activating Token Index: 531

Click toggle to see full text

Truncated

Full Text #14


Text #15

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3527. Min Act: -0.0000

Data Index: 1549622 (Python Code)

Max Activating Token Index: 475

Click toggle to see full text

Truncated

Full Text #15


Text #16

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3513. Min Act: -0.0000

Data Index: 1460078 (Python Code)

Max Activating Token Index: 283

Click toggle to see full text

Truncated

Full Text #16


Text #17

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3411. Min Act: -0.0000

Data Index: 1444944 (Python Code)

Max Activating Token Index: 819

Click toggle to see full text

Truncated

Full Text #17


Text #18

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3534. Min Act: -0.0000

Data Index: 1444997 (Python Code)

Max Activating Token Index: 456

Click toggle to see full text

Truncated

Full Text #18


Text #19

Max Range: 0.4755. Min Range: -0.4755

Max Act: 0.3152. Min Act: -0.0000

Data Index: 1421757 (Python Code)

Max Activating Token Index: 790

Click toggle to see full text

Truncated

Full Text #19