π OS Launch: Clean documentation and refined licensing
Browse filesThis OS launch commit includes:
β
**Cleaned Documentation**
- Removed inflated claims and marketing language
- Added honest research status and limitations
- Created professional model card and validation reports
- Streamlined licensing to AGPLv3 + commercial contact
β
**Refined Codebase**
- Complete experimental bit-native transformer implementation
- 57 Python files with comprehensive research framework
- Safety telemetry and monitoring systems
- Distributed training and development tools
β
**Professional Standards**
- Empirical validation of all claims
- Clear experimental vs production distinctions
- Rigorous research methodology requirements
- Community contribution framework
Ready for serious research evaluation and academic investigation.
app.py
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env python3
|
2 |
+
"""
|
3 |
+
BitTransformerLM HuggingFace Space Entry Point
|
4 |
+
==============================================
|
5 |
+
|
6 |
+
Main entry point for HuggingFace Spaces deployment.
|
7 |
+
This file is automatically detected by HF Spaces and launches the Gradio interface.
|
8 |
+
"""
|
9 |
+
|
10 |
+
import os
|
11 |
+
import sys
|
12 |
+
from pathlib import Path
|
13 |
+
|
14 |
+
# Add current directory to path for imports
|
15 |
+
sys.path.insert(0, str(Path(__file__).parent))
|
16 |
+
|
17 |
+
# Import and launch the Gradio interface
|
18 |
+
from gradio_dashboard import create_gradio_interface
|
19 |
+
|
20 |
+
# Environment setup for HF Spaces
|
21 |
+
os.environ.setdefault("GRADIO_SHARE", "False")
|
22 |
+
os.environ.setdefault("GRADIO_ANALYTICS_ENABLED", "False")
|
23 |
+
|
24 |
+
if __name__ == "__main__":
|
25 |
+
# Create and launch interface for HuggingFace Spaces
|
26 |
+
interface = create_gradio_interface()
|
27 |
+
|
28 |
+
# Launch with HF Spaces optimized settings
|
29 |
+
interface.launch(
|
30 |
+
show_error=True,
|
31 |
+
show_api=False, # Hide API docs for cleaner interface
|
32 |
+
quiet=False, # Show startup logs
|
33 |
+
auth=None, # No authentication needed for public demo
|
34 |
+
)
|