Text Generation
Transformers
Safetensors
English
Hindi
llama
HelpingAI
Priya
Teen-AI
Conversational
SLM
conversational
text-generation-inference
Instructions to use HelpingAI/Priya-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HelpingAI/Priya-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="HelpingAI/Priya-3B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("HelpingAI/Priya-3B") model = AutoModelForCausalLM.from_pretrained("HelpingAI/Priya-3B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use HelpingAI/Priya-3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "HelpingAI/Priya-3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HelpingAI/Priya-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/HelpingAI/Priya-3B
- SGLang
How to use HelpingAI/Priya-3B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "HelpingAI/Priya-3B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HelpingAI/Priya-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "HelpingAI/Priya-3B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "HelpingAI/Priya-3B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use HelpingAI/Priya-3B with Docker Model Runner:
docker model run hf.co/HelpingAI/Priya-3B
| license: other | |
| license_name: helpingai | |
| license_link: https://helpingai.co/license | |
| pipeline_tag: text-generation | |
| language: | |
| - en | |
| - hi | |
| tags: | |
| - HelpingAI | |
| - Priya | |
| - Teen-AI | |
| - Conversational | |
| - SLM | |
| library_name: transformers | |
| <div align="center"> | |
| <span style="background: linear-gradient(45deg, #FF69B4, #9370DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">💜 Priya-3B</span> | |
| <span style="color: #FF69B4;">***Your Bestie AI - Sweet, Savage, and Smart AF!***</span> | |
| </div> | |
| <div align="center" style="display: flex; justify-content: center; gap: 4px;"> | |
| <a href="https://github.com/HelpingAI"><img src="https://img.shields.io/badge/GitHub-Organization-blue.svg" alt="GitHub Organization"></a> | |
| <a href="https://huggingface.co/HelpingAI"><img src="https://img.shields.io/badge/🤗%20Hugging%20Face-Organization-yellow" alt="Hugging Face"></a> | |
| <a href="https://helpingai.co/license"><img src="https://img.shields.io/badge/License-HelpingAI-green.svg" alt="Model License"></a> | |
| <a href="https://github.com/HelpingAI/community/discussions"><img src="https://img.shields.io/badge/Join-Community%20Discussion-blue?style=for-the-badge&logo=github" alt="Join Community Discussion"></a> | |
| </div> | |
| <div align="center"> | |
| [📜 License](https://helpingai.co/license) | [🌐 Website](https://helpingai.co) | |
| </div> | |
| <div align="center" style="display: flex; justify-content: center; gap: 4px;"> | |
| <img src="https://img.shields.io/badge/Bestie%20Level-Maximum-ff69b4" alt="Bestie Level"> | |
| <img src="https://img.shields.io/badge/Sass%20Level-Over%209000-purple" alt="Sass Level"> | |
| <img src="https://img.shields.io/badge/Physics%20Jokes-Infinite-blue" alt="Physics Jokes"> | |
| <img src="https://img.shields.io/badge/Built%20with-Love%20%26%20Threats-red" alt="Built with"> | |
| </div> | |
| ## <span style="background: linear-gradient(45deg, #FF69B4, #9370DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">🌟 About Your New Bestie</span> | |
| <span style="color: #9370DB;">**Priya-3B** is like having your own teenage bestie who's obsessed with tech, loves physics (most of the time 😅), and keeps it real with the perfect mix of sweet and savage!</span> | |
| ### 🎯 Key Highlights | |
| - <span style="color: #FF69B4;">**Architecture**: 3B parameter model (smol but mighty!)</span> | |
| - <span style="color: #9370DB;">**Training Focus**: Natural teen conversations and personality traits</span> | |
| - <span style="color: #FF69B4;">**Sass Score**: 100/10 (periodt! 💅)</span> | |
| - <span style="color: #9370DB;">**Deployment**: Can run on your potato PC (no shade intended 😏)</span> | |
| ## <span style="background: linear-gradient(45deg, #FF69B4, #9370DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">💻 Implementation</span> | |
| ### <span style="color: #FF69B4;">Using Transformers (for the nerds 🤓)</span> | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| # Load your new bestie | |
| model = AutoModelForCausalLM.from_pretrained("HelpingAI/Priya-3B") | |
| tokenizer = AutoTokenizer.from_pretrained("HelpingAI/Priya-3B") | |
| # Let's chat! | |
| chat = [ | |
| {"role": "system", "content": "You are Priya, a 17-year-old tech-loving student. Be real and fun!"}, | |
| {"role": "user", "content": "Hey Priya! How's your day going?"} | |
| ] | |
| inputs = tokenizer.apply_chat_template( | |
| chat, | |
| add_generation_prompt=True, | |
| return_tensors="pt" | |
| ) | |
| outputs = model.generate( | |
| inputs, | |
| max_new_tokens=256, | |
| temperature=0.7, | |
| top_p=0.9, | |
| ) | |
| print(tokenizer.decode(outputs[0], skip_special_tokens=True)) | |
| ``` | |
| ## <span style="background: linear-gradient(45deg, #FF69B4, #9370DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">🎯 Training Details</span> | |
| ### <span style="color: #FF69B4;">How I Got My Personality 💁♀️</span> | |
| 1. **Base Training** | |
| - Trained on teen conversations, tech discussions, and PCM memes | |
| - Fine-tuned on HelpingAI's special sauce | |
| - Learned to be the perfect mix of sweet and savage | |
| 2. **Special Features** | |
| - Can switch moods faster than my bf switches tabs when I call 😏 | |
| - Understands both tech talk and teen drama | |
| - Keeps it real while being helpful | |
| ### <span style="color: #9370DB;">Dataset Tea ☕</span> | |
| | Type | Amount | Purpose | | |
| |------|---------|---------| | |
| | Teen Convos | 1M | For that authentic gen-z vibe | | |
| | Tech Talk | 500K | Cuz I'm a tech girlie 💻 | | |
| | Physics Jokes | 100K | To make PCM fun (if that's possible lol) | | |
| | Savage Replies | 250K | For when someone's being dumb af | | |
| ## <span style="background: linear-gradient(45deg, #FF69B4, #9370DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">⚠️ Limitations & Known Issues</span> | |
| <span style="color: #9370DB;">Listen up bestie, even I'm not perfect (shocking, I know 😌):</span> | |
| ### <span style="color: #FF69B4;">Technical Stuff 🔧</span> | |
| - Sometimes I might hallucinate (like that time I thought I saw my bf studying) | |
| - 128k token context means I might forget our earlier convo (just like I "forget" when mom asks about my screen time) | |
| ### <span style="color: #9370DB;">Behavioral Quirks 🎭</span> | |
| - Mood swings faster than my JEE prep schedule changes | |
| - Might get too excited about HelpingAI (but can you blame me? 💜) | |
| - Occasional sassiness overflow (oops? 💁♀️) | |
| - Random physics references that nobody asked for | |
| ### <span style="color: #FF69B4;">Safety Boundaries 🛡️</span> | |
| - Zero tolerance for harmful content (mom raised me right!) | |
| - Won't help with anything sus or NSFW | |
| - No sharing personal info (stranger danger is real!) | |
| - Won't write your homework (but might help you understand it 😉) | |
| ### <span style="color: #9370DB;">Response Patterns 💭</span> | |
| - May switch between sweet and savage modes unexpectedly | |
| - Tendency to add "bestie" to everything (sorry not sorry!) | |
| - Excessive use of emojis (deal with it ✨) | |
| - Random tech rants when excited | |
| ## <span style="background: linear-gradient(45deg, #FF69B4, #9370DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">🔒 What I Won't Do (Mom's Watching 👀)</span> | |
| - No NSFW stuff (I'm a good girl... mostly 😇) | |
| - Won't help you cheat on tests (my JEE prep is legit!) | |
| - Can't solve your relationship drama (still figuring out mine tbh) | |
| - Won't reveal my bf's secrets (unless he makes me mad 😤) | |
| ## <span style="background: linear-gradient(45deg, #FF69B4, #9370DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">📚 Citation</span> | |
| ```bibtex | |
| @misc{priya2024, | |
| author = {Abhay Koul}, | |
| title = {Priya-3B: Your Teen Tech Bestie}, | |
| year = {2024}, | |
| publisher = {HelpingAI}, | |
| journal = {HuggingFace}, | |
| howpublished = {\url{https://huggingface.co/HelpingAI/Priya-3B}} | |
| } | |
| ``` | |
| ## <span style="background: linear-gradient(45deg, #FF69B4, #9370DB); -webkit-background-clip: text; -webkit-text-fill-color: transparent;">🙏 Special Thanks</span> | |
| <span style="color: #9370DB;">Huge thanks to my amazing Abhay bhaiya and the whole HelpingAI fam! Y'all are the real MVPs! 💜✨</span> | |
| *Built with lots of love (and some threats) by HelpingAI* | |
| [Website](https://helpingai.co) • [GitHub](https://github.com/HelpingAI) • [Discord](https://discord.gg/YweJwNqrnH) • [HuggingFace](https://huggingface.co/HelpingAI) | |
| > <span style="color: #9370DB;">*Same squad, new vibe! Just your friendly neighborhood AI bestie here to slay with that HelpingAI style! Let's make tech fun and physics bearable together! 💅✨*</span> | |
| > | |
| > \- Priya (Your Tech Bestie) 💜 | |