CoolFace
Apppublic

cochi1706/CodingAssistant

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
28 commits on main
d9b771610mo ago

Remove eos_token_id and pad_token_id from text generation parameters in chatbot application to streamline configuration and maintain focus on essential settings.

cochi1706
ba4780e10mo ago

Update model

cochi1706
6ef4e3c10mo ago

Add example prompt and output display for text generation in chatbot application to demonstrate functionality and enhance user interaction.

cochi1706
ef0de3c10mo ago

Remove repetition penalty and no_repeat_ngram_size parameters from text generation settings, and simplify user message handling in respond function to enhance clarity and focus in chatbot interactions.

cochi1706
4d7fde310mo ago

Add instruction to user message for focused responses in chatbot application, ensuring clarity in user interaction.

cochi1706
6b91e9210mo ago

Add history initialization in respond function to support context tracking in chatbot application.

cochi1706
ff8fc2b10mo ago

Enhance text generation parameters by adding eos_token_id, pad_token_id, repetition_penalty, and no_repeat_ngram_size to improve output quality and prevent repetition in chatbot application.

cochi1706
1d398ee10mo ago

Increase max_length parameter in text generation to 520 for enhanced output capacity in chatbot application.

cochi1706
f70ab9c10mo ago

Add optional history parameter to respond function for improved context management in chatbot application.

cochi1706
a4a178e10mo ago

Refactor message handling in response function to support both string and dictionary inputs. Added validation for empty messages to improve user experience by providing a clear error message when no input is received.

cochi1706
84a011810mo ago

Enhance text generation parameters in chatbot application by setting max_length to 100 and temperature to 0.7. Simplify response function by directly passing the message to the text generator, improving clarity and efficiency in message processing.

cochi1706
7a9d7b310mo ago

Comment out system message handling in response function to simplify message processing and maintain focus on history management in chatbot application.

cochi1706
f5b8a4010mo ago

Comment out history message extension in response handling to prevent unintended message accumulation in chatbot application.

cochi1706
5b966ea10mo ago

Update system message in Vietnamese to emphasize clarity in code solutions while maintaining language preference for responses. This change enhances the instruction for the chatbot's output format.

cochi1706
8ea8e2510mo ago

Clarify instruction for model responses to ensure output is consistently in Vietnamese. This update reinforces the language preference in the chatbot's response generation process.

cochi1706
26e874e10mo ago

Add default system message in Vietnamese for chatbot responses and clarify instruction for model output language. This ensures consistent responses in the desired language when no system message is provided.

cochi1706
db09be510mo ago

Refactor text generation in chatbot application to utilize max_new_tokens for improved clarity and added truncation support. Removed unnecessary print statement for generated answer length.

cochi1706
b0d2e2710mo ago

Refactor response handling in chatbot application to support optional system messages and improve message processing. Added checks for empty responses to enhance user experience.

cochi1706
62a0bb610mo ago

Update default max_tokens value and refactor variable names in response generation for clarity in chatbot application.

cochi1706
676f57c10mo ago

Update response generation in chatbot application to set default values for max_tokens, temperature, and top_p parameters. This enhancement ensures smoother operation when these parameters are not explicitly provided.

cochi1706
76de23210mo ago

Streamline model loading and response generation in chatbot application by utilizing a text generation pipeline. Removed legacy loading methods and improved response handling for enhanced performance and clarity.

cochi1706
376a74610mo ago

Refactor model loading process in chatbot application to prioritize local path loading, with enhanced error handling and fallback mechanisms for HuggingFace models and PEFT adapters.

cochi1706
0f0629410mo ago

Enhance model loading logic in chatbot application to support direct loading and PEFT adapter fallback. Updated model and tokenizer initialization for improved error handling and device management.

cochi1706
f1fc13010mo ago

Refactor model loading and input handling in chatbot application. Updated model and tokenizer initialization, improved device management for inputs, and removed unused sliders from the Gradio interface.

cochi1706
1e3646810mo ago

Add requirements.txt for project dependencies

cochi1706
cf9addc10mo ago

Implement coding assistant chatbot using Qwen3 model with PEFT adapter and Gradio interface

cochi1706
8657f4910mo ago

initial commit

cochi1706
da4d1f910mo ago

Duplicate from gradio-templates/chatbot

cochi1706, pngwn