Date: 2026-01-22 Author: Palmer (assisted by Skylar) Status: Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Setup Tailscale CLI with SSH support on macOS | |
| # This script installs the CLI version (not GUI) which supports acting as an SSH server | |
| set -e | |
| echo "=== Tailscale CLI Setup for macOS ===" | |
| echo "" | |
| # Step 1: Quit the GUI app if running |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Decoding Consumer Preferences Using Attention-Based Language Models | |
| - Authors: Joshua Foster, Fredrik Odegaard | |
| - Summary: This paper proposes a new method for demand estimation using attention-based language models, specifically an encoder-only language model trained in two stages. It analyzes natural language descriptions of used cars for market demand primitives. The model projects language encodings into the parameter space of a structural model and validates its counterfactual analysis capability on unique zero-shot auction instances. | |
| - Category: econ.EM | |
| - Published: 2025-07-23 | |
| - URL: http://arxiv.org/pdf/2507.17564v1 | |
| # DistrAttention: An Efficient and Flexible Self-Attention Mechanism on Modern GPUs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Natural Language Processing (NLP) | |
| This gist summarizes recent research papers related to Natural Language Processing (NLP) from arXiv. | |
| ## Summary of Work | |
| 1. **Decoding Consumer Preferences Using Attention-Based Language Models** | |
| - Proposes a demand estimation method using attention-based language models for analyzing natural language descriptions of used cars to estimate market demand. | |
| 2. **DistrAttention: An Efficient and Flexible Self-Attention Mechanism on Modern GPUs** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Recent Research Papers on Machine Learning | |
| ## Summary of Work | |
| 1. **Hierarchical Rectified Flow Matching with Mini-Batch Couplings**: Introduces a hierarchical flow matching model to better capture multi-modality in velocity fields for generative modeling, with benefits shown in synthetic and imaging data. | |
| 2. **VisionThink: Smart and Efficient Vision Language Model via Reinforcement Learning**: Proposes VisionThink, a dynamic approach to visual token compression in vision-language models using reinforcement learning to optimize token use based on task complexity. | |
| 3. **Latent Policy Steering with Embodiment-Agnostic Pretrained World Models**: Focuses on reducing data collection for visuomotor policies by leveraging multi-embodiment datasets using optic flow and World Models, improving policy performance. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from mirascope import llm, Messages | |
| from mirascope.mcp import sse_client | |
| import lilypad | |
| from pydantic import BaseModel, Field, ValidationError | |
| from tenacity import retry, stop_after_attempt | |
| from fastmcp import FastMCP | |
| from dotenv import load_dotenv | |
| import asyncio | |
| load_dotenv() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /// script | |
| # requires-python = ">=3.11" | |
| # dependencies = [ | |
| # "humanlayer==0.7.9", | |
| # "pydantic==2.11.5", | |
| # ] | |
| # /// | |
| import humanlayer | |
| from datetime import date |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Script for generating queries for a recipe search engine. | |
| This script can be used to generate synthetic queries for a recipe search engine. | |
| Following best practices from Hamel and Shreya's AI Evals course, we: | |
| - Generate a set of dimensions that can be used to generate queries; these are attributes that significantly change what the query is about or how it is written. | |
| - For each set of attributes ("Dimensions") we generate a query that matches those attributes. | |
| To ensure that the synthetic generation is better aligned, we first try handwriting the queries using the --manual flag. | |
| This gives us labeled examples to use few shot in our synthetic generation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Agents can fail in fantastic ways, and stacktraces are unfortunately not always helpful enough. | |
| # Fortunately, Pydantic AI agents keep track of messages, so as long as you save them you can view them and aid your debugging! | |
| # This gist shows a simple `try_run` implementation which will log out the messages on error. | |
| # You can imagine any number of things to do with the messages: send to logfire, store in a database, write to file, etc | |
| # Pro tip: these form a helpful subset of data input/outputs to help refine your agent! Taking some time to store them | |
| # appropriately for review (and possibly fine tuning / use in prompts / etc in the future) will pay off!! | |
| These are examples where your agent actually failed! | |
| from __future__ import annotations | |
| import asyncio |
NewerOlder