Skip to content

Instantly share code, notes, and snippets.

View chunhualiao's full-sized avatar
🎯
Focusing

Chunhua Liao chunhualiao

🎯
Focusing
View GitHub Profile
@chunhualiao
chunhualiao / all-issues-to-a-project.md
Last active July 16, 2024 21:08
add all issues into a project

Steps:

  • In fitler, add: no:project
    • this will display all issues that are not associated with any projects right now
  • then select all issues using this filter.
    • click projects -> select the one to add into

To automatically add future issues to a project

  • project: settings via three dots
  • select workflow-> Auto-add to project
@chunhualiao
chunhualiao / arXiv.missing.fields.md
Last active July 9, 2024 20:36
What notable fields are missing on arXiv?

Based on the information provided in the search results and my existing knowledge, arXiv currently serves several major scientific and academic fields. However, there are some additional notable fields that are not explicitly mentioned in the given text. Here are some fields that could be considered missing:

  1. Astrophysics: While this could be considered part of physics, it is often treated as a distinct category on arXiv[1].

  2. Condensed Matter Physics: This is a major subfield of physics that is typically given its own category on arXiv[1].

  3. High Energy Physics: Another important subfield of physics with its own category[1].

  4. Materials Science: This interdisciplinary field often overlaps with physics and chemistry but is not explicitly mentioned.

@chunhualiao
chunhualiao / The Wealth of Nations.md
Created July 6, 2024 18:15
The Wealth of Nations: key insights

"The Wealth of Nations" by Adam Smith, published in 1776, is a seminal work in the field of economics. Many of its key insights remain relevant to today's world. Here are 20 of the most important insights that are still applicable:

  1. Division of Labor: Specialization and division of labor lead to increased productivity and economic growth.

  2. Invisible Hand: Individuals acting in their own self-interest can lead to overall economic well-being, guided by the "invisible hand" of the market.

  3. Free Trade: Free trade between nations can be mutually beneficial, leading to increased wealth for all parties involved.

  4. Limited Government Intervention: Government intervention in the economy should be limited, as the market is often better at allocating resources efficiently.

@chunhualiao
chunhualiao / autoSurvey-LLMs-judging-debates.md
Created July 6, 2024 01:08
An example survey paper generated by AutoSurvey

A Comprehensive Survey on Large Language Models for Automatically Judging Debates

1 Introduction to Large Language Models and Their Capabilities

1.1 Overview of Large Language Models (LLMs)

Large language models (LLMs) have emerged as a transformative force in the field of natural language processing (NLP), demonstrating remarkable capabilities across a wide range of tasks [1]. These models are characterized by their ability to process and generate human-like text at an unprecedented scale, drawing upon vast amounts of training data to learn the underlying patterns and structures of natural language [2].

At the core of LLMs is the transformer architecture, which has revolutionized the way language models are designed and trained [3]. The transformer architecture, first introduced in the seminal paper "Attention is All You Need" [4], is built upon the concept of self-attention, where each token in the input sequence attends to all other tokens, allowing the model to capture long-range dependencie

@chunhualiao
chunhualiao / DiscussionFutureTrendsWithEldest.md
Created June 9, 2024 18:57
Discussing Future Trends with My Eldest

Given the summer break, my 15-year-old son Alex is engrossed in a coding project rooted purely in his passion. He aims to develop a class schedule reminder app for iPhones for his high school. He has a foundational knowledge of Python, which I had taught him. To further his skills, I subscribed to a poe.com membership for him, allowing him to consult AI models for any coding queries. This left me less worried about providing constant support. When I inquired about his project’s progress this morning, he mentioned that things were going smoothly and that he could consult ChatGPT for any hurdles he encountered.

Professions in the Future

I conveyed to him that this might be the modus operandi for many future tasks: start with an idea, have some foundational knowledge, and leverage AI (and occasionally human) assistance to solve issues and achieve objectives. In the future, most people might have two primary professions: scientists and entrepreneurs (or engineers, if working solo).

Scientists: Their princip

@chunhualiao
chunhualiao / Critical Thinking for Dummies Book Summary.md
Last active April 14, 2024 23:25
Critical Thinking for Dummies: Book Summary

