Update README.md (#13)
- Update README.md (cdd08d3738d03fa1c5b01be4db3c08aa805025cd) Co-authored-by: Uppari Gopi <GopiUppari@users.noreply.huggingface.co>
This commit is contained in:
parent
fa1e42a34b
commit
dcc83ea841
@ -74,6 +74,7 @@ With instruction-tuned models, you need to use chat templates to process our inp
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
from transformers import pipeline
|
from transformers import pipeline
|
||||||
|
import torch
|
||||||
|
|
||||||
pipe = pipeline("text-generation", model="google/gemma-3-1b-it", device="cuda", torch_dtype=torch.bfloat16)
|
pipe = pipeline("text-generation", model="google/gemma-3-1b-it", device="cuda", torch_dtype=torch.bfloat16)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user