|
3565 | 3565 | "model_family": "ONNXEmbeddingModel", "model_category": "embedding", |
3566 | 3566 | "model_location": "llmware_repo", "use_case": "classifier", |
3567 | 3567 | "embedding_dims": 768, "context_window": 512, "link": "https://none", |
3568 | | - "custom_model_repo": "", "hf_repo": "llmware/unitary-unbiased-toxic-roberta-onnx"} |
| 3568 | + "custom_model_repo": "", "hf_repo": "llmware/unitary-unbiased-toxic-roberta-onnx"}, |
3569 | 3569 |
|
| 3570 | + {"model_name": "phi-3-vision-onnx", "display_name": "phi-3-vision-3b", |
| 3571 | + "model_family": "ONNXVisionGenerativeModel", "model_category": "generative_local", |
| 3572 | + "model_location": "llmware_repo", "context_window": 4096, "instruction_following": False, |
| 3573 | + "prompt_wrapper": "phi_3_vision", "temperature": 0.0, "trailing_space": "", |
| 3574 | + "hf_repo": "llmware/phi-3-vision-onnx", |
| 3575 | + "link": "https://huggingface.co/llmware/phi-3-vision-onnx", |
| 3576 | + "tokenizer_local": "tokenizer_phi3.json", |
| 3577 | + "fetch": {"module": "llmware.models", "method": "pull_snapshot_from_hf"}, |
| 3578 | + "validation_files": ["phi-3-v-128k-instruct-text.onnx.data", |
| 3579 | + "phi-3-v-128k-instruct-vision.onnx.data", |
| 3580 | + "phi-3-v-128k-instruct-embedding.onnx.data"], |
| 3581 | + "custom_model_files": [], "custom_model_repo": "", "parameters": 3.8} |
3570 | 3582 |
|
3571 | 3583 | ] |
3572 | 3584 |
|
|
3630 | 3642 | "phi_3": {"system_start": "<|system|>\n", "system_stop": "<|end|>\n", |
3631 | 3643 | "main_start": "<|user|>\n", "main_stop": "<|end|>\n", "start_llm_response": "<|assistant|>"}, |
3632 | 3644 |
|
| 3645 | + # intended for embedding one image only currently |
| 3646 | + "phi_3_vision": {"system_start": "", "system_stop": "", |
| 3647 | + "main_start": "<|user|>\n<|image_1|>\n", |
| 3648 | + "main_stop": "<|end|>\n", |
| 3649 | + "start_llm_response": "<|assistant|>\n"}, |
| 3650 | + |
3633 | 3651 | "phi_4": {"system_start": "<|im_start|>system<|im_sep|>\n", |
3634 | 3652 | "system_stop": "<|im_end|>\n", |
3635 | 3653 | "main_start": "<|im_start|>user<|im_sep|>\n", |
|
0 commit comments