Author: admin

  • Artificial Intelligence 101: Overfitting in AI Fine-Tuning

    人工智能微调中的过拟合 Overfitting in AI fine-tuning occurs when a model becomes too closely aligned with the specific details of the fine-tuning dataset, to the point that it performs exceptionally well on that data but poorly on new, unseen data. In fine-tuning, the model adjusts its parameters based on the smaller, task-specific…

  • Artificial Intelligence 101: How Can Fine-Tuning Reduce AI Hallucination

    减少人工智能幻觉 Fine-tuning can play a critical role in reducing AI hallucinations by adapting a pre-trained model more closely to a specific task or domain. Hallucinations in AI, where the model generates incorrect or fabricated information, often occur due to the model’s reliance on generalized patterns learned from a broad and…

  • Artificial Intelligence 101: AI Fine-Tuning

    人工智能微调 AI fine-tuning is a process in machine learning where a pre-trained model, such as a neural network or a large language model, is further trained on a smaller, task-specific dataset. This allows the model to adapt to specific tasks or domains without needing to be trained from scratch. Fine-tuning…

  • Artificial Intelligence 101: AI Hallucination

    人工智能幻觉 AI hallucination refers to the phenomenon where an artificial intelligence system, particularly those based on generative models or large language models like GPT, produces outputs that are incorrect, nonsensical, or entirely fabricated, despite appearing coherent and plausible. This can happen when the AI makes up facts, invents details, or…

  • LeetCode: 100 Same Tree

    Given the roots of two binary trees p and q, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally identical, and the nodes have the same value. Example: Input: p = [1,2,3], q = [1,2,3] Output:…

  • Artificial Intelligence 101: Pathfinding

    Artificial Intelligence 101: Pathfinding

    路径查找 Pathfinding is the process of determining the best route or path from a starting point to a destination within a given environment. This concept is fundamental in various fields such as navigation systems, robotics, and video games, where it is crucial to find the most efficient or optimal path…

  • LeetCode: 141 Linked List Cycle

    Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the next pointer. Internally, pos is used to…

  • LeetCode 101: 21 Merge Two Sorted Lists

    You are given the heads of two sorted linked lists list1 and list2. Merge the two lists in a one-sorted list. The list should be made by splicing together the nodes of the first two lists. Return the head of the merged linked list. Example: Input: list1 = [1,2,4], list2…

  • Python 101: zip_longest Code Breakdown

    Code Breakdown ''.join(a + b for a, b in zip_longest(word1, word2, fillvalue='')) Step 1: Understanding zip_longest English: The zip_longest function is imported from the itertools module. It takes multiple iterables (in this case, word1 and word2) and pairs their elements together. If the iterables are of different lengths, it fills…

  • System Design 101: How Does SSH Work

    System Design 101: How Does SSH Work

    SSH 是如何工作的? Introduction 介绍 SSH (Secure Shell) is a widely used network protocol that provides a secure way to access remote machines over an unsecured network. It offers encryption, secure authentication, and data transfer mechanisms, making it a cornerstone of secure remote communication in many IT environments. SSH(安全外壳)是一种广泛使用的网络协议,它提供了一种通过不安全网络安全访问远程机器的方法。它提供了加密、安全身份验证和数据传输机制,使其成为许多 IT 环境中安全远程通信的基石。…