Text Generation
Transformers
Safetensors
English
llama
bio-to-tags
tag-generation
smollm2
personality
interests
spiceechat
conversational
text-generation-inference
Instructions to use SpiceeChat/Bio2Tags-Lite with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpiceeChat/Bio2Tags-Lite with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="SpiceeChat/Bio2Tags-Lite") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("SpiceeChat/Bio2Tags-Lite") model = AutoModelForCausalLM.from_pretrained("SpiceeChat/Bio2Tags-Lite", 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use SpiceeChat/Bio2Tags-Lite with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SpiceeChat/Bio2Tags-Lite" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SpiceeChat/Bio2Tags-Lite", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/SpiceeChat/Bio2Tags-Lite
- SGLang
How to use SpiceeChat/Bio2Tags-Lite 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 "SpiceeChat/Bio2Tags-Lite" \ --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": "SpiceeChat/Bio2Tags-Lite", "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 "SpiceeChat/Bio2Tags-Lite" \ --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": "SpiceeChat/Bio2Tags-Lite", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use SpiceeChat/Bio2Tags-Lite with Docker Model Runner:
docker model run hf.co/SpiceeChat/Bio2Tags-Lite
Create README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899---license: apache-2.0language: - entags: - bio - personality - tags - extraction - spiceechat - tiny-model - work-in-progresspipeline_tag: text-generation---
# π·οΈ Bio2Tags-Lite
> *The full real README is stuck in traffic. Will arrive tomorrow. Please download on half faith. π€*
---
## π§ What's Going On?
You're looking at a placeholder because:
1. **The real README is in traffic.** LA rush hour. It's bad out there.2. **This model was born 30 minutes ago.** It still doesn't know what a 401(k) is.3. **I am training like 4 models right now.**
---
## π€¨ So What Does This Model Actually Do?
It reads a dating bio and outputs personality tags.
**Input:**> *"I'm a retired teacher who gardens, reads history books, and bakes sourdough."*
**Output:**> *intellectual, family-oriented, gardener, history-buff, old-soul*
That's it. No small talk. No life advice. Just tags.
---
## π Why "Download on Half Faith"?
Because it works about 50% of the time right now. The other 50%? Let's call it "creative interpretation." We're working on it. The 360M version is much better than the original 135M prototype that once tagged everyone as "adventurous, creative, empathetic" regardless of input.
**We'll get there. Just not today. Today is chaos.**
---
## β‘ Quick Test (If You're Brave)
```pythonfrom transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("SpiceeChat/Bio2Tags-Lite", dtype="auto", device_map="auto")tokenizer = AutoTokenizer.from_pretrained("SpiceeChat/Bio2Tags-Lite")
bio = "I love hiking at sunrise and brewing craft beer on weekends."prompt = f"Extract personality tags from the bio below. Output ONLY comma-separated tags, nothing else.\n\nBio: {bio}\n\nTags:"messages = [{"role": "user", "content": prompt}]formatted = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)inputs = tokenizer(formatted, return_tensors="pt").to(model.device)outputs = model.generate(**inputs, max_new_tokens=50, temperature=0.7)tags = tokenizer.decode(outputs[0][inputs['input_ids'].shape[1]:], skip_special_tokens=True)print(tags)```
---
## π Status
| Thing | Status ||-------|--------|| Model | π‘ Works 50% of the time || Real README | π΄ Stuck in traffic, ETA tomorrow || Developer | π‘ Running on caffeine and blind faith || Cinder-1.5B | π‘ Still training on Kaggle || Atom-350M | βͺ Coming soon || Sleep | π΄ Not happening |
---
## π§ Part of SpiceeChat
Built by **QuantaSparkLabs** for **SpiceeChat** β tools and AI to help people navigate the messy world of dating.
- π [dating-fatigue.com](https://dating-fatigue.com)- π₯ [Cinder-1.5B](https://huggingface.co/SpiceeChat/Cinder-1.5B)- π·οΈ [Bio2Tags-Lite](https://huggingface.co/SpiceeChat/Bio2Tags-Lite) β You are here
---
<div align="center"> <sub>π The real README is on the 405. It'll be here tomorrow. Probably.</sub></div>README.mdAdded+99