Open krishna1870 opened 1 month ago
Can you provide some more info on your steps? There are a couple of issues that have been hitting users that we hope to better address soon:
BundleConfig
object as discussed here you have to supply a tokenizer model in the SentencePiece ("SP") format, which might not be available. So the extra additional step would be to build a new SP tokenizer model from the given tokenizer for Phi2 (or Falcon or whatever model you choose). If the created SP tokenizer model is not correct, the output will not be correct.ai_edge_torch
can you try again with the latest main in the repo? Also, please do a fresh install of ai_edge_torch
. We needed to pin our TF dependency due to changes in MP. So please use MP 0.10.16 or later. Thanks! I will leave this issue open so you can respond.
I tried to build phi-2 and falcon on samsung A-55 5g 8gb ram. if i use mediapipe genai 15 and 16 versions model is taking infinite time to give response while i tried with mediapipe 13,14 versions it is giving junk output.