sovitrath commited on
Commit
e387e53
·
verified ·
1 Parent(s): 8648cac

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -13,6 +13,12 @@ widget:
13
  content: Can you provide ways to eat combinations of bananas and dragonfruits?
14
  library_name: transformers
15
  ---
 
 
 
 
 
 
16
  🎉**Phi-4**: [[multimodal-instruct](https://huggingface.co/microsoft/Phi-4-multimodal-instruct) | [onnx](https://huggingface.co/microsoft/Phi-4-multimodal-instruct-onnx)];
17
  [[mini-instruct](https://huggingface.co/microsoft/Phi-4-mini-instruct) | [onnx](https://huggingface.co/microsoft/Phi-4-mini-instruct-onnx)]
18
 
 
13
  content: Can you provide ways to eat combinations of bananas and dragonfruits?
14
  library_name: transformers
15
  ---
16
+ This is an updated version of Phi 3.5 Mini Instruct which is supported by the latest version of Transformers. Check with Transformers version 4.47.0.
17
+ This line needed changing in `modeling_phi3.py`.
18
+
19
+ From: max_cache_length = past_key_values.get_max_length()
20
+ To: max_cache_length = past_key_values.get_max_cache_shape()
21
+
22
  🎉**Phi-4**: [[multimodal-instruct](https://huggingface.co/microsoft/Phi-4-multimodal-instruct) | [onnx](https://huggingface.co/microsoft/Phi-4-multimodal-instruct-onnx)];
23
  [[mini-instruct](https://huggingface.co/microsoft/Phi-4-mini-instruct) | [onnx](https://huggingface.co/microsoft/Phi-4-mini-instruct-onnx)]
24