aditya-emergence
commited on
Commit
•
d842518
1
Parent(s):
372e400
Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ Loading model and tokenizer:
|
|
34 |
import torch
|
35 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
36 |
|
37 |
-
model_path = "
|
38 |
device = torch.device("cuda:0") # change device id as necessary
|
39 |
model = AutoModelForCausalLM.from_pretrained(model_path)
|
40 |
tokenizer = AutoTokenizer.from_pretrained(model_path, fast_tokenizer=True)
|
|
|
34 |
import torch
|
35 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
36 |
|
37 |
+
model_path = "EmergenceAI/RAG-response-generation-model-v2"
|
38 |
device = torch.device("cuda:0") # change device id as necessary
|
39 |
model = AutoModelForCausalLM.from_pretrained(model_path)
|
40 |
tokenizer = AutoTokenizer.from_pretrained(model_path, fast_tokenizer=True)
|