Skip to content
View gg2001's full-sized avatar

Highlights

  • Pro

Block or report gg2001

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. flashloans flashloans Public

    dYdX, Aave and Uniswap flash loans

    Solidity 52 18

  2. GPT-2 inference implemented in pure ... GPT-2 inference implemented in pure PyTorch tensors - no torch.nn/modules. Only imports gelu, layer_norm and softmax from torch.nn.functional + model weights & tokenizer from Hugging Face. Run with -> python gpt2_tensor.py --prompt "hello"
    1
    import argparse
    2
    import torch
    3
    from torch.nn.functional import gelu, layer_norm, softmax
    4
    from transformers import GPT2Model, AutoTokenizer
    5
    from typing import TypedDict