Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
qwen3.5
lora
sft
dpo
college-essays
personal-statement
creative-writing
human-style
common-app
admissions
conversational
Instructions to use alphanozcan/essAi-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alphanozcan/essAi-9b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="alphanozcan/essAi-9b") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("alphanozcan/essAi-9b") model = AutoModelForMultimodalLM.from_pretrained("alphanozcan/essAi-9b", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use alphanozcan/essAi-9b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "alphanozcan/essAi-9b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "alphanozcan/essAi-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/alphanozcan/essAi-9b
- SGLang
How to use alphanozcan/essAi-9b 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 "alphanozcan/essAi-9b" \ --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": "alphanozcan/essAi-9b", "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 "alphanozcan/essAi-9b" \ --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": "alphanozcan/essAi-9b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use alphanozcan/essAi-9b with Docker Model Runner:
docker model run hf.co/alphanozcan/essAi-9b
essAi 9B
essAi 9B is a fine-tuned Qwen3.5-9B model that writes authentic college application essays (Common App personal statement style) in a natural human voice. It is the larger sibling of alphanozcan/essAi (Qwen3-4B).
Training
Two-stage fine-tune on human-written essays:
| Stage | Data | Details |
|---|---|---|
| SFT | 270 real admissions essays from publicly published example collections (JHU "Essays That Worked", College Essay Guy, AP Study Notes) + ~19.4k human essays from the open persuade corpus | LoRA r=16 (all linear), lr 2e-4, 1 epoch, bf16, 1× A100 |
| DPO | Same prompt: real human essay = chosen, SFT model output = rejected (HumanLLMs method, arXiv 2501.05032) + GradGPT quality pairs | beta=0.1, lr 5e-5, 1 epoch |
Prompt from SFT data: Write a ~650-word Common App style personal statement essay. …
Usage
from transformers import AutoTokenizer, AutoModelForCausalLM
try:
model = AutoModelForCausalLM.from_pretrained("alphanozcan/essAi-9b", torch_dtype="auto", device_map="auto")
except ValueError:
from transformers import AutoModelForImageTextToText
model = AutoModelForImageTextToText.from_pretrained("alphanozcan/essAi-9b", torch_dtype="auto", device_map="auto")
tok = AutoTokenizer.from_pretrained("alphanozcan/essAi-9b")
system = "You write authentic college application essays in a natural human voice, with specific personal detail, varied sentence rhythm, and honest reflection."
user = "Write a ~650-word Common App style personal statement essay about learning from failure."
prompt = tok.apply_chat_template(
[{"role": "system", "content": system}, {"role": "user", "content": user}],
tokenize=False, add_generation_prompt=True, enable_thinking=False,
)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=900, do_sample=True, temperature=0.8, top_p=0.95, pad_token_id=tok.pad_token_id or tok.eos_token_id)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
A 4-bit MLX build for Apple Silicon is available at alphanozcan/essAi-9b-mlx.
Notes
- 9B parameters, 1 training epoch per stage.
- AI-detector behavior is not guaranteed; this model is trained on human essays for a more natural writing style, but detectors are trained classifiers and results vary.
- Downloads last month
- -