Soh19 commited on
Commit
16f91ef
·
verified ·
1 Parent(s): 67e802d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -2
README.md CHANGED
@@ -39,8 +39,6 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
39
  model = AutoModelForCausalLM.from_pretrained("paytm/text2graph1.5b-int8")
40
  tokenizer = AutoTokenizer.from_pretrained("paytm/text2graph1.5b-int8")
41
 
42
- # Move model to appropriate device
43
- model = model.to(device)
44
 
45
  # Prepare your input text
46
  text = """
 
39
  model = AutoModelForCausalLM.from_pretrained("paytm/text2graph1.5b-int8")
40
  tokenizer = AutoTokenizer.from_pretrained("paytm/text2graph1.5b-int8")
41
 
 
 
42
 
43
  # Prepare your input text
44
  text = """