Spaces:
Sleeping
Sleeping
no toxic
Browse files
rag.py
CHANGED
@@ -33,7 +33,7 @@ class Llama3_8B_gen:
|
|
33 |
def __init__(self, threshold):
|
34 |
self.pipeline = transformers.pipeline(
|
35 |
"text-generation",
|
36 |
-
model="dixiyao/
|
37 |
token=os.getenv("HF_TOKEN"),
|
38 |
model_kwargs={
|
39 |
"torch_dtype": torch.float16,
|
|
|
33 |
def __init__(self, threshold):
|
34 |
self.pipeline = transformers.pipeline(
|
35 |
"text-generation",
|
36 |
+
model="dixiyao/professor-bot-dpo_3epochs",
|
37 |
token=os.getenv("HF_TOKEN"),
|
38 |
model_kwargs={
|
39 |
"torch_dtype": torch.float16,
|