Update README.md
Browse files
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 = """
|