CoolFace
Modelpublic

qualcomm/PLaMo-1B

sourceHugging Faceotherupdated 2d agoView on Hugging Face
3likes
README.md78 linesDownload Raw Back to root
1---2library_name: pytorch3license: other4tags:5- llm6- generative_ai7- android8pipeline_tag: text-generation9 10---11 12![](https://qaihub-public-assets.s3.us-west-2.amazonaws.com/qai-hub-models/models/plamo_1b/web-assets/model_demo.png)13 14# PLaMo-1B: Optimized for Qualcomm Devices15 16PLaMo-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.17 18This repository contains pre-exported model files optimized for Qualcomm® devices. You can use the [Qualcomm® AI Hub Models](https://github.com/qualcomm/ai-hub-models/blob/v0.63.0/src/qai_hub_models/models/plamo_1b) library to export with custom configurations. More details on model performance across various devices, can be found [here](#performance-summary).19 20Qualcomm AI Hub Models uses [Qualcomm AI Hub Workbench](https://workbench.aihub.qualcomm.com) to compile, profile, and evaluate this model. [Sign up](https://myaccount.qualcomm.com/signup) to run these models on a hosted Qualcomm® device.21 22## Getting Started23 24This model is available for purchase. Please [contact us](mailto:ai-hub-support@qti.qualcomm.com) to learn more about licensing options.25 26## Getting Started27This model is available for purchase. Please [contact us](mailto:ai-hub-support@qti.qualcomm.com) to learn more about licensing options.28 29 30## Model Details31 32**Model Type:** Model_use_case.text_generation33 34**Model Stats:**35- Context length: 409636- Input sequence length for Prompt Processor: 12837- Minimum QNN SDK version required: 2.27.738- Number of parameters: 1B39- Precision: w4a16 + w8a16 (few layers)40- Response Rate: Rate of response generation after the first response token.41- Supported languages: Japanese and English.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- Use: Initiate conversation with prompt-processor and then token generator for subsequent iterations.44 45## Performance Summary46| Model | Runtime | Precision | Chipset | Context Length | Response Rate (tokens per second) | Time To First Token (range, seconds)47|---|---|---|---|---|---|---48| PLaMo-1B | QNN_CONTEXT_BINARY | w4a16 | Qualcomm® Dragonwing™ Q-8750 | 4096 | 68.21 | 0.031448000000000004 - 1.006336000000000149 50 51 52 53 54## Community55* Join [our AI Hub Slack community](https://aihub.qualcomm.com/community/slack) to collaborate, post questions and learn more about on-device AI.56* For questions or feedback please [reach out to us](mailto:ai-hub-support@qti.qualcomm.com).57 58## Usage and Limitations59 60This model may not be used for or in connection with any of the following applications:61 62- Accessing essential private and public services and benefits;63- Administration of justice and democratic processes;64- Assessing or recognizing the emotional state of a person;65- Biometric and biometrics-based systems, including categorization of persons based on sensitive characteristics;66- Education and vocational training;67- Employment and workers management;68- Exploitation of the vulnerabilities of persons resulting in harmful behavior;69- General purpose social scoring;70- Law enforcement;71- Management and operation of critical infrastructure;72- Migration, asylum and border control management;73- Predictive policing;74- Real-time remote biometric identification in public spaces;75- Recommender systems of social media platforms;76- Scraping of facial images (from the internet or otherwise); and/or77- Subliminal manipulation78