Run this model with HF Jobs
Run unnamedvariable/inkling-2-mini-tweet-writer on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/unnamedvariable/inkling-2-mini-tweet-writer. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/unnamedvariable/inkling-2-mini-tweet-writer on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/unnamedvariable/inkling-2-mini-tweet-writer. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/unnamedvariable/inkling-2-mini-tweet-writer. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use unnamedvariable/inkling-2-mini-tweet-writer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use unnamedvariable/inkling-2-mini-tweet-writer with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("thinkingmachines/Inkling-2-Mini") model = PeftModel.from_pretrained(base_model, "unnamedvariable/inkling-2-mini-tweet-writer") - Notebooks
- Google Colab
- Kaggle
Inkling-2-Mini Tweet Writer (LoRA)
A rank-32 LoRA adapter for thinkingmachines/Inkling-2-Mini that turns a short "spark" (an 8-18 word note) into a casual, human-sounding X/Twitter post.
This is an independent reproduction of poseljacob/Inkling-2-Mini-tweet-v5, trained on Tinker with the author's published scripts and dataset.
Training
SFT: 3 epochs, LoRA rank 32, on 619 real tweets from 64 accounts. Each tweet is paired with a sparse spark (from
poseljacob/tweet-human-vs-ai-v5).Rejection-sampling polish (ReST): we sampled 8 drafts for each of 260 sparks (2,080 drafts). A draft was kept only if it passed four filters:
- a regex "voice gate" that rejects antithesis, copywriter crutches and invented facts
- a keyword faithfulness check against the spark
- a 3-model human-vs-AI detector ensemble (p_human >= 0.55)
- an LLM logic and faithfulness check
This kept 156 winners. A fresh LoRA was then trained for 3 epochs on the 619 real tweets plus the winners counted twice.
Differences from the original: the author's hit-predictor LoRA is not public, so winners were ranked by detector score only.
Evaluation
These numbers come from 71 held-out sparks by 10 unseen authors, scored with the author's own detector ensemble:
| Metric | This adapter | Original v5 |
|---|---|---|
| Mean p_human | 41.9% | 40.5% |
| Drafts with p_human >= 0.5 | 40.8% | β |
| Antithesis-free | 100% | 100% |
| AI-crutch-free | 98.6% | 100% |
| Fact-grounded | 93.0% | 95.8% |
Caveat: these scores are self-graded. ReST filters drafts with the same detector that scores them, so the numbers measure how well the model fits that detector, not how human its tweets read to people. On the same detector, real human tweets from the eval set average only 59.5%.
Usage
Prompt format: the system prompt from train_writer_v5.py (WRITER_V5_SYSTEM), with a user message of the form Spark: <your 8-18 word note>.
Practical notes:
- The model rewords and stays close to the spark. It ignores tone words like "sarcastic" and does not invent jokes or angles, so put the hook in the spark itself.
- The output tends to be lowercase, line-broken and casual.
- Read each draft before posting. It sometimes misreads a spark or adds a crude phrase.
The base model has 26B total parameters (MoE), so you need hardware that can run Inkling-2-Mini to load this adapter.
Intended use and limitations
This adapter is for drafting your own posts in a casual voice and for research on detecting AI text. Do not use it to impersonate others or to run inauthentic accounts. The training data is public tweets from real accounts, about 22% from a single author, so the output style reflects that group.
- Downloads last month
- 28
Model tree for unnamedvariable/inkling-2-mini-tweet-writer
Base model
thinkingmachines/Inkling-2-Mini