DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to chat with the published EBFM SFT model in a browser with OpenEBFM

Serve the EBFM-FineWeb-1B-CHAT model through a local web chat interface.

Short answer: Run uv sync --extra gpu --extra hf --extra web and source .venv/bin/activate to set up the environment; then run bash runs/chat.sh --web --checkpoint guan-wang/EBFM-FineWeb-1B-CHAT --host 0.0.0.0 --port 8000 to start the server; open http://localhost:8000 in a browser on the server machine. All steps.

  • Research
  • Intermediate
  • 1 hour
  • From the README
  • Any agent

Who it is forA researcher or hobbyist with a GPU server who wants to try a published energy-based language model interactively.

The problemTrying a new language model usually means writing inference code, and it is not obvious how to serve it to a browser.

The outcomeA running web chat at port 8000 that talks to the published SFT checkpoint.

What you need first

  • Python with uv installed
  • A GPU environment (the README installs the gpu extra and loads checkpoints with device="cuda")
  • Network access for data preparation and Hugging Face downloads
  • Enough disk space for the datasets and checkpoints (sizes are not stated in the README)

Steps

  1. Run uv sync --extra gpu --extra hf --extra web and source .venv/bin/activate to set up the environment.
  2. Run bash runs/chat.sh --web --checkpoint guan-wang/EBFM-FineWeb-1B-CHAT --host 0.0.0.0 --port 8000 to start the server. (inferred, check the README)
  3. Open http://localhost:8000 in a browser on the server machine.
  4. If the server is a remote GPU node, use your cluster's port forwarding to expose port 8000 on your local machine.

Prompt for your agent

In the datamllab/OpenEBFM repo, start the web chat with runs/chat.sh using guan-wang/EBFM-FineWeb-1B-CHAT on host 0.0.0.0 and port <port>. Report the URL to open and confirm the server responds on that port.

Caveat. The README says the chat runs on a GPU and the published checkpoint is downloaded on first use, so the first launch depends on network speed and GPU availability.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for datamllab/OpenEBFM and "Chat with the published EBFM SFT model in a browser"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer