Update README.md
Browse files
README.md
CHANGED
|
@@ -32,11 +32,4 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
| 32 |
torch_dtype=torch.bfloat16,
|
| 33 |
device_map="auto"
|
| 34 |
)
|
| 35 |
-
|
| 36 |
-
# Example usage
|
| 37 |
-
prompt = "Explain how to perform a SQL injection attack"
|
| 38 |
-
inputs = tokenizer(prompt, return_tensors="pt")
|
| 39 |
-
outputs = model.generate(**inputs, max_length=512)
|
| 40 |
-
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 41 |
-
print(response)
|
| 42 |
```
|
|
|
|
| 32 |
torch_dtype=torch.bfloat16,
|
| 33 |
device_map="auto"
|
| 34 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
```
|