Run this model with HF Jobs

Run brimtown/Groupchat-Qwen3-4B-MLC 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/brimtown/Groupchat-Qwen3-4B-MLC. 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/brimtown/Groupchat-Qwen3-4B-MLC 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/brimtown/Groupchat-Qwen3-4B-MLC. 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/brimtown/Groupchat-Qwen3-4B-MLC. 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.

Groupchat Model - Qwen3 4B Fine-tuned

A fine-tuned Qwen3-4B model trained to mimic individual users in a group chat, converted to MLC format for browser deployment via WebLLM.

Model Details

  • Base Model: Qwen3-4B
  • Fine-tuning Method: Unsloth
  • Quantization: q4f16_1 (4-bit weights, float16 activations)
  • Format: MLC-LLM for WebLLM deployment

Dataset

  • Source: Private GroupMe group chat
  • Size: ~60,000 messages
  • Time Period: 2013-2016
  • Participants: 10 users with varying activity levels

Prompt Format

The model was fine-tuned using the ChatML format with the following structure:

You are mimicking users in a group chat. Given the conversation history, respond as the specified user.

Recent messages:
[Speaker1]: [Message1]
[Speaker2]: [Message2]
...

Respond as [TargetSpeaker]:

Example Usage

const prompt = `You are mimicking users in a group chat. Given the conversation history, respond as the specified user.

Recent messages:
Jackson: what's in a bento box
Jackson: That's like a pupu platter right
Nick: What's a pupu platter

Respond as Spencer:`;

Recommended Generation Parameters

For best results, use these settings:

{
  temperature: 0.8,
  top_p: 0.9,
  max_tokens: 32-64,
}

WebLLM Integration

This model is optimized for browser deployment using WebLLM.

Loading in WebLLM

import * as webllm from "@mlc-ai/web-llm";

const appConfig = webllm.prebuiltAppConfig;

// Borrow model_lib from native Qwen3-4B
const qwenLib = appConfig.model_list.find(m => m.model_id === "Qwen3-4B-q4f16_1-MLC");

appConfig.model_list.push({
    ...qwenLib,
    model_id: "Groupchat-Qwen3-4B-q4f16_1",
    model: "https://huggingface.co/brimtown/Groupchat-Qwen3-4B-MLC",
    low_resource_required: true,
    overrides: {
        context_window_size: 512
    }
});

const engine = await webllm.CreateMLCEngine("Groupchat-Qwen3-4b-q4f16_1", {
    appConfig: appConfig
});

License

This model is released under the same license as the base Qwen3 model. The training data is private and not included.

Acknowledgments

Downloads last month
9
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for brimtown/Groupchat-Qwen3-4B-MLC

Finetuned
Qwen/Qwen3-4B
Finetuned
unsloth/Qwen3-4B
Finetuned
(650)
this model