Rohankumar31 commited on
Commit
5706a47
·
1 Parent(s): 091bb66

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -3
main.py CHANGED
@@ -1,7 +1,4 @@
1
  import transformers
2
- import torch
3
- import torch.nn as nn
4
- import tensorflow as tf
5
  from transformers import TFGPT2LMHeadModel ,GPT2Tokenizer, BitsAndBytesConfig
6
  tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
7
  model = TFGPT2LMHeadModel.from_pretrained('gpt2',pad_token_id = tokenizer.eos_token_id)
 
1
  import transformers
 
 
 
2
  from transformers import TFGPT2LMHeadModel ,GPT2Tokenizer, BitsAndBytesConfig
3
  tokenizer = GPT2Tokenizer.from_pretrained('gpt2')
4
  model = TFGPT2LMHeadModel.from_pretrained('gpt2',pad_token_id = tokenizer.eos_token_id)