lm-sys / lm-sys/FastChat

Correct prompt for fastchat-t5-3b-v1.0 in the case of RAG

Open
#2,363 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

Hi,

Willing to use the `fastchat-t5-3b-v1.0` model for RAG or Retrieval Augmented Generation (Q&A based on retrieved documents or context), I tried many prompts based on FastChat code but never managed to obtain a good answer following these criteria:

- Detailed answer with no hallucinations (repeated strings)
- The model has to answer 'I don't know' if the answer cannot be determined from the provided context

Does anyone has an advice for using `fastchat-t5-3b-v1.0` for RAG?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named; begin by reviewing FastChat's prompt handling and the fastchat-t5-3b-v1.0 usage for retrieval-augmented question answering. The issue would be done only when a validated prompt or documented guidance produces grounded answers and responds with "I don't know" when the context is insufficient.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.