SamuelBang/AesCoder-4B

SamuelBang/AesCoder-4B is a 4 billion parameter language model developed by SamuelBang, Microsoft Research Asia, Shanghai Jiao Tong University, and Peking University. It is specifically designed to enhance the aesthetic quality of LLM-generated code, particularly for visually-oriented coding tasks like webpage design. The model leverages a large-scale instruction-tuning dataset (AesCode-358K) and agentic reward feedback for joint optimization of functionality and code aesthetics, achieving performance comparable to much larger models on design benchmarks.

Warm
Public
4B
BF16
40960
License: apache-2.0
Hugging Face

Popular Sampler Settings

Most commonly used values from Featherless users

temperature
This setting influences the sampling randomness. Lower values make the model more deterministic; higher values introduce randomness. Zero is greedy sampling.
top_p
This setting controls the cumulative probability of considered top tokens. Must be in (0, 1]. Set to 1 to consider all tokens.
top_k
This limits the number of top tokens to consider. Set to -1 to consider all tokens.
frequency_penalty
This setting penalizes new tokens based on their frequency in the generated text. Values > 0 encourage new tokens; < 0 encourages repetition.
presence_penalty
This setting penalizes new tokens based on their presence in the generated text so far. Values > 0 encourage new tokens; < 0 encourages repetition.
repetition_penalty
This setting penalizes new tokens based on their appearance in the prompt and generated text. Values > 1 encourage new tokens; < 1 encourages repetition.
min_p
This setting representing the minimum probability for a token to be considered relative to the most likely token. Must be in [0, 1]. Set to 0 to disable.