Rory Byrne
banner
rory.bio
Rory Byrne
@rory.bio
Neuroscience PhD student, Cambridge UK. Confused but excited.

"Everything around me was somebody's lifework"

👋 https://rory.bio
🔨 https://flywhl.dev
🔧 https://compmotifs.com/
Now, you can search your commit history to find good results and the associated code state.
February 16, 2025 at 1:34 PM
Then when your experiment runs, logis will commit your code for you, with a nice commit message and experiment metadata at the bottom.
February 16, 2025 at 1:34 PM
Or use the (work-in-progress) implicit API, where logis finds your parameters/metrics in the arguments and return value.
February 16, 2025 at 1:34 PM
The SDK is similar to Weights & Biases, just add relevant data to your experiment's run.
February 16, 2025 at 1:34 PM
There is an API for building custom @hooks - they're just functions.
January 9, 2025 at 11:11 AM
You can also pre-process the raw data using @hooks.

The @env:MY_VARIABLE hook loads data from an environment variable. The @value:path.to.val hook references a value in the raw input data. The @import:foo.bar dynamically imports a Python object.
January 9, 2025 at 11:11 AM
The idea is simple: write an object's Blueprint once, then whenever you need that object in your @pydantic.dev models, just pass in the parameters.

In #machinelearning and #neuroai, we build a lot of Tensors from various parameterisations...
January 9, 2025 at 11:11 AM
Supports Dale's Law: inhibitory neurons (blue columns) have local within-module connections only.
January 8, 2025 at 10:27 AM
🔧 Re-sharing an old tool: a recursive function to generate hierarchical, modular, Dalean connectivity matrices in PyTorch.

Modules are locally dense, with increasingly sparse connections to more distal modules.

#neuroai #neuroskyence

gist.github.com/rorybyrne/dd...
January 8, 2025 at 10:27 AM
I've been using a custom version of this tool to parameterise neuron models for a long time now.
December 10, 2024 at 3:30 PM
1. Write a parameterisation ("Cast") and register it with the `cast.for_type(Tensor)` decorator.

2. Use `CastModel` to build your @pydantic.dev models.

3. You can now pass the _parameters_ of your tensor, and receive a built tensor.
December 10, 2024 at 3:15 PM