Update README.md
Browse files
README.md
CHANGED
|
@@ -56,7 +56,8 @@ model = AutoModelForSeq2SeqLM.from_pretrained("AquilaX-AI/NL-JSON-60M")
|
|
| 56 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 57 |
|
| 58 |
# Change YOUR_QUERY eg: can this https://github.com/mr-vicky-01/educational-assitant on every week using pii and sast scan
|
| 59 |
-
query = "
|
|
|
|
| 60 |
|
| 61 |
start = time.time()
|
| 62 |
|
|
|
|
| 56 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 57 |
|
| 58 |
# Change YOUR_QUERY eg: can this https://github.com/mr-vicky-01/educational-assitant on every week using pii and sast scan
|
| 59 |
+
query = "Translate the following text to JSON: " + "YOUR_QUERY".lower()
|
| 60 |
+
query = query.replace(",", "")
|
| 61 |
|
| 62 |
start = time.time()
|
| 63 |
|