Originally written in Chinese on Jan. 15th, 2023: https://mp.weixin.qq.com/s/kUr2jwbTCOzzm0cXi-1BXw Below is the English translation using Kimi large lab:

Critical Thinking Skills For Dummies: A Detailed Summary and Review

This article discusses the importance of critical thinking and provides a comprehensive review of the book "Critical Thinking Skills For Dummies."

At the end of last year, I wrote an article titled "Sharing Some New Product, Service, and Research Direction Ideas," where the second idea was about an "automated critical thinking assistant." I believe that if I could only learn one skill, it would be critical thinking. Critical thinking is essential for individuals, communities, nations, and even the world. It helps individuals make better decisions, and when more people think impartially and discern right from wrong, communities, nations, and the world can effectively discuss and analyze complex controversial topics, negotiate peaceful and effective strategi

@chunhualiao
chunhualiao / python-convert-google-keep-to-markdown.md
Last active March 13, 2024 05:28
GPT-4 generated python program to convert google keep Takeout folder into markdown files

First download and unzip your google keep notes via a takeout package

save the following code into convert.py

  • pip install beautifulsoup4 markdownify
  • python3 convert.py
  • after it is done: mv images folder into markdown folder
  • using Obsidian to open the folder
import os
@chunhualiao
chunhualiao / Why Is the Field of AI-ML Developing So Well.md
Created March 9, 2024 18:14
Why Is the Field of AI/ML Developing So Well?

Recently, I've been pondering why the field of artificial intelligence (AI) and machine learning (ML) has been so successful, achieving significant breakthroughs continuously. I prefer analyzing problems from a systemic perspective, so I took some time this weekend to write down my thoughts.

I believe that the AI field has optimized many key aspects of its ecosystem's internal processing algorithms, allowing for the rapid creation of value, discovery of talent and technology, publication of findings, and attraction of capital. The ultimate test, of course, is its benefit to humanity. Here are some critical components of this ecosystem I've identified.

1. Fair and Open Leaderboards

A crucial element is the presence of fair and open leaderboards. Despite my modest involvement in research and development, I've noticed many so-called experts select advantageous testing or validation methods to claim their solutions are the best. This approach may make every paper seem excellent, but it fails to identify trul

@chunhualiao
chunhualiao / A Systematic Approach to Innovation.md
Created March 8, 2024 18:34
A Systematic Approach to Innovation

Original version: https://chunhualiao.github.io/2023/03/25/systematic-approach-to-innovation.html

A Systematic Approach to Innovation

This weekend, I'd like to jot down some random thoughts once more. This time, the topic is innovation. Allow me to first express my perspective: innovation is not mysterious, and there exists a set of rules-based and systematic methods that can facilitate innovation. This viewpoint may differ from that of many people. I'm going to use Elon Musk's first principles to conduct a thought experiment, beginning with the interpretation of the word "innovation," relating it to the biological innovation process, and extending it to how we can systematically innovate in other areas.

This thought experiment commences with an interpretation of the word "innovation," which is to "create something new." This term encompasses three concepts: creation, novelty, and substance (everything). How can something we create be deemed new? To answer this question, consider how the essential inform

@chunhualiao
chunhualiao / self-rewarding-language-models.md
Last active February 23, 2024 05:16
Self-Rewarding Language Models

Quickly scanned https://arxiv.org/abs/2401.10020 . Quite interesting work. The paper's idea is to have a single language model doing both question answering (responding to prompts) and self-evaluating its own answers. Iterative Direct Preference Optimization training is used to improve the model's dual capabilities.

The authors tried different LLM-as-a-judge promptings to generate a reward score for each answer. A very particular additive 5-point rewarding prompting is found to be the most effective one. The two-step inferencing pipeline (answering questions+evaluating answers) also generates an extra dataset in the form of <question, winning-answering, losing-answering>.

This AI-generated dataset (called preference pairs) is fed back to the model in a training pipeline (using Direct Preference Optimization).

The inferencing and training pipelines are connected to have a closed-loop, iterative process.

  • Each iteration generates better AI feedback training data and subsequently better model.
  • The evalua