korywat commited on
Commit
5e98d4f
·
verified ·
1 Parent(s): 9afbb14

Deprecation notice.

Files changed (3) hide show
  1. DEPLOYMENT_MODEL_LICENSE.pdf +0 -3
  2. LICENSE +0 -2
  3. README.md +4 -87
DEPLOYMENT_MODEL_LICENSE.pdf DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4409f93b0e82531303b3e10f52f1fdfb56467a25f05b7441c6bbd8bb8a64b42c
3
- size 109629
 
 
 
 
LICENSE DELETED
@@ -1,2 +0,0 @@
1
- The license of the original trained model can be found at https://huggingface.co/microsoft/Phi-3.5-mini-instruct/blob/main/LICENSE.
2
- The license for the deployable model files (.tflite, .onnx, .dlc, .bin, etc.) can be found in DEPLOYMENT_MODEL_LICENSE.pdf.
 
 
 
README.md CHANGED
@@ -1,93 +1,10 @@
 
1
  ---
2
  library_name: pytorch
3
  license: other
4
  tags:
5
- - llm
6
- - generative_ai
7
- - android
8
- pipeline_tag: text-generation
9
 
10
  ---
11
-
12
- ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/phi_3_5_mini_instruct/web-assets/model_demo.png)
13
-
14
- # Phi-3.5-Mini-Instruct: Optimized for Mobile Deployment
15
- ## State-of-the-art large language model useful on a variety of language understanding and generation tasks
16
-
17
-
18
- Phi-3.5-mini is a lightweight, state-of-the-art open model built upon datasets used for Phi-3 - synthetic data and filtered publicly available websites - with a focus on very high-quality, reasoning dense data. The model belongs to the Phi-3 model family and supports 128K token context length. The model underwent a rigorous enhancement process, incorporating both supervised fine-tuning, proximal policy optimization, and direct preference optimization to ensure precise instruction adherence and robust safety measures.
19
-
20
- This model is an implementation of Phi-3.5-Mini-Instruct found [here](https://huggingface.co/microsoft/Phi-3.5-mini-instruct).
21
-
22
-
23
- More details on model performance across various devices, can be found [here](https://aihub.qualcomm.com/models/phi_3_5_mini_instruct).
24
-
25
-
26
-
27
- ### Model Details
28
-
29
- - **Model Type:** Model_use_case.text_generation
30
- - **Model Stats:**
31
- - Input sequence length for Prompt Processor: 128
32
- - Context length: 4096
33
- - Number of parameters: 3.8B
34
- - Precision: w4a16 + w8a16 (few layers)
35
- - Num of key-value heads: 8
36
- - Information about the model parts: Prompt Processor and Token Generator are split into 4 parts each. Each corresponding Prompt Processor and Token Generator part share weights.
37
- - Prompt processor model size: 2.16 GB
38
- - Token generator model size: 2.16 GB
39
- - Use: Initiate conversation with prompt-processor and then token generator for subsequent iterations.
40
- - Supported languages: English, Arabic, Chinese, Dutch, French, German, Italian, Russian, Spanish, Ukranian
41
- - Minimum QNN SDK version required: 2.28.2
42
- - TTFT: Time To First Token is the time it takes to generate the first response token. This is expressed as a range because it varies based on the length of the prompt. The lower bound is for a short prompt (up to 128 tokens, i.e., one iteration of the prompt processor) and the upper bound is for a prompt using the full context length (4096 tokens).
43
- - Response Rate: Rate of response generation after the first response token.
44
-
45
- | Model | Precision | Device | Chipset | Target Runtime | Response Rate (tokens per second) | Time To First Token (range, seconds)
46
- |---|---|---|---|---|---|
47
- | Phi-3.5-Mini-Instruct | w4a16 | Samsung Galaxy S24 | Snapdragon® 8 Gen 3 Mobile | QNN_CONTEXT_BINARY | 13.01 | 0.1469056 - 4.7009792 | -- | Use Export Script |
48
- | Phi-3.5-Mini-Instruct | w4a16 | Snapdragon X Elite CRD | Snapdragon® X Elite | QNN_CONTEXT_BINARY | 6.2 | 0.185833 - 5.946656 | -- | Use Export Script |
49
- | Phi-3.5-Mini-Instruct | w4a16 | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite Mobile | QNN_CONTEXT_BINARY | 14.73 | 0.1195948 - 3.8270336 | -- | Use Export Script |
50
-
51
- ## Deploying Phi-3.5-mini-instruct on-device
52
-
53
- Please follow the [LLM on-device deployment](https://github.com/quic/ai-hub-apps/tree/main/tutorials/llm_on_genie) tutorial.
54
-
55
-
56
-
57
- ## License
58
- * The license for the original implementation of Phi-3.5-Mini-Instruct can be found
59
- [here](https://huggingface.co/microsoft/Phi-3.5-mini-instruct/blob/main/LICENSE).
60
- * The license for the compiled assets for on-device deployment can be found [here](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/Qualcomm+AI+Hub+Proprietary+License.pdf)
61
-
62
-
63
-
64
- ## References
65
- * [Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone](https://arxiv.org/abs/2404.14219)
66
- * [Source Model Implementation](https://huggingface.co/microsoft/Phi-3.5-mini-instruct)
67
-
68
-
69
-
70
- ## Community
71
- * Join [our AI Hub Slack community](https://qualcomm-ai-hub.slack.com/join/shared_invite/zt-2d5zsmas3-Sj0Q9TzslueCjS31eXG2UA#/shared-invite/email) to collaborate, post questions and learn more about on-device AI.
72
- * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
73
-
74
- ## Usage and Limitations
75
-
76
- Model may not be used for or in connection with any of the following applications:
77
-
78
- - Accessing essential private and public services and benefits;
79
- - Administration of justice and democratic processes;
80
- - Assessing or recognizing the emotional state of a person;
81
- - Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics;
82
- - Education and vocational training;
83
- - Employment and workers management;
84
- - Exploitation of the vulnerabilities of persons resulting in harmful behavior;
85
- - General purpose social scoring;
86
- - Law enforcement;
87
- - Management and operation of critical infrastructure;
88
- - Migration, asylum and border control management;
89
- - Predictive policing;
90
- - Real-time remote biometric identification in public spaces;
91
- - Recommender systems of social media platforms;
92
- - Scraping of facial images (from the internet or otherwise); and/or
93
- - Subliminal manipulation
 
1
+
2
  ---
3
  library_name: pytorch
4
  license: other
5
  tags:
6
+ - deprecated
7
+ pipeline_tag: other
 
 
8
 
9
  ---
10
+ This model is deprecated. Please refer to https://aihub.qualcomm.com for the latest models and updates.