Downloads · 30 days
9
4% of all-time downloads
justinthelaw/teapot-profile-qa-browser-1024
teapot-profile-qa-browser-1024 is a text generation model from justinthelaw. Use it when you need the model to write or continue text. It is set up for transformers.js. The card lists the license as mit.
This model is a browser-oriented ONNX export of a local LoRA continuation from teapotai/teapotllm. It is tuned for public resume/profile Q&A prompts that fit within a 1024-token browser context budget.
Downloads · 30 days
9
4% of all-time downloads
All-time downloads
253
Public
Repo size
4.5 GB
Likes
0
Public
Click a slice to open those files.
.onnx1.6 GB · 100%
From the Hugging Face model README
This model is a browser-oriented ONNX export of a local LoRA continuation from
teapotai/teapotllm. It is tuned for public resume/profile Q&A prompts that fit
within a 1024-token browser context budget.
Hugging Face model metadata uses the official text-generation task category;
the browser runtime still loads this T5-style export with the Transformers.js
text2text-generation pipeline.
The target use case is a static portfolio or resume site that runs inference in
the browser with Transformers.js, without API routes, hosted inference, server
actions, or cloud training. The profile schema is intentionally generic for repo
reuse: identity, current_role, experience, projects, education,
recommendations, skills, and interests.
The repository payload contains tokenizer/config files at the root and
Transformers.js ONNX files under onnx/:
encoder_model_int8.onnxdecoder_model_merged_int8.onnxencoder_model_uint8.onnxdecoder_model_merged_uint8.onnxThe export gate rejects external .onnx.data files so the model can be loaded
as self-contained browser assets.
import { pipeline } from "@huggingface/transformers";
const generator = await pipeline(
"text2text-generation",
"justinthelaw/teapot-profile-qa-browser-1024",
{ dtype: "int8" },
);
const result = await generator(prompt, { max_new_tokens: 160 });
Use dtype: "uint8" as a browser fallback if the target environment has issues
with signed int8 ONNX weights.
teapotai/teapotllmteapot-profile-qa-lora-v5/checkpoint-40q and vtext2text-generation-with-past export with
decoder_model_merged and subgraph-enabled ONNX quantizationTraining was designed for a local 8GB NVIDIA laptop GPU profile, with GPU
health checks for nvidia-smi, /dev/nvidia*, CUDA-enabled PyTorch, and
torch.cuda.is_available(). Export and card preparation can run on CPU after
training completes.
| Run | Macro | Refusal Accuracy | Multi-Turn Accuracy |
|---|---|---|---|
| Teapot baseline, test | 0.7114 | 0.4000 | 0.7917 |
| Promoted checkpoint, validation | 0.9792 | 1.0000 | 1.0000 |
| Promoted checkpoint, test | 0.9753 | 1.0000 | 1.0000 |
Promoted checkpoint test macro by task:
| Task | Macro |
|---|---|
chronology | 0.7500 |
education | 1.0000 |
multi_hop | 0.8214 |
multi_turn | 1.0000 |
recommendations | 1.0000 |
refusal | 1.0000 |
single_turn | 1.0000 |
This is not a general assistant. The dataset is synthetic and profile-specific, so production use should regenerate data from the target person's public facts and rerun local evaluation. The model should refuse private or unsupported facts when the public profile context does not answer.
Keep factual context public, review generated examples for private-data leakage, and preserve refusal examples for sensitive or absent facts such as home addresses, phone numbers, salary, and classified information. Do not use this model for background checks, hiring decisions, legal advice, medical advice, or identity verification.
int8 and uint8
ONNX variants.MIT. The base model card for teapotai/teapotllm also lists MIT.