stanford-crfm / helm

Holistic Evaluation of Language Models (HELM), a framework to increase the transparency of language models (https://arxiv.org/abs/2211.09110). This framework is also used to evaluate text-to-image models in Holistic Evaluation of Text-to-Image Models (HEIM) (https://arxiv.org/abs/2311.04287).
https://crfm.stanford.edu/helm
Apache License 2.0
1.83k stars 242 forks source link

Discrepancy between the UI and Python interface #120

Open teetone opened 2 years ago

teetone commented 2 years ago

Request(prompt="The quick brown fox jumped over the lazy ", temperature=0) returns:

completions=[Sequence(text='\t\t\t\t\tdog.\n\n\t\t\t\t \t\t\t\t \t\t\t\t\tThe

but in the UI we trim the tabs:

Screen Shot 2022-02-11 at 10 06 08 AM

percyliang commented 2 years ago

I guess we can format using monowidth and then allow mousing over tabs too...this is a bit trickier with newlines...

yifanmai commented 6 months ago

This should just require putting white-space: pre-wrap in the CSS, as is already done elsewhere in the codebase. (MDN doc)