Update README.md
Browse files
README.md
CHANGED
@@ -70,8 +70,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
70 |
|
71 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
72 |
|
73 |
-
model = AutoModelForCausalLM.from_pretrained("
|
74 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
75 |
|
76 |
def generate_response(message: str, temperature: float = 0.4, repetition_penalty: float = 1.12) -> str:
|
77 |
# Convert message to PyTorch tensors
|
|
|
70 |
|
71 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
72 |
|
73 |
+
model = AutoModelForCausalLM.from_pretrained("OuteAI/Lite-Oute-1-300M").to(device)
|
74 |
+
tokenizer = AutoTokenizer.from_pretrained("OuteAI/Lite-Oute-1-300M")
|
75 |
|
76 |
def generate_response(message: str, temperature: float = 0.4, repetition_penalty: float = 1.12) -> str:
|
77 |
# Convert message to PyTorch tensors
|