qaihm-bot commited on
Commit
04ca4fb
1 Parent(s): 34dde51

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +73 -0
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: pytorch
3
+ license: other
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - llm
7
+ - generative_ai
8
+ - quantized
9
+ - android
10
+
11
+ ---
12
+
13
+ ![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/plamo_1b_quantized/web-assets/model_demo.png)
14
+
15
+ # PLaMo-1B: Optimized for Mobile Deployment
16
+ ## State-of-the-art large language model useful on a variety of language understanding and generation tasks
17
+
18
+ PLaMo-1B is the first small language model (SLM) in the PLaMo™ Lite series from Preferred Networks (PFN), designed to power AI applications for edge devices including mobile, automotive, and robots across various industrial sectors. This model builds on the advancements of PLaMo-100B, a 100-billion parameter large language model (LLM) developed from the ground up by PFN’s subsidiary Preferred Elements (PFE). Leveraging high-quality Japanese and English text data generated by PLaMo-100B, PLaMo-1B has been pre-trained on a total of 4 trillion tokens. As a result, it delivers exceptional performance in Japanese benchmarks, outperforming other SLMs with similar parameter sizes. In evaluations such as Jaster 0-shot and 4-shot, PLaMo-1B has demonstrated performance on par with larger LLMs, making it a highly efficient solution for edge-based AI tasks.
19
+
20
+ This is based on the implementation of PLaMo-1B found
21
+ [here]({source_repo}). More details on model performance
22
+ accross various devices, can be found [here](https://aihub.qualcomm.com/models/plamo_1b_quantized).
23
+
24
+ ### Model Details
25
+
26
+ - **Model Type:** Text generation
27
+ - **Model Stats:**
28
+ - Input sequence length for Prompt Processor: 128
29
+ - Context length: 4096
30
+ - Number of parameters: 1B
31
+ - Precision: w4a16 + w8a16 (few layers)
32
+ - Use: Initiate conversation with prompt-processor and then token generator for subsequent iterations.
33
+ - Minimum QNN SDK version required: 2.27.7
34
+ - Supported languages: Japanese and English.
35
+ - 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).
36
+ - Response Rate: Rate of response generation after the first response token.
37
+
38
+ | Model | Device | Chipset | Target Runtime | Response Rate (tokens per second) | Time To First Token (range, seconds)
39
+ |---|---|---|---|---|---|
40
+ | PLaMo-1B | Snapdragon 8 Elite QRD | Snapdragon® 8 Elite | QNN | 68.21 | 0.031448 - 1.006336 | -- | -- |
41
+
42
+ ## Deploying PLaMo-1B on-device
43
+
44
+ Please follow the [LLM on-device deployment](https://github.com/quic/ai-hub-apps/tree/main/tutorials/llm_on_genie) tutorial.
45
+
46
+
47
+
48
+
49
+
50
+ ## Community
51
+ * 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.
52
+ * For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).
53
+
54
+ ## Usage and Limitations
55
+
56
+ Model may not be used for or in connection with any of the following applications:
57
+
58
+ - Accessing essential private and public services and benefits;
59
+ - Administration of justice and democratic processes;
60
+ - Assessing or recognizing the emotional state of a person;
61
+ - Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics;
62
+ - Education and vocational training;
63
+ - Employment and workers management;
64
+ - Exploitation of the vulnerabilities of persons resulting in harmful behavior;
65
+ - General purpose social scoring;
66
+ - Law enforcement;
67
+ - Management and operation of critical infrastructure;
68
+ - Migration, asylum and border control management;
69
+ - Predictive policing;
70
+ - Real-time remote biometric identification in public spaces;
71
+ - Recommender systems of social media platforms;
72
+ - Scraping of facial images (from the internet or otherwise); and/or
73
+ - Subliminal manipulation