AB
AiBoss
project

WeClone - A one-stop solution for open-source AI digital avatars

WeClone is a one-stop solution for creating digital avatars from chat logs. Based on chat log-based fine-tuning of Large Language Models (LLM), it gives the model a specific style and binds it to chatbots such as WeChat, QQ, and Telegram...

What is WeClone?

WeClone is a one-stop solution for creating digital avatars from chat logs. Based on chat logs, it fine-tunes large language models (LLMs) to give the models specific styles, which are then linked to chatbots such as WeChat, QQ, and Telegram to achieve digital avatars. The project covers the entire chain from data export, preprocessing, model training to deployment, supporting privacy filtering and localized deployment to ensure data security. WeClone provides users with an intelligent digital avatar experience.

Main functions of WeClone

  • Chat history tweaksBased on chat logs, fine-tune a large language model to generate a personalized digital clone.
  • Voice cloningBy combining WeChat voice messages and the Spark-TTS model, high-quality voice cloning can be achieved, enhancing the realism of digital clones.
  • Privacy protectionAutomatically filters sensitive information, supports local deployment, and ensures data security.
  • Multi-platform supportSupports binding to chatbot platforms such as WeChat, QQ, and Telegram.
  • Flexible configurationIt provides parameter adjustment and custom model options to meet the needs of different users.

WeClone's technical principles

  • Base model selectionIt uses a pre-trained Large Language Model (LLM) as its foundation. The model is trained on a large amount of text data and has powerful language understanding and generation capabilities.
  • Fine-tuning technologyThis study utilizes the LoRA method to fine-tune the basic model. LoRA is an efficient fine-tuning method that inserts low-rank matrices into the key layers of the model to adjust the model parameters, achieving good fine-tuning results with relatively few computational resources.
  • Data preprocessingThe process involves cleaning and formatting user chat logs, removing sensitive information, and extracting valid dialogue data. The pre-processed chat logs are then used to fine-tune the model, adjusting its parameters to generate responses that match the user's style.
  • Privacy protection mechanismThis feature uses regular expressions and other technologies to identify and remove sensitive information from chat logs, such as phone numbers, ID card numbers, and email addresses. It supports fine-tuning and deployment in a local environment, ensuring user data is not uploaded to the cloud and protecting user privacy.

WeClone's project address

Application scenarios of WeClone

  • Personal assistant customizationWhen users are busy, the digital avatar can reply to messages and handle daily tasks on their behalf, such as writing emails and replying to comments.
  • Content creationIt can quickly generate personalized text content in a specific style, helping users manage multiple accounts with a consistent style, such as writing tweets, scripts, and commentaries.
  • Digital ImmortalityCreate a digital clone of yourself or someone else to achieve permanence and preserve the memories of them.
  • Emotional companionshipIt provides emotional support to users by simulating the chat style of specific characters, offering companionship and comfort.
  • Language learningInteracting with a digital avatar allows users to practice language expression and learn specific styles or tones of conversation.