Objectives. The main purpose of this work is to adapt the architecture of the REINVENT neural network to generate potential inhibitors of the HIV-1 envelope protein gp120 using in the learning process with reinforcement of molecular docking on GPUs.Methods. To modify the initial network model, molecular docking on GPUs implemented in the learning process with reinforcement was used, and an algorithm was developed that allows converting the representations of connections generated by the SMILES network into the PDBQT format necessary for docking. To accelerate the learning of the neural network in the modified version of the REINVENT model, the AutoDock-Vina-GPU-2.1 docking program was used, and to clarify the results of its work, the procedure for revaluing the affinity of compounds to the target using the RFScore-4 evaluation function was used.Results. Using a modified version of the REINVENT model, more than 60,000 compounds were obtained, of which about 52,000 molecules have a binding energy value to the HIV-1 gp120 protein comparable to the value calculated for the HIV-1 inhibitor NBD-14204, used in calculations as a positive control. Of the 52,000 compounds selected, about 34,000 molecules satisfy the restrictions imposed on a potential drug to ensure its bioavailability when taken orally.Conclusion. The results obtained allow us to demonstrate the effectiveness of an adapted neural network by the example of designing new potential inhibitors of the gp120 HIV-1 protein capable of blocking the CD4- binding site of the gp120 virus envelope protein and preventing its penetration into host cells.