AashishKumar
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -21,8 +21,8 @@ tags:
|
|
21 |
```
|
22 |
from transformers import AutoTokenizer, LlamaForCausalLM
|
23 |
|
24 |
-
model = LlamaForCausalLM.from_pretrained("
|
25 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
26 |
|
27 |
prompt = "ky tumhe la la land pasand hai?"
|
28 |
inputs = tokenizer(prompt, return_tensors="pt")
|
@@ -40,6 +40,6 @@ from transformers import pipeline
|
|
40 |
messages = [
|
41 |
{"role": "user", "content": "Who are you?"},
|
42 |
]
|
43 |
-
pipe = pipeline("text-generation", model="
|
44 |
pipe(messages)
|
45 |
```
|
|
|
21 |
```
|
22 |
from transformers import AutoTokenizer, LlamaForCausalLM
|
23 |
|
24 |
+
model = LlamaForCausalLM.from_pretrained("otonomy/Cn_2_9_3_Hinglish_llama3_7b_8kAk")
|
25 |
+
tokenizer = AutoTokenizer.from_pretrained("otonomy/Cn_2_9_3_Hinglish_llama3_7b_8kAK")
|
26 |
|
27 |
prompt = "ky tumhe la la land pasand hai?"
|
28 |
inputs = tokenizer(prompt, return_tensors="pt")
|
|
|
40 |
messages = [
|
41 |
{"role": "user", "content": "Who are you?"},
|
42 |
]
|
43 |
+
pipe = pipeline("text-generation", model="otonomy/Cn_2_9_3_Hinglish_llama3_7b_8kAk")
|
44 |
pipe(messages)
|
45 |
```
|