Update README.md
Browse files
README.md
CHANGED
@@ -59,7 +59,7 @@ model_name = "HasinduNimesh/qwen3b-finetuned"
|
|
59 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
60 |
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
|
61 |
|
62 |
-
input_text = "
|
63 |
inputs = tokenizer(input_text, return_tensors="pt").to(model.device)
|
64 |
output = model.generate(**inputs, max_length=256)
|
65 |
print(tokenizer.decode(output[0], skip_special_tokens=True))
|
|
|
59 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
60 |
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
|
61 |
|
62 |
+
input_text = "Why is it necessary to filter out chain-of-thought outputs with mixed languages, long paragraphs, and code blocks?"
|
63 |
inputs = tokenizer(input_text, return_tensors="pt").to(model.device)
|
64 |
output = model.generate(**inputs, max_length=256)
|
65 |
print(tokenizer.decode(output[0], skip_special_tokens=True))
|