Akshat1000 commited on
Commit
0d2ff3b
·
verified ·
1 Parent(s): b95d8f6

Update getans.py

Browse files
Files changed (1) hide show
  1. getans.py +1 -0
getans.py CHANGED
@@ -1,6 +1,7 @@
1
  import torch
2
  from transformers import AutoTokenizer, AutoModelForCausalLM
3
 
 
4
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
5
 
6
  tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-7b-chat-hf")
 
1
  import torch
2
  from transformers import AutoTokenizer, AutoModelForCausalLM
3
 
4
+
5
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
6
 
7
  tokenizer = AutoTokenizer.from_pretrained("meta-llama/Llama-2-7b-chat-hf")