Model Training - Everything has a dark side + Basics of creation LoRA
Basics of creation LoRA. Model Training. Everything has a dark side.What does model training look like on the TensorArt platform?Why exactly you might need your own LoRA model?I'll briefly go over how to create your own LoRA model?What is the dark side of Model Training, and what does the possible blocking of the Telegram messenger in South Korea have to do with it?1. What does model training look like on the TensorArt platform?The training interface on the site looks like this.2. Why exactly you might need your own LoRA model?You need your LoRA model to replicate someone else's drawing style. Teach the model to draw certain objects, items that you need. And get similar images in the quantity you need. The use of models is limited only by your imagination. You can teach the model to draw anything, and then with its help improve the quality of your images. The accessibility and ease of learning provided by "TensorArt" makes "Model Training" accessible to everyone. Even to an inexperienced user. The model can also be taught to make some deepfakes of real people, images that look quite realistic. But this is the dark side "Model Training" and I will talk about it at the end of the article.3. How to create your own LoRA model?First, select the basic AI model, this is the foundation on which the model will be built (from there, the necessary missing elements and training algorithms).Once you have chosen the base model. Upload the images on which the training will take place (images that the model will learn to copy, style, drawing, specific objects, and the like). Try to find images with good resolution. Look for images with a resolution of more than 1000 pixels. :))For free users, training is available on no more than a hundred images, but do not be fooled.Training even on 15 images is quite expensive. As an example, training on 15 images with Repeat = 25 and Epoch = 10 on Pony Diffusion cost me 337 energy. "Total Repetitions Per Image: 250; Total Steps: 3750" Yes, Repeat = 25, this is the maximum for regular users. I think that 100 images and Repeat = 25 for training is more than enough for a regular user. Yes, PRO users can train the model on 1000 images and without a limit on Repeat. These are truly professional parameters, not for amateurs.After you upload the images, the AI will assign tags to them (what it saw in your images). I advise you to carefully check the tags (keywords) on each image. Remove inappropriate keywords and add as many of your own as possible. Be careful when choosing words, do not write what is not in the picture.After carefully checking the tags, select the Repeat parameters (affects the quality of training, how many times it draws the same thing during training).Select the Epoch parameter. These are some evolutionary leaps in training. You can imagine it like this: Epoch one is the parent, and Epoch two is their child, and so on for generations. With this parameter, you select the number of generations.Fill in the "Trigger words" parameter. These are the words that launch your model in the prompt. An example of such a word: Old_postcards. If such a word is present, the model will launch and begin working, even if the value on the LoRA slider is small. Come up with words that characterize your model, no more than three.Next, fill in the "Model Effect Preview Prompt" parameter. Here, enter the maximum number of tags (keywords) that are on your images. During the check, you have already added them and deleted unnecessary ones. Now put them together and enter them here.Next, click the start training button and wait a while. When the training is over, select the most successful generation (you will have 4 pictures representing the Epoch), usually this is the last one. Click the publish button next to the Epoch.Next, fill out the required form to publish the model, everything the model is ready.In this article, I will not describe the intricacies of filling out the model publication form and more professional specific parameters for training. Since I promised it would be brief, but quite a lot has already come out. If you are interested, I will make a separate article on this topic. Write a feedback in the comments about it.4. What is the dark side of Model Training?Also, the model can be trained to make some deepfakes of real people, images that look quite realistic. And here we go to the dark side of Model Training. So recently, many articles have been published about the “Deepfake Epidemic”.In short, these articles were about journalists finding many Telegram channels where users could order deepfakes created from photos of real women via a Telegram bot. The first two deepfakes were offered for free, and each subsequent one was offered for money. The channels allowed users to upload an image of any woman. Then they found other Telegram channels collecting deepfakes of women of different professions - athletes, teachers, medical workers, and military personnel.As a result of these articles, South Korea seriously considered blocking the messenger completely. Telegram is not the only platform involved in this, as the attackers used X: to access a closed Telegram channel, and photos for deepfakes were often taken from Instagram.In 2020, the creator of one of the networks of such Telegram channels from South Korea was sentenced to 40 years in prison.The conclusion is, do not engage in such Deepfakes 18+, and also be careful when uploading photos to Instagram. They can make a Deepfake 18+ based on you.Every technology has its dark side, but this is not a reason for thoughtless complete bans, as well as hasty actions. It is necessary to develop regulations so that they affect only criminals. And will not affect honest users and developers. Only a person decides whether a tool in his hands will be an instrument of crime.