<jupyter_start><jupyter_text>PyTorch Fundamentals<jupyter_code>import numpy as np
import torch
SEED  = 1234
np.random.seed(SEED)
torch.manual_seed(SEED)<jupyter_output><empty_output><jupyter_text>Basic<jupyter_code># Creating random tensors<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1, 'fraction_numerical': 0.014814814814814815, 'mean_word_length': 13.263157894736842, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '649265', 'license': 'MIT', 'n_tokens_mistral': 114, 'n_tokens_neox': 107, 'n_words': 14, 'path': 'ML - Made with ML/Basics/03_Foundation_PyTorch.ipynb', 'repo_name': 'ptyadana/probability-and-statistics-for-business-and-data-science', 'size': '270'}