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