Update README.md
Browse files
README.md
CHANGED
@@ -110,7 +110,7 @@ def generate(messages):
|
|
110 |
return generated_text
|
111 |
|
112 |
model_name = 'FractalGPT/RuQwen2.5-3B-Instruct-AWQ'
|
113 |
-
model =
|
114 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
115 |
|
116 |
prompt = "Классификация медицинских терминов"
|
|
|
110 |
return generated_text
|
111 |
|
112 |
model_name = 'FractalGPT/RuQwen2.5-3B-Instruct-AWQ'
|
113 |
+
model = RuQwen2ForCausalLM.from_pretrained(model_name, torch_dtype=torch.float16)
|
114 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
115 |
|
116 |
prompt = "Классификация медицинских терминов"
|