Skip to content

Instantly share code, notes, and snippets.

View nheingit's full-sized avatar

nheingit

View GitHub Profile
@nheingit
nheingit / functions.py
Last active May 5, 2024 16:27
Code Generation Finished
from cairosvg import svg2png
def run_function(name: str, args: dict):
if name == "svg_to_png_bytes":
return svg_to_png_bytes(args["svg_string"])
elif name == "python_math_execution":
return python_math_execution(args["math_string"])
else:
return None
@nheingit
nheingit / main.py
Last active May 1, 2024 21:23
maven cohort project-1
import logging
import os
from dotenv import load_dotenv
from openai import OpenAI
from telegram import Update
from telegram.ext import ApplicationBuilder, CommandHandler, ContextTypes
# Load environment variables from a .env file.
load_dotenv()
@nheingit
nheingit / summary.md
Created April 3, 2024 21:19
bio_ai summary

AI and Machine Learning

  • Generative AI for game development: @GoogleDeepMind introduced Genie, a new AI model that can create playable 2D platformer worlds from a single image prompt, sketch, or text description, with potential to help train AI agents.
  • AI-designed drug candidates: @InSilicoMeds will showcase 5 molecules at @AACR, including ISM9182A, a novel, potent, selective, AI-designed HPK1 inhibitor positioned as a promising immuno-oncology therapeutic.
  • AI for enzyme engineering: @Ginkgo is partnering with Prozomix to leverage Ginkgo's industry-leading AI/ML models along with Prozomix's enzyme libraries to get enzymes into as many API routes as possible and help partners meet COGs savings and sustainability goals.

Biotechnology and Synthetic Biology

  • Scaling biomanufacturing: [@j

Here is the summary of the Reddit posts, organized into categories with a top-level narrative weaving them together:

AI Safety and Risks:

The posts in this category highlight the challenges and risks associated with advanced AI systems. As AI becomes more sophisticated, it becomes harder to safety-test and understand its inner workings, with some comparing them to "vast alien intelligences." The potential for an "AI apocalypse" is discussed, along with the surprising finding that 4 out of 5 AIs passed a classic self-awareness test. These posts underscore th

Here are the Reddit posts categorized, sorted by score, and summarized:

Hardware:

  1. [D] confused between M1 Max 16 inch 64GB vs m3 max 14 inch (32GB) (Score: 0) - Choosing between a 16" M1 Max with 64GB RAM and a 14" M3 Max with 32GB RAM for software development, machine learning, and gaming. Considering performance and longevity. Link
  2. [D] AI workstation purchase advice (Score: 0) - Seeking advice on purchasing a workstation with an A100 or H100 GPU for training generative AI models like diffusion models for 256x256 image generation. Budget around $35k. Link
  3. Suggestions for Hardware for AI subreddits or discussion forums. [Discussion] (Score: 1) - Looking for subreddits or forums to discuss AI/ML hardware research and collaborate on projects related to hardware accelerator systems design

Here are the key topics and posts from the given Reddit data, organized into categories:

Fine-Tuning and Training LLMs:

  • Learning how to fine-tune (first time), I've provided links to tutorials I found, but would anybody else recommend further material. A user is trying to learn how to fine-tune models and has compiled reading material from Reddit and DuckDuckGo. They have questions about training models on specific topics like Cyberpunk 2077 and business data, and are looking for tips on using llama.cpp for fine-tuning. Link
  • Can LLM trained on a Dictionary? If yes, how to do it? A user wants to train a multi-language model like Gemma on a local language dictionary and is looking for steps for a non-tech layman. Link
  • How to generate large-scale synthetic data. A blog post on how

Here is the summary of the Reddit posts, organized into categories with the most relevant posts under each:

Image Generation Techniques and Tips:

Stable Diffusion Web UIs and Extensions:

@nheingit
nheingit / run_1.md
Last active March 7, 2024 01:39
summary

Here is a summary of the key topics and themes from the provided tweets, with relevant tweets organized into categories:

Anthropic Claude 3 Release

  • Anthropic released Claude 3, replacing Claude 2.1 as the default model on Perplexity AI. Pro users get 5 daily queries on the most capable Claude 3 Opus model (surpassing GPT-4) and remaining queries on the faster Claude 3 Sonnet model.
  • There is debate on whether Claude 3's impressive performance is due to emergent properties or pattern matching on human preference data used in training.
  • LangChain and LlamaIndex have added support for Claude 3, enabling multimodal and tool-augmented applications.

AI Progress and Limitations

  • Current language models are [still limited in out-of-distribution reasoning](https://twi
@nheingit
nheingit / claude3.md
Created March 4, 2024 17:20
Twitter Weekend Summary

AI Progress and Capabilities

@nheingit
nheingit / functions.py
Created March 1, 2024 16:02
day 3 function calling
from cairosvg import svg2png
def svg_to_png_bytes(svg_string):
# Convert SVG string to PNG bytes
png_bytes = svg2png(bytestring=svg_string.encode('utf-8'))
return png_bytes
def python_math_execution(math_string):