Hemanth-thunder
commited on
Commit
•
35c0139
1
Parent(s):
a877fa1
Update README.md
Browse files
README.md
CHANGED
@@ -37,7 +37,7 @@ Mistral-7B-v0.1 is a transformer model, with the following architecture choices:
|
|
37 |
```python
|
38 |
import torch
|
39 |
from transformers import (AutoModelForCausalLM,AutoTokenizer,TextStreamer,pipeline)
|
40 |
-
model = AutoModelForCausalLM.from_pretrained("Hemanth-thunder/Tamil-Mistral-7B-v0.1"device_map="auto")
|
41 |
tokenizer = AutoTokenizer.from_pretrained("Hemanth-thunder/Tamil-Mistral-7B-v0.1",add_prefix_space=True)
|
42 |
tokenizer.pad_token = tokenizer.eos_token
|
43 |
tokenizer.padding_side = "right"
|
|
|
37 |
```python
|
38 |
import torch
|
39 |
from transformers import (AutoModelForCausalLM,AutoTokenizer,TextStreamer,pipeline)
|
40 |
+
model = AutoModelForCausalLM.from_pretrained("Hemanth-thunder/Tamil-Mistral-7B-v0.1",device_map="auto")
|
41 |
tokenizer = AutoTokenizer.from_pretrained("Hemanth-thunder/Tamil-Mistral-7B-v0.1",add_prefix_space=True)
|
42 |
tokenizer.pad_token = tokenizer.eos_token
|
43 |
tokenizer.padding_side = "right"
|