Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ finetuned_model = AutoModelForCausalLM.from_pretrained("Manoj21k/microsoft-phi-2
|
|
46 |
|
47 |
# Tokenize input with instruction and generate output
|
48 |
tokenizer = AutoTokenizer.from_pretrained("Manoj21k/microsoft-phi-2-finetuned")
|
49 |
-
input_text = "Instruct:
|
50 |
inputs = tokenizer(input_text, return_tensors="pt", return_attention_mask=False)
|
51 |
output = finetuned_model.generate(**inputs, max_length=200)
|
52 |
|
|
|
46 |
|
47 |
# Tokenize input with instruction and generate output
|
48 |
tokenizer = AutoTokenizer.from_pretrained("Manoj21k/microsoft-phi-2-finetuned")
|
49 |
+
input_text = "Instruct: Issue with the delivered product"
|
50 |
inputs = tokenizer(input_text, return_tensors="pt", return_attention_mask=False)
|
51 |
output = finetuned_model.generate(**inputs, max_length=200)
|
52 |
|