CoolFace
Apppublic

david167/question-generation-api

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
50 commits on main
0b2f34f1y ago

Enable concurrency_limit=10 for better parallel processing

david167
6ea58d51y ago

Upgrade to Llama 3.1 8B-Instruct for better long-form content

david167
76298371y ago

Fix build error: Remove flash-attn dependency

david167
fac0be21y ago

Speed optimizations: Switch to Mistral-7B + optimize generation params

david167
7822d6f1y ago

COMPLETE API REBUILD: ZERO TRUNCATION PRINCIPLE - Intelligent extraction, generous tokens, never cut content

david167
d82dc351y ago

ULTRA CONSERVATIVE EXTRACTION: Find JSON array boundaries properly, extensive logging, no aggressive cutting

david167
f52c60e1y ago

FIX TRUNCATION: Improved response extraction logic, conservative cutting, detailed logging - NO MORE TRUNCATION && git push

david167
1644c5e1y ago

FIX TUPLE ISSUE: Return single string output instead of tuple - eliminates ('content', '') wrapper

david167
0460f5e1y ago

DIRECT CONTENT API: Return just the generated content, no API wrappers or tuples - perfect for client parsing

david167
02333f21y ago

ULTRA SIMPLE FIX: Remove ALL JSON components, use only Textbox inputs/outputs, no state anywhere

david167
caf4bcb1y ago

BULLETPROOF API: Remove ALL State components, use JSON inputs instead, proper input/output matching, ZERO GRADIO ERRORS

david167
657d6221y ago

SIMPLE WORKING API: Fix Gradio interface issues, use simple Interface instead of Blocks, proper API structure

david167
b2df1241y ago

Fix Gradio interface: Remove chatbot format issues, add proper API endpoint structure

david167
0cdc4eb1y ago

ELEGANT API REWRITE: Clean architecture, smart token allocation, proper JSON extraction - eliminate placeholder generation

david167
14f445d1y ago

MAXIMUM TOKEN SETTINGS: Use 131k context, 16k max_new_tokens, 2k min_tokens for CoT - eliminate all truncation

david167
b3943861y ago

Aggressive fix for CoT truncation: increase min_new_tokens to 1500, suppress EOS token for CoT requests, cap max_new_tokens

david167
2e7d5841y ago

Fix CoT truncation: increase min_new_tokens to 1000, add generation logging, improve truncated JSON handling

david167
04a4f801y ago

Improve Chain of Thinking support: increase min_new_tokens to 500 for CoT requests, improve JSON bracket tracking for nested objects

david167
678e0f91y ago

Fix response truncation - improve extraction logic to find actual content start

david167
6bf8feb1y ago

Simplify API - remove all templates, just prompt-in response-out

david167
19607d61y ago

Add 'list' template for better summarization with specific content extraction

david167
07655f21y ago

Fix JSON templates - use instructional format instead of literal examples

david167
7f688631y ago

Fix response extraction - prevent truncation at beginning of JSON responses

david167
8860e751y ago

Fix JSON array generation - add explicit array requirements and improve JSON parsing

david167
1ba70a21y ago

Increase max_new_tokens to 8192 for unlimited length responses

david167
342694d1y ago

Improve model generation parameters and add logging - fix response truncation issues

david167
4ad994e1y ago

Fix JSON response templates for better prompt generation - simplified templates for more reliable JSON parsing

david167
f83cad91y ago

Fix invisible text with comprehensive CSS targeting

david167
02ad4bf1y ago

Fix font visibility: Add dark text colors for better contrast

david167
6849ba11y ago

Fix UI: Reduce dialog size and prevent input focus layout shifts

david167
0f21de61y ago

Fix requirements.txt - Add missing transformers and ML dependencies

david167
992eedb1y ago

Major update: Add NFL training data generation and improve model handling

david167
c106c311y ago

Fix layout jumping when focusing input field

david167
f364fe31y ago

Add complete JSON functionality to Gradio interface

david167
f093b761y ago

Add JSON imports for structured response functionality

david167
a7cf9701y ago

Update UI for full-width display on big screens with responsive design

david167
8b4bf361y ago

Fix: Add missing generated_text variable definition

david167
0c606391y ago

DEBUG: Show complete raw model output and prompt to identify clipping source

david167
fcef7cd1y ago

COMPLETE REWRITE: Clean ChatGPT-style interface with proper response handling

david167
8106bb91y ago

TEMPORARY: Show full model response for debugging clipping issue

david167
4185c2a1y ago

Fix response truncation: disable early stopping, increase token limits to 4096, add debugging logs

david167
0d85e381y ago

Fix response clipping: use robust assistant header detection instead of prompt length

david167
625d8191y ago

Replace with simplified raw chat interface for prompt testing

david167
0b607e81y ago

Fix syntax errors: correct comma placement and indentation

david167
c86959d1y ago

Fix remaining device_map auto in gradio_app.py

david167
01a04bc1y ago

Force all CUDA operations to cuda:0 and use device_map to prevent multi-GPU distribution

david167
03314611y ago

Fix multi-GPU device placement error: disable device_map auto and ensure tensors on same device

david167
000a38b1y ago

Fix duplicate import in app.py

david167
8b5e9db1y ago

Switch to Llama-3.1-8B-Instruct: update model loading, prompts, and generation parameters

david167
e6b5afc1y ago

Switch back to Llama-3.1-8B-Instruct model: update prompts, generation params, and UI descriptions

david167