Phi-3CookBook
Phi-3CookBook copied to clipboard
This is a Phi-3 book for getting started with Phi-3. Phi-3, a family of open AI models developed by Microsoft. Phi-3 models are the most capable and cost-effective small language models (SLMs) availab...
I have been trying out Phi-3 models and it's been a wonderful experience. ### However, sometimes the tokenizer throws exception: The line of code ```python text =self.tokenizer.decode(output_tokens) ``` throws ```Exception:...
Thanks for making this cook book available and Phi-3 available! In short: 1. I would love an example of a system message that declares some tools with OpenAPI function definitions,...
Pipline -> Pipeline
"Using Intel NPU acceleration, this library does not affect the traditional encoding process. You only need to use this library to quantize the original Phi-3 model, such as FP16, INT4,such...
Using the following local Model pulled from HF here is my code: ``` var modelPath = @"C:\models\Phi-3-vision-128k-instruct-onnx-cpu\cpu-int4-rtn-block-32-acc-level-4"; #pragma warning disable SKEXP0070 // Type is for evaluation purposes only and is...
### This issue is for a: (mark with an `x`) ``` - [ ] bug report -> please search issues before submitting - [ x ] feature request - [...
### This issue is for a: (mark with an `x`) ``` - [ ] bug report -> please search issues before submitting - [x] feature request - [ ] documentation...
RAG for phi 3 vision using kernel memory in place of semantic text memory.Any example for offline retrival in c#? sorry to bother you.I am new is this arena
`System.MissingMethodException HResult=0x80131513 Message=Method not found: 'System.ValueTuple`3 FastBertTokenizer.BertTokenizer.Encode(System.String, Int32, System.Nullable`1)'. Source=SmartComponents.LocalEmbeddings StackTrace: at SmartComponents.LocalEmbeddings.LocalEmbedder.Embed[TEmbedding](String inputText, Nullable`1 outputBuffer, Int32 maximumTokens) at SmartComponents.LocalEmbeddings.LocalEmbedder.Embed(String inputText, Int32 maximumTokens) at SmartComponents.LocalEmbeddings.SemanticKernel.LocalTextEmbeddingGenerationService.GenerateEmbeddingsAsync(IList`1 data, Kernel kernel, CancellationToken cancellationToken)...
Phi3Vision performs well on training/eval dataset but not well in generation/inference post training
Hi Team, I trained Phi3-Vision on my short video captioning dataset. The training went very well (after multiple attempts), and the model reached a good performance point (i.e.: low train...